RE: [PHP] quick friday query

From: Date: Fri, 16 Nov 2001 20:36:29 +0000
Subject: RE: [PHP] quick friday query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74922@lists.php.net to get a copy of this message
Casper, My guess would be that the folder that you are trying to write the file to doesn't have the correct permissions to allow the webserver to write to it. Try that and let me know if it works! Thank You Brian Paulson Sr. Web Developer bpaulson@chieftain.com http://www.chieftain.com -----Original Message----- From: Caspar Kennerdale [mailto:caspar@spin.co.uk] Sent: Friday, November 16, 2001 9:49 AM To: Php-General Subject: [PHP] quick friday query I am writing files to my server using $fp = fopen("myfile.txt", "w"); this all works. However in the php manual it says that by using the "w" switch that php will create the file if it doesn exist However this does not seem to work I can only write to a file that already exists and has CHMOD 777 Is this a school boy error or do I need my server re configured? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#74922) next »