Guardian-Mage Posted July 30, 2007 Share Posted July 30, 2007 Ok, on my website(It is secure and only accessible to me) I have a form with a text area. I enter php statements there, such as last_modified() so I can see the result, than I click Execute. Here is where I am stuck. I need to take the post data from the textarea and execute it as php. Any idea how I can do this? Quote Link to comment Share on other sites More sharing options...
akitchin Posted July 30, 2007 Share Posted July 30, 2007 the eval() function takes a string expected to be valid PHP code and executes it. 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.