Question
OT: PHP unlink()
As discussed on the PHP.Net site, I am throwing a permission
denied error -
Warning: unlink(../images/users/Murray/Creek.jpg) [function.unlink]:
Permission denied in
W:\Webspace\resadmin\madison\madisonconcrete.com\www\manage\m_users_update.php
on line 82
when I try to delete an image file from a folder with this markup -
unlink('../images/users/'.$userName."/".$_POST['images']);
There are several vague workarounds there that I'm not sure I fully
followed. One of them says to make an ftp connection and then use ftp
delete to wipe the file. Is this the best way?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
Warning: unlink(../images/users/Murray/Creek.jpg) [function.unlink]:
Permission denied in
W:\Webspace\resadmin\madison\madisonconcrete.com\www\manage\m_users_update.php
on line 82
when I try to delete an image file from a folder with this markup -
unlink('../images/users/'.$userName."/".$_POST['images']);
There are several vague workarounds there that I'm not sure I fully
followed. One of them says to make an ftp connection and then use ftp
delete to wipe the file. Is this the best way?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
