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

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

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 declared I didn't catch the first part

[PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Here's the scenario masterfileinc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfileinc); in indexphp I include masterfileinc and thus get anotherfileinc Simple (I hope) What I'd like to know though

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 specify a

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil declared masterfileinc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfileinc); in indexphp I include masterfileinc and thus get anotherfileinc What I'd like to know though is, is

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 masterfileinc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfileinc); in indexphp I include masterfileinc and thus get

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 anotherfile.inc.

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 that

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://wwwphpnet/manual/en/functionrequirephp; 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