Hello,
Can anyone help me find out how to include a script into another script. I am using dbMan on a website and the website is making use of a banner rotator in 4 different locations on the pages. Since dbMan uses CGI, and not HTML, to generate the pages, I can't use the normal Include Virtual commands. I've used the following:
<script language="javascript" src="/cgi-bin/banners/banner.cgi?cat=t01"></script>
but this did not work (looking at my error log file, I found a couple Premature End of Script Header error msgs). I've also looked through the forum to see if others have asked this but the things I found seem to relate more to rewriting the included file as code inserted as a module in the script and then calling that routine. However, the banner rotator I am using is an extensive process using several differnt scripts itself.
Accepting ideas from anyone.
MG International
Web Designs & Development
Can anyone help me find out how to include a script into another script. I am using dbMan on a website and the website is making use of a banner rotator in 4 different locations on the pages. Since dbMan uses CGI, and not HTML, to generate the pages, I can't use the normal Include Virtual commands. I've used the following:
<script language="javascript" src="/cgi-bin/banners/banner.cgi?cat=t01"></script>
but this did not work (looking at my error log file, I found a couple Premature End of Script Header error msgs). I've also looked through the forum to see if others have asked this but the things I found seem to relate more to rewriting the included file as code inserted as a module in the script and then calling that routine. However, the banner rotator I am using is an extensive process using several differnt scripts itself.
Accepting ideas from anyone.
MG International
Web Designs & Development