พบกับบทความเกี่ยวกับคอมพิวเตอร์และ programming ได้ที่ http://articles.modoeye.com | บล็อกอาหาร
PHP development / อยากได้code ลบชื่อรูปภาพใน mysql และลบรูปภาพในโฟดเดอ ทีครับ
test
test
Fri 28 Mar 2008 14:53:01

คือผมทำcode upload รูปภาพลง  mysql  ซื่งในmysql จะเก็บชื่อรูปภาพ   ส่วนรูปภาพจะเก็บใว้ในโฟดเดออีกที

อยากได้code  ลบชื่อรูปภาพใน  mysql  และลบรูปภาพในโฟดเดอ  ทีครับ

จะขอมาศึกษา

รบกวนด้วยครับ

webmaster
webmaster
Fri 28 Mar 2008 16:25:49
ก็ reverse engineer เอาครับ ก็ query เอาชื่อไฟล์ออกมาแล้วก็สั่งลบด้วย unlink() เมื่อลบเสร็จแล้วก็ลบ record ออกจากฐานข้อมูลเอาครับ
Reply
Name:
E-mail:
Home | Services | Forum | Classified | Directories | Support | Contact
ATOM feed RSS 0.9 feed RSS 1.0 feed RSS 2.0 feed
Copyright © 2005 - 2007 Modoeye.com, All Rights Reserved.
Disclaimer | Privacy policy | Term of Use | Term of Services
Valid XHTML Valid CSS! PHP: Hypertext Preprocessor MySQL database Apache Powered! FreeBSD Power to serve
Modoeye Sitemap Client login