in reply to Re^5: Accessing a C++ compiler through a CGI script
in thread Accessing a C++ compiler through a CGI script

Well, it appeared to attempt to compile and such...it just never told me whether it actually worked or not; it always gave me that data issue.

Also, on my version, I'm having issues with getting it to print to output.txt and code.cpp, something about permissions errors and closed filehandles. Any ideas?
  • Comment on Re^6: Accessing a C++ compiler through a CGI script

Replies are listed 'Best First'.
Re^7: Accessing a C++ compiler through a CGI script
by ickyb0d (Monk) on Oct 27, 2005 at 22:13 UTC

    say your files are in a compiler/ directory.

    "chmod 777 compiler"

    that will give everyone the ability to write to that dir... including apache. Then so long as you have the full path in the code.cgi, apache should at least make those 2 files.