Unable to access current working directory

From: Date: Wed, 20 Dec 2000 04:03:18 +0000
Subject: Unable to access current working directory
Groups: php.general 
Request: Send a blank email to php-general+get-31143@lists.php.net to get a copy of this message
Hello, I am getting strange error message, when I try to CREATE new file from php script (with fopen("filename","w")). The message is as follows: Warning: Unable to access current working directory in /u1/cccg01/public_html/dbtry/write.php3 on line 2 Warning: fopen("pokus","w") - Permission denied in /u1/cccg01/public_html/dbtry/write.php3 on line 2 Does anybody have any idea, why it can be? (rights are set OK, everybody has rwx rights to that directory). The most strange thing is that when the file already exists before script runs, then the code happily overrides it with the new content ;-) Any ideas? Thank you Tomas

« previous php.general (#31143) next »