Read the manual page on predefined variables
as it includes a partial list of predefined variables available to your script. A complete list of available variables (and much more information) can be seen by calling the phpinfo()
function. Be sure to read the manual section on variables from outside of PHP
as it describes common scenarios for external variables, like from a HTML form, a Cookie, and the URL.
Posted in: PHP