I tried, and I got "The requested URL /icons/a.gif was not found on this server". And the image "a.gif" is int the C:\Program Files\Apache Software Foundation\Apache2.2\icons folder
the script is in the /cgi-bin directory; for the image - I tried to put it in the /icons directory, then in a special folder in the Apache directory, in C:, in Desktop, in the/cgi-bin direcory .... but the image doesn't display
Please Help me with my first script in Perl CGI: I have this cgi-perl code:
#!C:\Perl\bin\perl.exe
# hello.pl -- my first perl script!
print "Content-type: text/html\n\n";
print <<"EOF";
<HTML>
<HEAD>
<TITLE>Hello, world1!</TITLE>
</HEAD>
<BODY>
<p>
<img src="a.gif">
</BODY>
</HTML>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.