Skip to main content

Tutorials19

Tutorials and resources researched and developed by DD9, broadcast for the good of all mankind.

Git Primer DesignTutorialsWeb Development

Git Primer

What is git? Git is an application for distributed version control. It’s version control because it lets you deftly create and manage versions of your files, and it’s distributed because there is no server. What is a git repository? A git repository is a collection of files that git is…
Taavo
July 5, 2012
Attaching .docx files via PHP 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