Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

[PHP-DB] RE: Storing Code in a db? From: Mikusch, Rita (MIKUSCH <email protected>)
Date: 06/28/01

Yes! I'd be interested in this as well!

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.

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

-----Original Message-----
From: Mark @ 10base-t [mailto:mark <email protected>]
Sent: Wednesday, June 27, 2001 6:06 AM
To: php-db <email protected>
Subject: Storing Code in a db?

Hey there,
Is it possible to store code like a function, for example, in a mysql
database and pull it into a php dynamicallly so you can use the function if
needed?

Mark

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>