Re: [PHP] windows file permission

2003-11-19 Thread Burhan Khalid
Chris Williams wrote: I am using PHP on Windows NT CGI/FastCGI and am trying to create a text file and then write some data to it. $some_text = "HelloWorld"; $new_file = fopen("myfile.txt", "w"); fputs($new_file, $some_text); fclose($new_file); However I am getting Warning: fopen(myfile.txt): fai

Re: [PHP] windows file permission

2003-11-18 Thread John W. Holmes
Chris Williams wrote: I am using PHP on Windows NT CGI/FastCGI and am trying to create a text file and then write some data to it. $some_text = "HelloWorld"; $new_file = fopen("myfile.txt", "w"); fputs($new_file, $some_text); fclose($new_file); However I am getting Warning: fopen(myfile.txt): fa

[PHP] windows file permission

2003-11-18 Thread Chris Williams
I am using PHP on Windows NT CGI/FastCGI and am trying to create a text file and then write some data to it. $some_text = "HelloWorld"; $new_file = fopen("myfile.txt", "w"); fputs($new_file, $some_text); fclose($new_file); However I am getting Warning: fopen(myfile.txt): failed to open stream: