RE: [PHP-WIN] Writing text to files on Windows

From: Date: Thu, 21 Feb 2002 04:55:49 +0000
Subject: RE: [PHP-WIN] Writing text to files on Windows
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-12170@lists.php.net to get a copy of this message
Works on win98. Try your script without flock() - maybe a problem with ur win server. A+ Alain -----Original Message----- From: Robert Abbate [mailto:accounts@ispconcepts.com] Sent: Wednesday, February 20, 2002 5:52 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Writing text to files on Windows I seem to be having trouble being able to *write* text to a file within a Windows server. Does anyone know what needs to be done to get this to work? I've tried making sure that the direcories are set to the maximum permissions (read/write/execute) to anyone. Still doesn't work. I'm trying this: $fp = fopen("test.txt", "w"); flock($fp, 1); fputs($fp, "testing"); fclose($fp); and I've tried "a", "a+", "w+", and "w" and no results. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#12170) next »