Writing to a file

From: Date: Fri, 11 Aug 2000 10:57:47 +0000
Subject: Writing to a file
Groups: php.windows 
Request: Send a blank email to php-windows+get-1738@lists.php.net to get a copy of this message
Hi all, I wonder if anyone can help. I am trying to take text from a text area in a web page and write that text into a file on a webserver. That didn't work so I just tried to simply write a string specified below directly into the file just to see if that would work I am using this code but it isn't working and when I check the file it remains unmodified even the date last modified hasn't changed. Help would be appreciated, Thanks, Hatim. $newHTMLfile = fopen($newHTMLfilePath,"w+"); fwrite($newHTMLfile, "New text to add to file."); fclose($newHTMLfile); echo "new text should be written to file.";

« previous php.windows (#1738) next »