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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to