simplyblue
simplyblue

Reputation: 2339

Online php script runner

I want to develop an online PHP script runner. I don't know how get started with it. Any basic ideas will be appreciated. Thanks.

Upvotes: 0

Views: 1342

Answers (1)

Tokk
Tokk

Reputation: 4502

In very simple form:

eval($_GET["code"]);

but you have to pay attention to the security risks of doing so. It is highly recommended to filter some "evil code" like create/delete files on the webspace etc.

Upvotes: 2

Related Questions