July 21st, 2009, 01:04 PM
Join Date: Jul 2009
Time spent in forums: 5 m 59 sec
Reputation Power: 0
Anyone have CGI experience willing to help me out?
while ((ch = getchar()) != EOF)
fails @ http://bit.ly/2jooFR
it also fails when running it via terminal.
I'm sure I'm doing something stupid. The reason I need this is we have several CGI scripts in C written and I need to call via my PHP scripts, but first I need to make sure I can even run CGI scripts in C on my server
CGI in Pearl works, http://www.attendview.com/phptest/hello.pl
# hello.pl -- my first perl script!
print "Content-type: text/html\n\n";
print "Hello, world!\n";