Skip to main content

Debugging2

Bug hunting, search and destroy, the end to the ghost in the machine.

DebuggingTutorialsWeb Development

Attaching .docx files via PHP

Interesting bug today: A client's web form takes file uploads and forwards them as email attachments. Script works great for .doc files, but .docx files end up as mysterious attachments with filenames like ATT00010.txt, whose content starts with this: application/vnd.openxmlformats-officedocument.wordprocessingml.document; name="filename.docx" Content-Disposition: attachment; filename="filename.docx" Content-Transfer-Encoding: base64 This "header" is followed…
Taavo
June 21, 2011
DebuggingTutorialsWeb Development

IE9 Disappearing Content Bug

After installing Internet Explorer 9, I began cross-browser testing the DesignDivine sites.  IE9 destroyed the layouts of at least a half of our websites with no discernible or obvious patterns.  Large content areas were missing from new and old sites alike.  Each of these sites was compatible with IE6, IE7,…
Todd Dumas
May 22, 2011