How to delete a file from PHP script
| From: | Govind Pande | Date: | Thu, 28 Oct 1999 13:22:22 +0000 |
| Subject: | How to delete a file from PHP script | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11974@lists.php.net to get a copy of this message | ||
Hi,
I unable to delete a file from my script.
I tried three commands :
unlink($filename)
system("del $filename")
exec("del $filename", $stdout_ar, $result_int)
But the file still remains.
The operating system is NT.
Any clues?
TIA for any information supplied.
-Govind