Re: directorios

From: Date: Sat, 28 Jun 2003 05:06:22 +0000
Subject: Re: directorios
References: 1 2 3  Groups: php.general.es 
Request: Send a blank email to general-es+get-37918@lists.php.net to get a copy of this message
At 27/06/2003 14:28, you wrote:
como hago para hacer referencia a un directorio en mi server, pero de forma "absoluta" ??
        Si te refieres a la ruta "real", usa realpath()
http://www.php.net/manual/en/function.realpath.php Ahora, si te refieres al ruta WEB completa, intenta con $_SERVER['HTTP_HOST'] . $_SERVER['PATH_INFO'] —con info() te puedes dar cuenta de qué utilizar
        Rafael.


« previous php.general.es (#37918) next »