note 98306 deleted from function.getcwd by danbrown

From: Date: Tue, 08 Jun 2010 13:31:36 +0000
Subject: note 98306 deleted from function.getcwd by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169939@lists.php.net to get a copy of this message
Note Submitter: dan at ziemecki dot com ---- Many people looking at this function are probably more interested in the directory the file is stored in than in the "working" directory. I've found this tends to arrive at that answer fairly well: explode('/', dirname($_SERVER['PHP_SELF']))

« previous php.notes (#169939) next »