Answer the question
In order to leave comments, you need to log in
How to integrate code execution on the site?
Hello.
How can you integrate code execution on your site? There is, for example, repl.it , where you can run code online in different languages. How can this be implemented or is there a ready-made technology?
The challenge is interactive learning.
Answer the question
In order to leave comments, you need to log in
an example of code execution in php, the situation is similar with other languages
$message=shell_exec('php -r "'.$_POST['inputMemo'].'"');
print_r($message);
Sandbox, aka sandbox.
For some technologies, they are ready-made, for others, you will have to assemble them yourself from virtual machines and a file.
So google: php sandbox , for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question