I have this problem: I want to pass a whole C code from a php textbox onto server and want to compile it with gcc and want the output back on php page. Is it possible?
Sample code:
php page input
<textarea>
#include<stdio.h>
void main()
{
printf("hello world");
}
Compiled on server terminal/shell
php page output:
hello world