I don't know if this is a PHP config problem, or an Apache 1.3/PHP 4
problem, or what.  When I include a script, say 2 folders up in the
structure, I'm having to move up to it instead of skipping to root and
moving down to it.  Allow me to clarify, let's say my tree structure looks
like so [brackets indicate folder]:

[doc root]
-----[php]
---------- script.php
---------- [some folder]
--------------- [another folder]
-------------------- current.php

Let's then say that I want to include 'script.php' inside 'current.php'.  As
it is now, I'm having to use include('../../script.php').  This is obviously
a nuisance, especially if I want to move things around.  Now, I remember in
the past (different server config), using include('/php/script.php') would
work perfectly fine, but it does NOT work now, and I'd love for it to work.
Using /folder/file.ext works in regular HTML so I can only assume it is not
a problem with Apache.  So my question is, is this simply a PHP config
problem?

PHP 4.3.4
Apache 1.3.something

Thanks!!!!!

Vinny

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

Reply via email to