header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 $firstname=$_POST["firstname"]; $lastname=$_POST["lastname"]; $work=$_POST["work"]; $email=$_POST["email"]; setcookie("lastname",$lastname,time()+60*60*24*30 ); setcookie("firstname",$firstname,time()+60*60*24*30 ); setcookie("work",$work,time()+60*60*24*30 ); setcookie("ck_on","true",time()+60*60*24*30 ); $filename = "log.txt"; $content = "$firstname $lastname $email $work\n"; $fp = fopen($filename, "a"); $fw = fwrite( $fp, $content ); fclose( $fp ); // Close the file after writing $message = "
Groovily Designed Coupon Page Print Friendly with contact info"; $headers = 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: Spooner MediaThank you for registering, now please go to our welcome pages
29