Re: Getting php directory

From: Date: Fri, 13 Oct 2000 22:10:05 +0000
Subject: Re: Getting php directory
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-20098@lists.php.net to get a copy of this message
Todd Cary writes: > Matthew - > > I now realize that I ask the wrong question. What I actually want to do > is create the URL *except* the name of the script. For instance, the > URL is > > http://210.214.172.137/test/php/Welcome.php > > Is the URL stored by PHP? Then I can use what you sent to remove the > Welcome.php. > > Todd Check out the manual: http://www.php.net/manual/language.variables.predefined.php You can also check out all predefined variables for your setup by using the following script: <?php phpinfo(); ?> Hope this helps, Torben -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.general (#20098) next »