On Tue, 2010-01-26 at 07:33 +0800, Eric Lee wrote:

> On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp <ernie.k...@sympatico.ca> wrote:
> 
> >   Good Day,
> >
> >
> >
> >                 I’m having an issue with IE8, when I go to load a file the
> > program is not filling the $_FILES['user_file']['type']  .
> >
> >               When I display  “echo  "Start".$_FILES['pix']['type']."End";” 
> >  in IE8 I get “StartEnd” with nothing in between.  I expected “image/pjpeg".
> >
> >
> >
> >                     On FireFox I get “image/jpeg".
> >
> >
> >
> >                     Any suggestions?
> >
> > Thanks,
> >
> > ..../Ernie
> >
> >
> >
> >  I remember a setting from some elsewhere IE 8 was disable set file path
> > location
> > by default from the options dialog. Did you enabled this already ? If not,
> > you may give it a shoot to see than !
> >
> 
> > Hope this help
> >
> >
> > Eric,
> > Regards,
> >
> 
> >
> >
> >
> >
> >


But you won't be able to guarantee every IE8 user will do this, so you
shouldn't develop the app in such a way that it needs to use the value
in the array. Also, as I've said, there isn't much point relying on this
value for any reason anyway, as it doesn't guarantee the file is
actually of that type.

Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to