S
secSwami
I am messing around with cgi and perl. I have a cgi page test.cgi with
following code:
#!/usr/bin/perl
print "<html>
<head>
<title>TEST CAPTCHA IMAGE Verification</title>
</head>
<body>
<img src=\"/cgi-bin/test3.cgi\">
</body>
</html>";
As you can see I am calling test3.cgi as my image. Here is my code in
test3.cgi :
#!/usr/bin/perl
use CGI;
print header;
print "Content-type: image/gif\n\n";
print "<img src=\"/images/angry.gif\">";
When I try opening up test.cgi, I don't get ANY IMAGE outputted to my
browser.
Can anyone point me what is wrong with my script??
Thx in advance
following code:
#!/usr/bin/perl
print "<html>
<head>
<title>TEST CAPTCHA IMAGE Verification</title>
</head>
<body>
<img src=\"/cgi-bin/test3.cgi\">
</body>
</html>";
As you can see I am calling test3.cgi as my image. Here is my code in
test3.cgi :
#!/usr/bin/perl
use CGI;
print header;
print "Content-type: image/gif\n\n";
print "<img src=\"/images/angry.gif\">";
When I try opening up test.cgi, I don't get ANY IMAGE outputted to my
browser.
Can anyone point me what is wrong with my script??
Thx in advance