note 39692 deleted from language.variables.predefined by vincent

From: Date: Sat, 07 Feb 2004 17:05:46 +0000
Subject: note 39692 deleted from language.variables.predefined by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64785@lists.php.net to get a copy of this message
Note Submitter: few at dots dot ro ---- I have 2 pages (a form - form.html and the form processor - proc.php): form.html <html> .... <form method=POST action="proc.php"> <input type=text name="name"> <input type=text name="email"> ....... </html> proc.php <?php $msg .="$name\n"; $msg .="$email\n"; ............................ mail($recipient, $subject, $msg) or die "Couldn't send mail!"); echo "<tr><td valign=top><b>Dear</b></td><td><b>$sender_name</b></td><td><b>mail has been sent to the admin</b></td></tr>\n"; ?> How to change this to work now when register_globals is off?

« previous php.notes (#64785) next »