เอามาแบ่งกันแหะๆ

จะมาแนะนำวิธีการทำส่วนอัพโหลดภาพนะครับดังตัวอย่าง

ขั้นแรกให้เตรียม iframe ไว้ก่อนครับ
ในที่นี้เอาจากเวป
http://upload.myfri3nd.com/( ผมก็ใช้เวปนี้ หุหุ )
ดังภาพเลยครับ
ให้ดูในส่วนของ สำหรับผู้ที่อยากนำระบบฝากไฟล์ ไปใช้ นำโค้ดนี้ไปแปะในเว็บ

จากนั้นให้เปิดไฟล์
Post.template
ค้นหา
// Finally the most important bit - the actual text box to write in!
echo '
<tr>
<td valign="top" align="right"></td>
<td>
<textarea class="editor" name="', $context['post_box_name'], '" rows="', $context['post_box_rows'], '" cols="', $context['post_box_columns'], '" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '"', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? ' style="border: 1px solid red;"' : '', '>', $message, '</textarea>
จากนั้นเอา iframe ใส่ไว้หลังที่ค้นหา(ขึ้นบรรทัดใหม่ก็ดี)
ก็เสร็จแล้วครับ ลองปรับแต่งแก้ไขดูเอาได้หากไม่ถูกใจ
ส่วน iframe นั้นมีอีกหลายเวปให้ใช้ครับ ลองไปค้นหาจาก google ได้แล้วมาประยุกต์ใส่ครับ