Ask a Question related to PHP Development, Design and Development.
-
steve #1
"include" from db
Hi,
I need to do conditional script "include", but like to pull the code
from db instead of a file. How do I do that?
Reason: I like to implement some complex regex logic, and make it
table driven. The regex would include if/then/else type logic, and
would like my script to conditionally execute the logic.
--
[url]http://www.dbForumz.com/[/url] This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: [url]http://www.dbForumz.com/PHP-quot-include-quot-db-ftopict153128.html[/url]
Visit Topic URL to contact author (reg. req'd). Report abuse: [url]http://www.dbForumz.com/eform.php?p=512699[/url]
steve Guest
-
include" file" vs. "virtual" in .asp
what is the diff between "virtual" and "file" when using include script? and or should i be using "asp include" if an asp page vs. "script include"?... -
#24053 [Com]: include issues spurious "stream" warning that clutters up the page ...
ID: 24053 Comment by: ngaugler at ngworld dot net Reported By: jphey at netdoor dot com Status: Bogus Bug... -
#24053 [Asn->Fbk]: include issues spurious "stream" warning that clutters up the page ...
ID: 24053 Updated by: iliaa@php.net Reported By: jphey at netdoor dot com -Status: Assigned +Status: ... -
#24053 [Asn]: include issues spurious "stream" warning that clutters up the page ...
ID: 24053 Updated by: wez@php.net Reported By: jphey at netdoor dot com Status: Assigned Bug Type: ... -
#24053 [Bgs->Asn]: include issues spurious "stream" warning that clutters up the page ...
ID: 24053 Updated by: wez@php.net Reported By: jphey at netdoor dot com -Status: Bogus +Status: ... -
Chris Hope #2
Re: "include" from db
steve wrote:
[url]http://www.php.net/eval[/url]> I need to do conditional script "include", but like to pull the code
> from db instead of a file.**How*do*I*do*that?
>
> Reason:**I*like*to*implement*some*complex*regex*lo gic,*and*make*it
> table driven.**The*regex*would*include*if/then/else*type*logic,*and
> would like my script to conditionally execute the logic.
--
Chris Hope - The Electric Toolbox - [url]http://www.electrictoolbox.com/[/url]
Chris Hope Guest
-
steve #3
Re: Re: "include" from db
"Chris Hope" wrote:
Thanks, Chris. That is just what I was looking for!> steve wrote:
>> the code> > I need to do conditional script "include", but like to pull> Reason:=A0=A0I=A0like=A0to=A0implement=A0some=A0co mplex=A0rege> > from db instead of a file.=A0=A0How=A0do=A0I=A0do=A0that?
> >=20
> >
> x=A0log=
> ic,=A0and=A0make=A0it> driven.=A0=A0The=A0regex=A0would=A0include=A0if/then/else=A0ty> > table
> p=
> e=A0logic,=A0and>> > would like my script to conditionally execute the logic.
> [url]http://www.php.net/eval[/url]
>
> --=20
> Chris Hope - The Electric Toolbox -
> [url]http://www.electrictoolbox.com/[/url]
--
[url]http://www.dbForumz.com/[/url] This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: [url]http://www.dbForumz.com/PHP-quot-include-quot-db-ftopict153128.html[/url]
Visit Topic URL to contact author (reg. req'd). Report abuse: [url]http://www.dbForumz.com/eform.php?p=512804[/url]
steve Guest



Reply With Quote

