[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ProgSoc] PHP unlink() function



Iam trying to use the unlink function to delete a file within a 
directory.  The file was copied to the directory by another script 
and then 'chmod 0755', so the owner is nobody etc. The directory 
is all readable all wirtable all executable.  


Can anyone think why the function wouldn't work, and yes i am 
using the full Unix path = '/export/cats/esydav/...../filename'.  The 
error message i get says that the file does not exist however it 
most certainly does.


the actual code is:

<?php

$path = '/export/cats/esydav/...../filename';

unlink("$path"); 

?>

Thanks in advance for any help...;)

David  


View my Sci-fi artwork @nospam.:
 http://www.progsoc.org/~esydav/GtG/artists.php?id=00001.1

and Surreal artwork @nospam.:
 http://www.progsoc.org/~esydav/GtG/artists.php?id=00001.3
-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.