-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then DL Neil declared....
> > masterfile.inc lives in /var/www/includes/ and contains this line:
> > include("/var/www/includes/anotherfile.inc");
> >
> > in index.php I include masterfile.inc and thus get anotherfile.inc.
> >
> > What I'd like to know though is, is it possible to have the include
> line
> > in masterfile.inc specify a url *relative* to itself?
> > like:
> > // masterfile.inc
> > include("anotherfile.inc"); // now the path is relative.
>
>
> AFAIK the options are absolute addressing, relative addressing (to the
> php.ini), and http access.
>
> RTFM the four pages from
> http://www.php.net/manual/en/function.require.php.; There's quite a bit
> of advice/experience in the user annotations!
Please don't RTFM me, that's the first place I went. I didn't find what
I'm looking for so I came here.
- --
- -----------------------------------------------------------
www.explodingnet.com | Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- | and designers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8f2/pHpvrrTa6L5oRAgH+AJ0bbArcqX1Um1muNIjV789qCEvv/gCfW9RA
jFT4TxiP5n4tUpgPl5NAG1I=
=/ZY3
-----END PGP SIGNATURE-----
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php