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:  [EMAIL PROTECTED]
Santa Fe - Argentina            http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to