11Tami Posted December 31, 2006 Share Posted December 31, 2006 Hello, can actual php functions be pulled from a database and work? I tried pulling out a small one inside other php that pulls items out of a database but pulling a php function out instead of just text didn't work. Can it be done? For instance how do people fill out new forms and such if a certain something is triggered and so on? Thank you very much. Quote Link to comment Share on other sites More sharing options...
fert Posted December 31, 2006 Share Posted December 31, 2006 yes PHP code can be pulled from a database and run Quote Link to comment Share on other sites More sharing options...
trq Posted December 31, 2006 Share Posted December 31, 2006 Look at evil [url=http://php.net/eval]eval[/url], but be carefull with it. Quote Link to comment Share on other sites More sharing options...
11Tami Posted December 31, 2006 Author Share Posted December 31, 2006 So is there an easy way? Or is eval the only way. Thanks. Quote Link to comment Share on other sites More sharing options...
fert Posted December 31, 2006 Share Posted December 31, 2006 eval is the only way Quote Link to comment Share on other sites More sharing options...
corbin Posted December 31, 2006 Share Posted December 31, 2006 An easy way? Evals pretty straight forward lol Quote Link to comment Share on other sites More sharing options...
ShogunWarrior Posted December 31, 2006 Share Posted December 31, 2006 Eval is [url=http://blog.joshuaeichorn.com/archives/2005/08/01/using-eval-in-php/]evil[/url]. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.