Re: climb up the path

From: 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. -Stut
A,... right! - me and my limited thinking... - dirname() gives the parent of a file AND of a directory, right. Thanks, Iv

« previous php.general (#275530) next »