I am using proc_open
to run the command : gcc filename.c -o filename1
to compile the C program.
And then the command : ./filename1
to execute the program.
Is it the right way to implement a simple C Compiler in PHP?
Please inform me about the possible security issues and how to fix them.