Re: RE: RE: [PHP] Including only I want
| From: | Alberto Wagner | Date: | Sat, 13 Apr 2002 13:12:47 +0000 |
| Subject: | Re: RE: RE: [PHP] Including only I want | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92888@lists.php.net to get a copy of this message | ||
I want to make a module system, that open a module and get the first $numberlines of it that will be
some configuration
variables, the $numberlines will probably be at top of file, at line 1, then I want to script to get
the variables and
execute them in the kernel.php, allowing me to make modules with configs with only one file
13/04/2002 12:23:50, "Cal Evans" <cal@calevans.com> wrote:
>I guess it would help if you explained what you are trying to do. the
>answer to your initial question is no.
>
>=C=
>
>*
>* Cal Evans
>* Journeyman Programmer
>* Techno-Mage
>* http://www.calevans.com
>*
>
>
>-----Original Message-----
>From: Alberto Wagner [mailto:albertonews@terra.com.br]
>Sent: Saturday, April 13, 2002 5:09 AM
>To: cal@calevans.com; 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" <cal@calevans.com> 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:albertonews@terra.com.br]
>>Sent: Saturday, April 13, 2002 4:33 AM
>>To: Php General Mailling List
>>Subject: [PHP] Including only I want
>>
>>
>>Is there any way to include only the lines that I want in an other PHP
>file?
>>
>>something like Include();
>>
>>like lines number 5,6 and 7.
>>
>>only this ones and not the entire script?
>>
>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>