Hello,

> ------------------------------------------------
> remaining not help, in my
> ie6-xp I still can not see that picture it still is small red cross.
>
> if you do have experience and pretty sure the code is no wrong, then it
> probably is httpd of apache's problem

No, this is not a problem with Apache.  In my Apache mime.types file, you
find this line:

image/jpeg                      jpeg jpg jpe

Which means that your code is wrong, not the apache httpd server.

You must fix

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

To say

> print("Content-type:  image/jpeg\n\n");

> but thanks your help anyway,
>
> and hope to see more hints on this
> -----------------------
>
>  binmode( INFILE  );
> -----------------------

This method arranges for the file handle to be treated as a binary file (as
opposed to a text file) for operating systems with distinguish between the
two.

>
> >
> > > my $img = <INFILE>;
> > > close(INFILE);
> >
> > > #binmode STDOUT;
> >
> > > print $img;
> > > exit;
> >
> > I think that's what you want though I cannot test it at the moment.
> >
> > -cm
> >
> >
>
> Sincere Eric
> www.linuxspice.com
> linux/window pc for sale
>
> ---------------------------------------------------------------------
> Web Archive:  http://www.mail-archive.com/[email protected]/
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Cory Trese
Lead Web Application Developer

O'NEIL & ASSOCIATES, INC.
495 Byers Rd.
Miamisburg, Ohio 45342-3662
Phone: (937) 865-0800 ext. 3038
Fax: (937) 865-5858
E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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