Home » questions » deleting files from a webserver using php???
deleting files from a webserver using php???
i really didn't want to turn to yahoo answers, as many people who look here are noobs at using computers, and i would get a less that intelligent answer... but for you well respected programmers, who know php, how do you delete a file from a webserver using php???
say i have pic.jpg on the directory: ./images/myfolderimg/
(that's a dot before the first /)
the location to my designated file is ./images/myfolderimg/pic.jpg, and i want to delete the pic.jpg from this directory, using php???
how...??
thanks for help
alex
great answers everyone!!! i realized the problem was simply that the file i wanted to delete was not 777 chmod, but the direcotry was... bad mistake on me parto.
great answers everyone!!! i realized the problem was simply that the file i wanted to delete was not 777 chmod, but the direcotry was... bad mistake on me parto.

Answers
fang
On 2006-08-06 20:10:49
Bobby Diz
On 2006-08-07 00:20:02
alex94040
On 2006-08-06 22:30:43
duct_tape_is_good
On 2006-08-06 21:45:38