Re: climb up the path
| From: | Iv Ray | Date: | Wed, 18 Jun 2008 16:27:52 +0000 |
| Subject: | Re: climb up the path | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275530@lists.php.net to get a copy of this message | ||
Stut wrote:
$path = dirname(dirname(__FILE__)); That will get you the parent directory. -StutA,... right! - me and my limited thinking... - dirname() gives the parent of a file AND of a directory, right. Thanks, Iv