This is actually for a personal web portal, so very little will be eval'd
out of the database most of the time.

I'm not sure what a PHP accelerator is, but I'm guessing that if I wanted to
use it I could get away with doing something like:

Export the php file from the db to an actual tmp file.  require it and call
it from inside of my dbpage.php file.


"Alexandru Costin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>     Oopps, sorry for my previous reply.
>     Actually I've missunderstood your question - I've understood it better
> now.
>
>     The "eval" is indeed the key - but there is one major performance
> issue - when eval-ing code from the database, you won't be able to use a
PHP
> accelerator - as they can't optimize dynamically eval-ed code.
>     What we regularily use is to cache the PHP code in some PHP files that
> are actually "required" when you need to execute them
>
>                     Alexandru
>
> --
> Alexandru COSTIN
> Chief Operating Officer
> http://www.interakt.ro/
> +4021 312 5312
> "Jeremy Darling" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have a database of code pages and was wondering if their is a way to
> > actually run the code from the Database as if it was part of a page.
> >
> > Thanks,
> > Jeremy
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to