Hello Connie, Thanks for your reply.....
Here is the code, when i am executing this code in the browser, it prompts "The browser contains no data." I followed your suggestion to put \r\n\r\n in the print content-type line and nothings happen, still the same, no image is displayed. Thanks for helping a newbie in perl...... Cheers! ------------------------------------------------------------------ #!/usr/bin/perl my $filepath="mypicture.jpg"; open(IMAGE, $filepath) || die "Error reading File"; binmode(IMAGE); binmode(STDOUT); print "Content-type: image/jpeg\r\n\r\n"; while(<IMAGE>){ print; } Connie Chan <[EMAIL PROTECTED]> wrote in message 000b01c24536$415c1720$[EMAIL PROTECTED]">news:000b01c24536$415c1720$[EMAIL PROTECTED]... > Yes, you forgot to post your code =) > > Rgds, > Connie > > ----- Original Message ----- > From: "Archie" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, August 16, 2002 9:11 PM > Subject: Re: Help!! Retrieving Image File > > > > Thanks 4 replying Connie, but it didn't work..... > > > > i already did binmode STDOUT, > > > > and tried this print "Content-type: image/jpeg\r\n\r\n"; as advise. > > > > i just hope some1 here can remind me what else i forgot to do. > > > > thanks... > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]