October 1st, 2000, 05:07 PM
I have a (small?) problem. I want to grab the output of a C++ cgi in order to parse it from PHP. My problem is on the perl side:
I need to run the CGI and then store it's out in a variable. How can I run the cgi?
Obsiously system() and exec() are not for me, since I need to execute the program from the browser (since it does a lot of DB stuff). I already read about the www-lib (or something like that) but I do not have it installed on my server (Linux + Apache) and I cannot install it too.
October 1st, 2000, 06:24 PM
You can install www-lib in your individual account. Just unzip the .pm file(s) into the directory you're perl scrit's in. then in the perl script go:
Then you should be able to use it just as if it was installed on the server.
October 2nd, 2000, 05:55 AM
So, the only solution is that library.
OK. Another question: If I use PHP3 will I find a better solution or not?