Hi Eric,

> print("Content-type:  Image/jpg\n\n");

Are you sure that's the correct content-type? I've seen jpg written out as 
jpeg which may be how your Apache's MIME types are setup.

Also have you tried to view the source of the page that gets sent? That 
may be interesting to see what's being sent. Another thing to check are 
your server's error logs. You could add some error checking to your code 
to help. Instead of 
 
> open(INFILE, "<C:\Apache2\computer2G0.jpg");

use the following:

my $file = 'c:\Apache2\computer2G0.jpg';
open(INFILE, "<$file") or die "Unable to open $file: $!";

The double quotes around that filename with backslashes may be causing you 
problems as well.

Good luck,
William

-- 
 Lead Developer
 Knowmad Services Inc. || Internet Applications & Database Integration
 http://www.knowmad.com
 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to