Try using fopen('myfile.txt', 'W+'); ? "Gareth Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi,
I am trying to write data to a text file on my Windows 2000 server using PHP at the command line. I am running PHP 4.3.2, and the script uses the 'touch' function to create the file (which works fine) but when I try and open the file to write to it and errors. Anyone any idea? I have checked the security and also IIS access.. I would assume however that if touch works then so would fopen... I am stumped. Any help would be much appreciated. G. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php