October 7th, 2000, 05:04 AM
I want to create a mechanism in order to create something like an image rotator. So, devided to create a perl script that will return the link to an image. The code is simple, eg:
if ($code eq "id1")
print "<img src=...
I call the cgi script in the HTML files (with .html extension) via an SSI call:
The problem is that i cannot see the images. Hints:
I do not make anything with the QUERY_STRING and when I look the html file source code i see the SSI code.
Is anything wrong in the previous code?
October 7th, 2000, 09:09 AM
>>Is anything wrong in the previous code?
It should be:
October 8th, 2000, 01:09 PM
No, actually it was just a typo mistake!
The real code has the # sign!
Is it normal to see the SSI code in the html page?
October 8th, 2000, 08:41 PM
You should not see SSI code in html. That means that SSI has not been processed.
You might need to put *.shtml extensions to html document.