PDA

View Full Version : help w/Banner script in header


jamez
Thu 8th Feb '01, 5:39pm
I'm using entropy banner exchange on my server, but that SSI script shown below is in an .shtml page. How do I incorporate this into my header or footer with php?

<!--#exec cmd="/usr/local/cpanel/cgi-sys/entropybanner.cgi user"-->

wandrer
Thu 8th Feb '01, 7:18pm
entropy banner exchange

Tried to find information on this program, but came up empty.

Check out SSI2PHP at http://www.faq-kompendium.de/ssi2php/

Its answer to your SSI2PHP question was:

<? echo system(EscapeShellCmd("/usr/local/cpanel/cgi-sys/entropybanner.cgi user")); ?>

Or you might be able to do something like:

<--#include virtual="/cgi-sys/entropybanner.cgi user" -->

jamez
Thu 8th Feb '01, 7:22pm
Thanks for the input. I'll give it a try.

jamez
Thu 8th Feb '01, 7:32pm
Well, I tried using both suggestions. No luck.
Should I be using any other syntax in the header other what you gave?

robertusss
Thu 12th Apr '01, 11:29am
I have the very same problem - don't anyone have a solution?

isman
Sun 15th Apr '01, 10:00pm
I've been working on this problem for about a month now with no luck. I've checked out several PHP alternatives and still can't get it to work.

I'm also very interested in a solution.

isman
Sun 15th Apr '01, 10:43pm
See if you can get any of these to work...

http://vbulletin.com/forum/showthread.php?s=&threadid=13520

isman
Sun 15th Apr '01, 11:06pm
Ummm... These are used strictly in the PHP code, aren't they?