If the script is on a remote machine, as you say, then SSI won't work anyway: it only works for local addresses.

Here are a few options that might work:

<iframe src="http://your_script"></iframe> <a href="your_link"><img src="http://your_script"></a> <script language="javascript" src="your_javascript"></script>

If you use the image option then your script has to return a valid image file, of course. The javascript would consist of document.write() instructions. iframes can just contain html, but don't work in netscape. There's something similar that you can do with <div> tags in netscape, but i can't remember the syntax for that one. Search for the source-include css property to find out.

Most of these methods, and perhaps others, can be found by reading the source of pages with adverts on them, but I hope the ad network really is just for example...


In reply to Re: Alternative to SSI by thpfft
in thread Alternative to SSI by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.