-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Here's the scenario.
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. Simple (I hope) 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. Many thanks.... - -- - ----------------------------------------------------------- www.explodingnet.com | Projects, Forums and + Articles for website owners - -- Nick Wilson -- | and designers. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8f1VMHpvrrTa6L5oRAogTAJ46IwBbwFVLnVhNEG2qIj9ZqzXX1QCeMinj 6Y7FWqh5wFGqVEYe58LkZTM= =YtcD -----END PGP SIGNATURE----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php