I’m need to run scripts within a page based on what is written in the window.location. To explain, here is what I had. But because SSL and javascript don’t work togeather, this doesn’t work:
<script>
{
var paramValue;
document.write(‘<!–#include virtual=”script.cgi?db=file1&info=next&string=’);
if( paramValue=window.location.search.match(/[?&]info=(w+)/) )
document.write( paramValue[1] );
document.write(‘” –>’);
}
</script>
Then the location of the file would be file.shtml?info=home1
Now in an ideal world:
<!–#include virtual=”script.cgi?db=file1&info=next&string=home1 –>
would be written into the page and with that the database. But this does not work and so I wonder if anyone has another idea. Even if using cgi og something…?