Re: RE: Storing Code in a db?

From: Date: Sun, 01 Jul 2001 17:12:06 +0000
Subject: Re: RE: Storing Code in a db?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-9998@lists.php.net to get a copy of this message
----- Original Message ----- From: "Mikusch, Rita" <MIKUSCH@ica.bc.ca> To: <php-db@lists.php.net> Sent: Thursday, June 28, 2001 12:16 PM Subject: [PHP-DB] RE: Storing Code in a db? > Yes! I'd be interested in this as well! > Hi! Me too. I think about this a lot. > 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 > > -----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 > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#9998) next »