faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 18 people (67%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

When I use POST/GET methods to send my HTML input, the input will not appear in the next HTMPHP vars

Dec 30th, 2002 08:49
Philip Olson, Delaney Hee Kuan Weng, MP Farmer,


This is because as of PHP 4.2.0, the default value for the
register_globals directive went from on to off.
This is further explained here:
  http://www.php.net/variables.external
Like all PHP directives, register_globals is set in php.ini and if you
require it to be on you can modify it there.  Using .htaccess is another
option.