Executing scripts from a table

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

 



Hi, folks -- - -

For security and efficiency, I am trying to store PHP scripts in MySQL tables. Only problem: I can't get them to execute.

In a template:
----------------------------------------
$php_code = $this->ApplicationObject->GetStoredCode($whichpage);

echo $php_code;  // doesn't execute

print_r($php_code); // doesn't execute, either
----------------------------------------

I've looked for some kind of exec_script() function without luck.

I can't be the first one to have done this. Any ideas or resources you can point me to?

Thank you -- - -

Ken

--
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