Re: [PHP] include() and paths

2002-03-06 Thread michael kimsal
Patrick Teague wrote: > ok, so this makes alot of since... if I move my website from one server to > another server I'll have to go through every single file & redo the > directory structure? Isn't this the reason for the includes... so you > don't have to go through every single file to make c

Re: [PHP] include() and paths

2002-03-06 Thread Patrick Teague
ok, so this makes alot of since... if I move my website from one server to another server I'll have to go through every single file & redo the directory structure? Isn't this the reason for the includes... so you don't have to go through every single file to make changes? Maybe I should go bac

RE: [PHP] include() and paths

2002-03-05 Thread Ford, Mike [LSS]
> -Original Message- > From: Nick Wilson [mailto:[EMAIL PROTECTED]] > Sent: 01 March 2002 17:30 > To: PHP-General > Subject: Re: [PHP] include() and paths > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Nick Winfield decla

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil declared > > > 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

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Nick Winfield declared > I didn't catch the first part of this thread (rampant deletion ahoy) so > please excuse if I am talking nadgers. The way I see it, if you are > calling includes/requires from within other includes, the path is

Re: [PHP] include() and paths

2002-03-01 Thread DL Neil
and Nick Wilson opined in what could be seen to be an arrogant fashion... > * 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 an

Re: [PHP] include() and paths

2002-03-01 Thread Nick Winfield
On Fri, 1 Mar 2002, Nick Wilson wrote: > -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

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-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

Re: [PHP] include() and paths

2002-03-01 Thread DL Neil
Hi Nick, > 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 sp