From: "Brandon Orther" <[EMAIL PROTECTED]>
> Hello,
>
> I am writing a banner rotation script and want to use Server Side include.
> When I try to include from any server other than the one that php script
is
> on I get an error,
>
> Error: [an error occurred while processing this directive]
>
> Any Ideas?
>
>
> Thank you,
>
> --------------------------------------------
> Brandon Orther
> WebIntellects Design/Development Manager
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
SSI doesn't support opening files over HTTP, so what you're trying to do
will not work.
You either need to have your banner script called from an <IMG> tag in the
remote file (your script would return image data) - in which case you can't
do HTML banners - or the remote server needs to run PHP and do something
like this where the banner will appear:
<?php
readfile("http://your-adserver.dom/banner.php?id=1234");
?>
Cheers
Simon Garner
--
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]