Forum Moderators: coopster
Its not too hard to write the contents of a form to a text file. Once your form is submitted, do something like:
$date = date("d-m-y H:i:s ");
$server_path = "/your/server/path/"; //Path to log directory
$log_entries = $date. "¦" .$_POST['name']. "¦" .$_POST['comments']. "¦" .$_POST['email']. "¦\n";$fp = fopen($server_path . "log/form.log", "w+") or die("ERROR! Cannot create 'form.log' file.");
if ($fp!= false)
{
fwrite($fp, $log_entries);
fclose($fp);}
Think something like that would work. CHMOD the /log/ directory to 777.
:)