[UPHPU] php equivalent of Request.ServerVariables

Jon Jensen jon at jenseng.com
Fri Sep 9 11:55:23 MDT 2005


The $_SERVER array is what you want.

For example, $_SERVER['HTTP_HOST'] will contain
"www.ashley.oviatt.whatever.com"

More info here:

http://us2.php.net/manual/en/reserved.variables.php#reserved.variables.serve
r

Jon




More information about the UPHPU mailing list