When trying to upload images using fileupload PC IE and Mac IE pass different values. I have 3 upload fields, lets say im just uploading 1 image this time.
<INPUT type="file" name="ProductImage1" accept="image/jpeg,image/jpeg,image/gif"> <INPUT type="file" name="ProductImage1tn" accept="image/jpeg,image/jpeg,image/gif"> <INPUT type="file" name="ProductImage1zm" accept="image/jpeg,image/jpeg,image/gif"> On a PC with IE 6.0 What is passed is: FORM.PRODUCTIMAGE1= FORM.PRODUCTIMAGE1TN=C:\WINNT\TEMP\ACF634C.tmp FORM.PRODUCTIMAGE1ZM= On a Mac with IE 5.x I get the following. Even though only 1 image has really been uploaded. FORM.PRODUCTIMAGE1=C:\WINNT\TEMP\ACF5EB5.tmp FORM.PRODUCTIMAGE1TN=C:\WINNT\TEMP\ACF5EB5.tmp FORM.PRODUCTIMAGE1ZM=C:\WINNT\TEMP\ACF5EB5.tmp Usually you could just check to make sure there is a length such as <cfif len(trim(form.productImage)> But this will result in true for the Mac. And of course when you try and <cffile action="upload"..... the image is not there so it crashes. Any ideas on how to on how to gracefullly prevent this? Thanks Ryan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

