Well the include line I needed was this: <!--#include virtual="/cgi-bin/ssirand.cgi?REGION=Sports" --!>
That didn't work since the filetype is PHP. After some searching on the developers website I came across a posting for getting the thing to work on PHP3, so I tried it (even tho i'm using PHP4) and it worked. This is what I had to use: <? $ads = `cd /home/sites/www.delriolive.com/web/pay; /home/sites/www.delriolive.com/web/pay/ssirand.cgi Region=localRICH`; echo $ads; ?> It worked perfectly. If you know how to get the include file to work though, i'd rather use it. Thanks :) -Nick > From: Shane Wright <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 21 Dec 2001 17:54:42 +0000 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP & ssi > > Hi Nick, > > No, this isnt possible - but the constructs in PHP should allow you to do > anything you can do with SSI just as easily. > > -- > Shane > > On Friday 21 Dec 2001 5:45 pm, Nick wrote: >> Is it possible to have a .php file parse SSI's? I tried adding .php as a >> SSI file but it overwrote the php type, and wouldn't display PHP. And >> vice-versa. If not, i'd hafta write a php script that executes a program, >> and take the output from that program and parse it, which I don't know how >> to do. If anyone can help on that, please do so, and if anyone knows how >> to get SSI working with PHP, please let me know how. Thanks. >> >> -Nick > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]