RE: Storing Code in a db?

From: Date: Thu, 28 Jun 2001 16:16:41 +0000
Subject: RE: Storing Code in a db?
Groups: php.db 
Request: Send a blank email to php-db+get-9937@lists.php.net to get a copy of this message
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@10base-t.com] Sent: Wednesday, June 27, 2001 6:06 AM To: php-db@lists.php.net 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

« previous php.db (#9937) next »