Would anyone be interested in a site where you can test server-side code like PHP, Ruby or Perl? I have started making a site like this, but before I finish it, I want to see if there is any interest.
I don't think it would be secure for you. Anyone could run a script that could delete files from the server, send spam, etc.
I don't think it would be secure for you. Anyone could run a script that could delete files from the server, send spam, etc.
I already considered that. I would make it so when someone put in something that would potentially cause harm, the code wouldn't be run and they would be warned, if they did it again, they would be removed. I would also disable mail.
Is there a way to make the script run as a user without permissions to modify files?
Security aside, would this be useful
<?php
fn_hello_world ();
function fn_hello_world ()
{
while (1)
{
return fn_hello_world ();
}
}
?>
Imagine that you just started out learning PHP or Ruby. You go online and see a really cool function, and want to test it out. (you don't have apache installed on your computer, because many windows users don't when they start out, obviously once you get better and more serious, you will install apache, but many beginners dont. Also, on a mac, PHP is disabled by default.) To test this function, you could upload it to your server and try it that way, or you could go to this website and type in the new code and easily change and test it until you get it correct. That way you don't have to upload your changes repeatedly.