are you trying to get values submitted from a form to be automatically available in your script, as in (for example) `$name`, instead of having to do `$_POST`?
If so, be advised that this is a **very bad idea**. `register_globals` used to do this (it has since been **deprecated** and **removed**). Go read the PHP manual page on [using register_globals](http://php.net/manual/en/security.globals.php).
You should not try to duplicate this functionality. It is a severe security risk. Instead, always take the time to deliberately **validate** _(check that the value IS what it is SUPPOSED TO BE)_ and **sanitize** _(make the value SAFE TO USE, e.g., to put in the database, to print to the browser, etc.)_ **all user input**.
## NEVER TRUST USER INPUT.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".