Couldn't you just store the php commands as a txt file and then use a SSI
[server side include]?

olinux

> It would be very convenient to be able to store PHP (or any other server
> side code) in a database, then retrieve and execute it.
>
> I store a lot of website content with embedded HTML commands in a
database.
> Being able to store PHP code in the database as well would be very
> convenient.
Lets think about something:
if we put some code in a field and then we out the of code from code put in
temporal file and then include in our principal code :)))

but i have a doubt eval funcion we work with functions printf,  echo? i
don't think so.


>
> The only way I can think of doing it would involve a lot of very messy
> parsing out of the php commands. I expect that would take way to much
> processing time. I don't imagine that would work for entire functions
> either. Maybe just individual PHP commands.
>
> Any ideas????
>
> Thanks! Rita
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to