0 LIKES LikeUnLike
How do I display images with Perl CGI? I'm using the script below, but it's not working. When it is just the word "TEST" it is OK, but once I add the "<IMG SRC= . . . " it breaks.Also, using the path below (substituting the actual site name) will display the image in a browser.Help! What am I doing wrong??!==========#!/usr/local/bin/perl -wTuse strict;use integer;use DBI;print "Content-type: text/html\n\n";print "TEST<p><IMG SRC="http://www.sitename.com/images/1.gif">";
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.