PDA

View Full Version : Can PHP parse SSI?


certify
Mon 20th Aug '01, 2:06pm
Just need to check if I have a something.php and my banner ads require SSI to work. e.g


In something.php I insertn the below syntax

<!-- exec cgi="/cgi-bin/test.cgi" -->

Can PHP parse SSI value?

If not how can I get it to work?

The Prohacker
Mon 20th Aug '01, 2:46pm
You can't use ssi, but you could try:

<?
exec( "perl /path/to/script.cgi", $return );
print "$return";
?>

certify
Mon 20th Aug '01, 2:49pm
Thanks. :)

I have found the solution.


<?php
include("http://www.certifyexpress.com/cgi-bin/adscycle/adcycle.cgi?gid=1&type=ssi&id=275&keywords=ENTER+KEYWORD+LIST");
?>