![]() Topic awaiting preservation: Deleting Files (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() I want to delete all the files into a folder, Weadz gave me a little script that I didn't test because i lost my HD, so i was trying with: code: <? //
code: Warning: Unlink failed (No such file or directory) in /usr/www/htdocs/artreves/deletetemp.php on line 11
|
Paranoid (IV) Inmate From: New Jersey, USA |
![]() I'm not positive, but it could be a permissions problem. Check the CHMOD on the file that you are trying to delete the files from. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Even with permissions ok......... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() You need to pass full path to the unlink() function, because your PHP script is not located in the same folder as files that you want to delete. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Weeeeeeee! |