Chris# Open the file: open (GIF, "/home/httpd/images/my_perl_gif.gif") || die "$!\n"; my ($image, $buff); while (read GIF, $buff, 1024) { $image.=$buff; } close GIF; # Now send the information to the browser: print "Content-Type: text/html\n\n"; print '<html><body>'; print "<img src='/images/my_perl_gif.gif' alt='My GIF'>"; print '</body></html>';
In reply to Re: display gif image
by ckohl1
in thread display gif image
by indapa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |