Diana Castillo wrote:
Can someone tell me the name of the environmental variable that tells you
the path that you are in?

http://php.net/getcwd


or for the virtual path to the script...

dirname($_SERVER['SCRIPT_NAME']);

or for the document root of the current site...

$_SERVER['DOCUMENT_ROOT']

--
Stuart

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to