I am working on an Online complier project. I am stuck in between, so want help from you guys. Does anyone have an idea on how can I open a linux terminal through CGI scripts or PHP scripts on server side.
Meaning when a user presses compile button at client side, the request should go to server, which runs a script. that script should now open the terminal and run gcc filename.c command.
So how can I accomplish this task ?
Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Pinned topic Require Some Guidance regarding Online Complier project
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2008-06-18T19:08:36Z at 2008-06-18T19:08:36Z by SystemAdmin
SystemAdmin 110000D4XK262 Posts
Re: Require Some Guidance regarding Online Complier project2008-06-18T19:08:36ZThis is the accepted answer. This is the accepted answer.You are in the wrong forum. Probably you will be better of at http://www.linuxquestions.org/
Having said that, the best approach for what you want to do is execute the command using any of this functions: