> if I have a dir like this
> root\main\test.php
>
> how could I access this: from that script
> root\test\test.php
>
> basicly I mean how do I access a path before the current one
$PHP_SELF will point to "root\test\test.php" (though, I think you'd
be better off thinking of "/root/test/test.php"). You can explode this
based on the "/" character to find the previous directory.
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]