[PHP] Storing script in database??

2002-08-01 Thread David Pratt
I am creating an application where it would be useful to write and store script in a field in a MySQL database and create a loop to process the array of the code contained in the field. Conceptually, I think it sounds reasonable but I am uncertain of what kind of process I could use to have the

Re: [PHP] Storing script in database??

2002-08-01 Thread Justin French
I'm pretty sure you can use eval() on a string, but tread with caution, and try to look around for security concerns. I certainly wouldn't eval() anything supplied by a user... no way. Justin French on 01/08/02 7:53 PM, David Pratt ([EMAIL PROTECTED]) wrote: I am creating an application

Re: [PHP] Storing script in database??

2002-08-01 Thread lallous
I agree with Justin! Probably your best solution is to write your own mini script and write an interpreter for it! Elias Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm pretty sure you can use eval() on a string, but tread with caution, and