|
|||||||
Join now to share free website templates or post on the forum. If you have never been on a forum before read the
FAQ. It's quick, easy and free to join!
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
An unfortunate behavior of IE6 & IE7 is that it assigns content type image/pjpeg (progressive jpeg) to all jpeg images it uploads. If you want you could implement sniffing of the file info, then You could maintain your own mime-types file and append them to the Apache mime-types in your script (assuming you are reading them into an array or something).
Another option is to simply read the first five characters of the type to see if it is an imageif (substr($_FILES['field_name']['type'], 0, 5) == 'image')) {and use the existing extension moded. Or just leave as is, 99.9 % of the time it works ok. TVs and LCD have either progressive scan or interlaced scans, which pertains to software and displays. There are two camps here which gets down to speed of rendering. It made a difference in the old days and now only to serious gammers and high end graphics people.
__________________
Consultant - Programmer - WebMaster cleandeck - lawn mower undercoating wilmargraphite - graphite lubricants |
![]() |
| Thread Tools | |
| Display Modes | |
|
|