Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Passing variables in PHP


jatar_k - 12:07 am on Jan 18, 2004 (gmt 0)


Welcome to WebmasterWorld WestCoGuy,

Most of what you are asking is available here

PHP Predefined Variables [ca.php.net]

The superglobal arrays will contain most of what you are looking for.

$_SERVER - user agent, paths, IP and a whole ton more

$_POST - an array of the values posted to the script from a form using the action=POST

$_GET - an array of the values from variables in the url or a form with action=GET

$_COOKIE - variables from cookies

$_ENV - environment vars

and a couple of others.


Thread source:: http://www.webmasterworld.com/php/2586.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com