upload weirdness in IE only
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61761
interpreted = N
texte = My logic...When a blogger posts a blog, they can upload a phototo appear at the end of that blog. To prevent thechance that 2 photos with the same filename ever getuploaded and one overwrites the other, I attach the"BlogID" to the photo filename at time of upload andwhen I write the filename to the database. I seem tohave enough issues with photos way too large so I'drather not check and inform of a possible filenameconflict and then force that issue on the blogger.Seems some of these bloggers aren't that tech savy,especially since they keep uploading images that areHUGE (darn digital cameras)Attaching the blogID to a filename solves anypotential filename conflict.I was staring at the code forever and could seenothing specifically wrong when I decided to do a testwith IE and FirefoxInternet Explorer seems to make the filename of anuploaded photo a bit screwy. (Duplicating the BlogID)All behaves a-ok in Firefox, which is way weird maybeI'm thinkin'With firefox the photo gets uploaded asFilename: 20050413185109-sl1.jpgWith Internet Explorer the photo gets uploaded asFilename: 20050413185325-20050413185325-sl2.jpgThe BlogID gets duped in IE Both ways everything is OK and pages and photos appearfine, but the duplicated blogid part is irritating tome and possibly might mean some bad code somewhere???Why only does this happen in Internet Explorer?????Parts of my Code:code within my blogpost.tpl page: