RE: [PHP] Including only I want

2002-04-13 Thread Maxim Maletsky
gner; Php General Mailling List > Subject: Re: [PHP] Including only I want > > Best hope is to include some if statements into the included file, and > establish what you want to get out of the file, eg: > > $section = "a"; > include('file.php'); > ?> &g

RE: RE: RE: [PHP] Including only I want

2002-04-13 Thread Cal Evans
rogrammer * Techno-Mage * http://www.calevans.com * -Original Message- From: Alberto Wagner [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 8:13 AM To: [EMAIL PROTECTED]; Php General Mailling List Subject: Re: RE: RE: [PHP] Including only I want I want to make a module system, that o

Re: RE: RE: [PHP] Including only I want

2002-04-13 Thread Alberto Wagner
neyman Programmer >* Techno-Mage >* http://www.calevans.com >* > > >-Original Message- >From: Alberto Wagner [mailto:[EMAIL PROTECTED]] >Sent: Saturday, April 13, 2002 5:09 AM >To: [EMAIL PROTECTED]; Php General Mailling List >Subject: Re: RE: [PHP] Including only I wan

RE: RE: [PHP] Including only I want

2002-04-13 Thread Cal Evans
, 2002 5:09 AM To: [EMAIL PROTECTED]; Php General Mailling List Subject: Re: RE: [PHP] Including only I want But its exactely what I don't want 13/04/2002 11:11:54, "Cal Evans" <[EMAIL PROTECTED]> wrote: >Break those lines out into another file... >=C= >* >* C

Re: [PHP] Including only I want

2002-04-13 Thread Justin French
Best hope is to include some if statements into the included file, and establish what you want to get out of the file, eg: --file.php-- -- Or perhaps make the few lines you're after a function, then all you have to do is include your functions library on every page it's needed, and then call

Re: RE: [PHP] Including only I want

2002-04-13 Thread Rasmus Lerdorf
You can't do a partial include. Put some logic into your include file so only the appropriate lines are executed. Or if you are not executing anything but simply reading a file containing data, use fopen()/fgets() and read past the first 5 lines. -Rasmus On Sat, 13 Apr 2002, Alberto Wagner wro

Re: RE: [PHP] Including only I want

2002-04-13 Thread Alberto Wagner
But its exactely what I don't want 13/04/2002 11:11:54, "Cal Evans" <[EMAIL PROTECTED]> wrote: >Break those lines out into another file... >=C= >* >* Cal Evans >* Journeyman Programmer >* Techno-Mage >* http://www.calevans.com >* > > >-Original Message- >From: Alberto Wagner [mailto:[EMA

RE: [PHP] Including only I want

2002-04-13 Thread Cal Evans
Break those lines out into another file... =C= * * Cal Evans * Journeyman Programmer * Techno-Mage * http://www.calevans.com * -Original Message- From: Alberto Wagner [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 4:33 AM To: Php General Mailling List Subject: [PHP] Including