Re: Executing scripts from a table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, February 2, 2007 11:32 am, Ken Kixmoeller -- reply to
ken@xxxxxxxxxxxxxx wrote:
> For security and efficiency, I am trying to store PHP scripts in
> MySQL tables. Only problem: I can't get them to execute.

Errrr.

Putting PHP source into MySQL is the WRONG way to go for security and
efficiency...

So, right there, you're in the wrong tree.

But the function you THINK you want is 'eval'
http://php.net/eval

Rule Of Thumb:
If 'eval' is the answer, you are almost certainly asking the wrong
question.
:-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux