We had this talk already before A while ago...I quote Cindy1 :
"What's going on is that I'm using blogbomb and a random .cgi script on one of my sites. I wanted to add another script, which happened to be PHP.
My original .htaccess file had this line for blogbomb to work correctly:
AddHandler server-parsed .html
When I added the PHP script, I had to change that line in .htaccess to this, so the php script would work (pages were made as .html):
AddType application/x-httpd-php .html .htm
My next problem was calling the blogbomb and random includes. Originally I had -
<!--#include virtual="/cgi-bin/BBx2/feedsearch_ssi.cgi?channel=1&results=6" -->
and
<!--#include virtual="cgi-bin/random-file.cgi" -->
I had to change those to PHP includes, so they now look like this:
<?php
$data = file("http://www.mydomain.com/cgi-bin/random-file.cgi";
foreach( $data as $value ) {
echo $value;
}
?>
and
<?php
$data = file("http://www.mydomain.com/cgi-bin/BBx2/feedsearch_ssi.cgi?channel=1&results=6";
foreach( $data as $value ) {
echo $value;
}
?>
Make sense?
Cindy"
Tasari