What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP Help - Warning: unlink(imgs/) [function.unlink]: [resolved]

PHP Help - Warning: unlink(imgs/) [function.unlink]: [resolved]
Author: Message:
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in....
quote:
Originally posted by SonicSam
quote:
Originally posted by WDZ
You just need to make sure you give unlink() the right path to the file. :p

If you're using a relative path, and currently in the /adminx/ directory, you'll need to use "../imgs/" instead of "imgs/"

unlink("../imgs/loljesus.jpg");


Warning: unlink(../imgs/) [function.unlink]: Is a directory in /home/sonicsam/public_html/jesuswasajew/adminx/index.php on line 53

Still does not work, but I saw a change, see bold :p.
you are getting that error because you are trying to delete a dir...
04-19-2007 07:23 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP Help - Warning: unlink(imgs/) [function.unlink]: [resolved] - by prashker on 04-19-2007 at 06:56 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in.... - by Nathan on 04-19-2007 at 06:59 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in.... - by WDZ on 04-19-2007 at 07:10 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in - by prashker on 04-19-2007 at 07:20 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in.... - by Veggie on 04-19-2007 at 07:23 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in.... - by Nathan on 04-19-2007 at 08:14 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in.... - by prashker on 04-19-2007 at 08:33 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in - by L. Coyote on 04-19-2007 at 09:58 PM
RE: RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in.... - by WDZ on 04-19-2007 at 10:16 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in.... - by prashker on 04-19-2007 at 11:30 PM
RE: PHP Help - Warning: unlink(imgs/) [function.unlink]: No such file or directory in - by prashker on 04-20-2007 at 02:54 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On