* Thus wrote James Brash ([EMAIL PROTECTED]): > > Hi, > I have a problem using unlink(); on a system using FreeBSD and Apache... > where my local system using Windows and Apache experiences no problems. > > <? > unlink("test1.php"); > ?> > > On the windows system is deletes the file, but on the FBSD system the file > does not delete and returns no error. I have tried using the full path, and > CHMODing the files but no luck. Thanks for any help/advice you can give me.
Make sure your error_reporting flag is turned on to the fullest value, I usually apply this in a script to ensure all flags are turned on: error_reporting(-1); Php should output some sort of text that is causing unlink to fail. HTH, Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php