Re: CLI File Open Problem
| From: | Craig Roberts | Date: | Tue, 05 Aug 2003 12:20:35 +0000 |
| Subject: | Re: CLI File Open Problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21022@lists.php.net to get a copy of this message | ||
Try using fopen('myfile.txt', 'W+'); ?
"Gareth Thomas" <gdt@mercurysoft.com> wrote in message
news:00cf01c35aa0$20f3c660$1400a8c0@gareth1...
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.