Dear friends,
When I type at the prompt:
perl -w count.cgi
it returns:
<img src=pics/counter/0.gif><img src=pics/counter/0.gif><img src=pics/counter/4.gif><img src=pics/counter/2.gif><img src=pics/counter/2.gif><img src=pics/counter/2.gif><img src=pics/counter/7.gif>
AND it is working
without the:
print "content-type:text/html\n\n";
WHITIN THE index.html page.
I have included this line BUT THE ERROR REMAINS.
The script is at /var/www/cgi-bin/
All permissions are ok (otherwise it would not run with perl)
It IS WORKING BUT ONLY WITH:
#exec cmd="perl ....."
When I point to the same script with CGI's <--!#exec cgi="...