Hi! I am planning a project portal for our college`s local coding contests, wherein a user can submit code into the site, the code is then sent by php to a c++ compiler, most probably gcc, and then gcc sends back the errors or the compiled results to the user. So, now can ne1 help me out with this integration of PHP and C++, ne resource would be helpful.
cheers,
dkd903
PHP and C++ integration
Moderator: General Moderators
Re: PHP and C++ integration
Try this function exec. Remember that you also protect the site so be carefull with the privileges given to the folder for the files and the files uploaded by the user.