note 39692 added to language.variables.predefined

From: Date: Sat, 07 Feb 2004 17:04:09 +0000
Subject: note 39692 added to language.variables.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-64784@lists.php.net to get a copy of this message
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? ---- Manual Page -- http://www.php.net/manual/en/language.variables.predefined.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39692 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39692&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39692&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64784) next »