开发者

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 b开发者_JS百科e appreciated. Thanks.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜