shangrilla
Programmer
Hi:
passthru("rm -f n10234*",$retstr);
if($retstr=="1"
echo "File Delete failed<br>";
I am using this to delete all files with file name starting with n10234*.*
It works from the command prompt but when when I put this in a php file, it doesn't delete the files. I don't even get the message saying "File Delete failed". So I am guessing that passhtru is working, but something else is wrong.
Any Suggestions?
passthru("rm -f n10234*",$retstr);
if($retstr=="1"
echo "File Delete failed<br>";
I am using this to delete all files with file name starting with n10234*.*
It works from the command prompt but when when I put this in a php file, it doesn't delete the files. I don't even get the message saying "File Delete failed". So I am guessing that passhtru is working, but something else is wrong.
Any Suggestions?