Re: [PHP4BETA] Parse function?

From: Date: Thu, 12 Aug 1999 01:04:00 +0000
Subject: Re: [PHP4BETA] Parse function?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3355@lists.php.net to get a copy of this message
Good point! It's just an old habbit, i needed to have SSI parsed and i haven't really looked at the options since then :P Thanks for pointing that out :) Alos, i found a way to get eval() to work (by reading the annotated manual) so just forget about my question :) /Johan Isacsson On Thu, 12 Aug 1999, Teodor Cimpoesu wrote: > just a Q, > why don't you use ReadFile() instead of that virtual() (&expensive) > call. > > Johan Isacsson wrote: > > > > Hi! > > I was wondering if anyone other than me have run into a problem where you > > store mixed html and php code in a database and then want to display it > > AND have the php code parsed? Something like the way eval() works. Here's > > an example of what i store: > > > > <HTML> > > <HEAD> > > <TITLE>Name: <% if(isset($name)) echo $name %></TITLE> > > <% virtual("/includes/scripts/mouseover.txt") %> > > </HEAD> > > > > I need to have the pieces of code parsed... > > > > There is a chance that i've missed something about eval() and that it > > could handle this but i haven't got it to work anyway, so if i haven't > > missed anything, could we have a parse() function? > > > > Thanks, Johan Isacsson > > > > -- > > PHP 4 Beta >

« previous php.version4 (#3355) next »