how can you run a cgi script from within a php script? i know how to do it in .shtml but i don't know if it's the same. And is it possible that the cgi script generates php code which is then parsed?
CGI from PHP
don't you run the php within the cgi, I don't think php could handle the cgi unless you made it run over sockets.
Yes, simply use CURL (http://uk.php.net/manual/en/ref.curl.php) to get it and it will be parsed by the CGI language you use. Then parse the xml (if it is xml) it returns it with http://uk.php.net/manual/en/ref.xml.php. Easy, if you don't have curl for some reason then you can achive the same effect with sockets.
