Re: base dir

From: Date: Wed, 07 Feb 2001 22:45:27 +0000
Subject: Re: base dir
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38638@lists.php.net to get a copy of this message
El Mié 07 Feb 2001 19:20, Brandon Orther escribió: > Hello, > > I am sure this is a dumb/easy question but I can't seem to find it looking > at the php manual... can someone tell me the function that gets the path of > where the script is? Check the variable $HTTP_SERVER_VARS["SCRIPT_FILENAME"] and use basename function to get the path. Saludos... :-) -- System Administration: It's a dirty job, but someone told I had to do it. ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#38638) next »