Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
German Site | Spanish Site 

 Web Hosting

 Virtual Dedicated Servers

 Domaincheck

 Order

 Order Status

 Support

 Contact us

 Download

 Network

 Network Status

 Webdesign / Templates

 Make Payment

 Terms & Conditions

 Imprint

 Legal Notices

 Privacy Statement
  PHP / getenv
getenv

getenv

(PHP 3, PHP 4 )

getenv -- Obtiene el valor de una variable de entorno

Descripción

string getenv ( string varname)

Devuelve el valor de la variable de entorno varname, o FALSE en caso de error.

$ip = getenv("REMOTE_ADDR"); // get the ip number of the user

Puede ver una lista de todas las variables de entorno utilizando phpinfo(). Puede encontrar el significado de la mayoría echando un vistazo en CGI specification (especificación CGI), especialmente en page on environmental variables (página de variables de entorno).


© 1998-2007 Gold Vision Communications All Rights Reserved.