RE: [PHP] php does not get variable values in POST method
| From: | Vail, Warren | Date: | Thu, 02 Sep 2004 18:27:28 +0000 |
| Subject: | RE: [PHP] php does not get variable values in POST method | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195636@lists.php.net to get a copy of this message | ||
That is because the option "register globals" was deprecated in later
releases (provided a way for hackers to alter variables not even on your
form).
Suggest you code each reference to a form variable as $_POST["varname"]
(assuming you are using the form "post" method).
Warren Vail
-----Original Message-----
From: Leticia Campos [mailto:Leticia.Campos@sanoviv.com]
Sent: Thursday, September 02, 2004 9:04 AM
To: 'php-general@lists.php.net'
Subject: [PHP] php does not get variable values in POST method
I developed an html/php form in a Php version 4.0.6, working fine, but when
a moved the files to another web server with Php 4.3.2 the file
procesaadmision.php called in the Post method does not get any of the input
html variables defined in the calling form. <form
ACTION="procesaadmision.php" METHOD=POST>
Thanks for any help
Leticia Campos
IT Programming
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php