I'm having difficulties executing gcc using exec.
I'm not sure what versions of everything I'm using, because the page is running off of a big unix server.
The real reason this is so frustrating, is because the same page worked perfectly on a Mac (that was too small to handle the traffic).
exec("gcc -o /u1/cs1mc3/admin/public_html/$usrid/$tempname /u1/cs1mc3/admin/public_html/$usrid/$tempname.c $o_files 2>&1", $gcc_output);
This is pretty much the same as it was on the other server, it generates nothing and returns no error messages.
Funny thing is this
exec("/u1/cs1mc3/admin/public_html/$usrid/$qnumber $Args 2>&1", $yr_output);
works perfectly (It's supposed to execute the code made with the first exec).
Any help/suggestions are appreciated.
Dan