in reply to Error reading image from perl cgi script into HTML
HTTP is a simple protocol, and printing "text text text text" after you say that what's coming is an "image" of type "jpeg", doesn't sit well with any HTTP compliant application.
print $co->header(-type=>'image/jpeg'),$imagedata; If you wish to speak HTTP, you have to know how to speak HTTP.
____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.
|
|---|