RE: Current Directory

From: Date: Sat, 01 Jul 2000 18:08:59 +0000
Subject: RE: Current Directory
Groups: php.general 
Request: Send a blank email to php-general+get-4281@lists.php.net to get a copy of this message
For all these variables look at phpinfo() you will see that this is a global variable set by your webserver telling you where you are. Im also sure the $PHP_SELF should contain the info you need but you may have to do a dirname($PHP_SELF) or someting similiar (look at the Filesystem functions in the PHP manual) Be careful since $PHP_SELF should be global. mn Mark Nold markn@alverstone.com.au Systems Consultant Change is inevitable, except from vending machines. On Saturday, 1 July 2000 3:39, Peter Benoit [SMTP:pbenoit@triton-network.com] wrote: > Is there a function for obtaining the current directory info? Whether it's > the full link /dir1/dir2/dir3 or just /dir3 ? > > TIA, > Peter >

« previous php.general (#4281) next »