Getting php directory

From: Date: Fri, 13 Oct 2000 19:30:14 +0000
Subject: Getting php directory
Groups: php.general 
Request: Send a blank email to php-general+get-20067@lists.php.net to get a copy of this message
Is there a varaable that will give me the directory in which the script is execting? For example, my scripts are in c:\webroot\test\php If I am executing the Welcome.php script and use the $HTTP_SERVER_VARS["PATH_TRANSLATED"] item, I get c:\webroot\test\php\welcome.php I would like to just get c:\webroot\test\php. Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.general (#20067) next »