Gazmend
Instructor
- Apr 2, 2007
- 6
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>
EOF
and it works, but the image does not come up. I tried to change the image' s location, but it didn't work again.
#!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>
EOF
and it works, but the image does not come up. I tried to change the image' s location, but it didn't work again.