Re: Id_num = ""

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>     $id_num = $_POST["id_num"];
$id_num = $_GET['id_num'];

RTFM -> diffrent between _GET & _POST

You can also use $_REQUEST['id_num'] if you don't care how the variable gets there (GET, POST, or COOKIE).

Note that if the value is set in more than one input (say both a
GET and a COOKIE set id_num), the variables_order variable in
php.ini determines which one will overwrite the other.

Steve


------------------ Steve Slater slater@xxxxxxxxxxxxxxxxxxx PHP / MySQL / Web App Security (LAMP) Training: http://www.handsonsecurity.com/training.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux