php exec function
Posted: Tue Feb 13, 2007 2:30 am
I wonder if i can effectively use php exec() to compile and execute a java or C file which if stored on web server
Can i do that? and can i automatically store the output generated in a text format?
All i wanted to do was.....provide a user with an interface frm wher he uploads his .java file and the moment he submits it, it gets compiled n executed at server end!
I wanted a simplified version of this using exec()
http://www.innovation.ch/java/java_compile.html
Can i do that? and can i automatically store the output generated in a text format?
All i wanted to do was.....provide a user with an interface frm wher he uploads his .java file and the moment he submits it, it gets compiled n executed at server end!
I wanted a simplified version of this using exec()
http://www.innovation.ch/java/java_compile.html