Thread: Forms to files
View Single Post
Old March 18th, 2003, 12:11 AM     #2 (permalink)
bmw5002
Junior Member
 
Join Date: Mar 2003
Posts: 4
U got PHP on ur server? use fputs() or fwrite() to write to a file after parsing the form input and making it into readable form. heres and simple example:

$handle = fopen("results.txt", 'a');
fwrite($handle, $somecontent);
fclose($handle);

just append all the text from the form results to the somecontent variable and ur done.

more info:

http://www.php.net/manual/en/function.fwrite.php

caio
bmw5002 is offline   Reply With Quote