>From the root of a website: /

I had a file called /my.php which included a file /include/blah/my.inc.php

In my.php if I put the include_once( "./include/blah/my.inc.php" ); it works
when my.php is in the root of the site.

If I move /my.php to /blah/my.php, no matter how I address
../include/blah/my.php or /include/blah/my.php I keep getting path errors.

How do I get around this problem using only relative paths (no absolute or
placing in an include path)


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

Reply via email to