S17514 S17514 -4 years ago 105
PHP Question

How to execute text as PHP

I have a problem, I want to grab text and execute text as PHP, but how do I do this? For example I have this code in a .txt file:

$tweetcpitems->post('statuses/update', array('status' => wordFilter("The item Blue has been released on Club Penguin.")));
$tweetcpitems->post('statuses/update', array('status' => wordFilter("The item Green has been released on Club Penguin.")));


Now the problem is that I grabbed this text and I want to execute it as a PHP script, how do I do this? Please help!

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download