Greetings All!
I've been experimenting with trying to get links.cgi programs working within PHP files. The simple ones work quite well. The problem seems to occur though when I try to use some specific options. This is what does work:-
$result = exec("/path/to/links/review.cgi", $out1);
array_shift( $out1 );
array_shift( $out1 );
$out2 = join( "\n", $out1 );
print($out2);
?>The problem arises when I add anything after review.cgi or user.cgi etc. eg. review.cgi?ID=1234. The same with page.cgi.
Anyone got any ideas what is happening here?
Thanks,
Clint
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
I've been experimenting with trying to get links.cgi programs working within PHP files. The simple ones work quite well. The problem seems to occur though when I try to use some specific options. This is what does work:-
Code:
<?php $result = exec("/path/to/links/review.cgi", $out1);
array_shift( $out1 );
array_shift( $out1 );
$out2 = join( "\n", $out1 );
print($out2);
?>
Anyone got any ideas what is happening here?
Thanks,
Clint
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory