alex12345 — 2012-08-11T20:20:18-04:00 — #1
i searched about how i can remove a image in a folder inside of my server, i saw that i can use unlink() but it is not working i have the right directory and all the permissions and it says:
Warning: unlink(URL): No such file or directory in /var/www/some name/some name/social/some name.php on line 33
and the line 33 have unlink(URL).
Anyone can give me some help?
sogo7 — 2012-08-11T22:06:02-04:00 — #2
- Have you been into the file manager in Cpanel to see if the file still exists?
- Did you use a relative URL from the unlink script to the file you wanted deleting?
alex12345 — 2012-08-11T22:07:07-04:00 — #3
rubble — 2012-08-12T07:16:48-04:00 — #4
alex12345 — 2012-08-12T11:44:08-04:00 — #5
replace URL from $URL, so difficult xD
sogo7 — 2012-08-12T13:02:32-04:00 — #6