--- akash agrawal <[EMAIL PROTECTED]> wrote:
> I have to support both IE and Firefox so can't use just one browser.

I was kidding.

> Yes, I can do some processing on the server side and handle image/pjpeg and
> image/jpeg as same and image/x-png and image/png as same but would prefer
> not to as decoding these images requires different decoders and may get
> into some trouble down the road.

I don't know what you're doing with the files that they need decoding anyway,
but it probably doesn't matter. If you're that concerned then you'll probably
need to sniff the file yourself to determine the content type. Searching the
web may give you some leads on what libraries are available.

I don't know of a way to control what the browser sends as an upload content
type; each browser sniffs the files differently, but someone else may have
some ideas.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to