Creating emails with attachments in PHP

Yesterday I was trying to create form that would upload a file to the server. PHP script would then accept it and send it as an attachment to an email address. In order to attach a file I had to add multipart/mixed type headers. Upload worked just fine, but making multipart email to work was a bit of a trouble. Email would be successfuly sent and received but no content or attachment would appear in an email client (I use Opera’s inbuilt client). I looked at headers and everything was there: message, base64 encoded data but still nothing was showing in the email body. Read the rest of this entry »

Recommended DTDs to use in your Web document

http://www.w3.org/QA/2002/04/valid-dtd-list.html

Uploading files to the server (php)

Simple upload handing script.

Note: ths script does not cover security issues

http://www.tizag.com/phpT/fileupload.php

Powered by ScribeFire.

Sending MIME e-mail in PHP

An excellent article consisting of 5 parts. It explains in very readerfriendly format what is and how to use MIME types for creation of emails using php. The article explains content types, attachments and finaly presents a php class for creation of multipart emails. Read the rest of this entry »

Usable XMLHttpRequest in Practice article

http://www.baekdal.com/articles/Usability/usable-XMLHttpRequest/

Article that on exmaples shows criteria for a usable AJAX form. http://www.baekdal.com is generally a cool blog with a lot of useful info for every web designer/developer

Cross-Site Attacks article

http://shiflett.org/articles/foiling-cross-site-attacks