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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to