script src (Was: [Xitami] SSI)

Marc Doigny xitami@lists.xitami.org
Sat, 15 Dec 2001 09:19:12 +0100


hello world


FYI: instead of using server side includes, you can also add a
<script src=http://www.server.com/cgi-bin/ezcount.exe></script>
The only difference in the exe file (compared to a exe-file that creates a 
complete page) is that the browser expects javascript, not html. Simply 
put: if you want to display "hello world" you will have to output 
"document.write('hello world');" [doubles quotes added for clarity].
I use a subroutine to add the javascript container to the desired output.

Marc


>In my .SSI page, I have a line:  <!--#exec
>cgi="http://www.byrneworld.com/cgi-bin/ezcount.exe"-->

------------------<Mailserver VERFAILLIE BAUWENS>------------------
Alle uitgaande mails gecontroleerd op virussen door onze mailserver
Virusdefinities dagelijks aangepast.  -<postmaster@verfaillie.com>-