Hi all,
I have a problem when printing a simple html over cgi
in html i can get the image "test_logo.gif" displayed on the screen,
<html>
<body>
<a href=" src="test_logo.gif" alt="Test Logo"></a>
</body>
</html>
however in perl/cgi, the image can not be displayed,
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print <<EOF;
<html>
<body>
<a href=" src="test_logo.gif" alt="Test Logo"></a>
</body>
</html>
EOF
the path of the image is current path.
please point out what I did wrong. Thanks.
Regards!
I have a problem when printing a simple html over cgi
in html i can get the image "test_logo.gif" displayed on the screen,
<html>
<body>
<a href=" src="test_logo.gif" alt="Test Logo"></a>
</body>
</html>
however in perl/cgi, the image can not be displayed,
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print <<EOF;
<html>
<body>
<a href=" src="test_logo.gif" alt="Test Logo"></a>
</body>
</html>
EOF
the path of the image is current path.
please point out what I did wrong. Thanks.
Regards!