Re: [PHP] Referring to Parent Folders

2004-02-13 Thread Paul Furman
Richard Davey wrote: Why not set-up a variable in a common include file (something like $basedir = "/usr/home/vinny/public_html/php") and then you can just do this: include "$basedir/script.php"; Here's what I use: -- HOME: -

Re: [PHP] Referring to Parent Folders

2004-02-13 Thread Richard Davey
Hello Vinny, Tuesday, February 10, 2004, 6:18:09 AM, you wrote: V> [doc root] V> -[php] V> -- script.php V> -- [some folder] V> --- [another folder] V> current.php V> So my question is, is this simply a PHP config problem? Nope. Nothing to do

[PHP] Referring to Parent Folders

2004-02-13 Thread Vinny
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 [bracket