Posted by:
tallberg
(---.range81-129.btcentralplus.com)
Hi i want to delete file in a certain dir.
When i use the following code i am unable to open file in the dir call uploaded.
If this is a permision thing, how do i changing the dir and file permissions on a wamp set up on windows?
$myFile = "dfd.jpg";
$fh = fopen(uploaded/$myFile, 'w') or die("can't open file"
;
//fclose($fh);
//unlink($myFile);
This the error message.
Warning: Division by zero in C:\wamp\www\httpdocs\catalogue2\unlink.php on line 10
can't open file
Thanks in advance