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: Permission denied in... I don't usually work on Windows but I checked the file permissons on this folder and they seem to be 777 or drwxrwxrwx I'm guessing I have no idea how Windows permissions work. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php