[PHP-WIN] Re: unable to delete php created files in php

2003-08-14 Thread Aidal
http://dk2.php.net/manual/en/function.chmod.php "John Yu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It seems that when I try to unlink a file in php which has been created by > php on a winxp machine I always get a unable to delete file, permission > denied error... > > This se

[PHP-WIN] Re: unable to delete php created files in php

2003-08-14 Thread Craig Roberts
Check that you have closed the file properly - XP Wont let you delete files it thinks are still open... and it usually dosn't understand when you close them. Craig Roberts "John Yu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It seems that when I try to unlink a file in php whic

[PHP-WIN] Re: unable to delete php created files in php

2003-08-14 Thread Aidal
Have you tried using chmod() on the files you create? chmod(file_name, 0777) gives everyone all rights to the file. "John Yu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It seems that when I try to unlink a file in php which has been created by > php on a winxp machine I always g