Skip Navigation LinksHome > Categories > Code from a Category

Sending a file attachment.

User Name: serfcompany
Name: Serf
Contact Me:
Home Page:
php,mysql,javascript,html,css. Preferable working with Zend Framework. Good know javascript. I worked with various, javascript frameworks such as(jquery, YUI3, extjs, sencha touch). [More]
Viewed Times: 1430
Add Date: 05/18/2012
This article describes the essence of the mechanism of sending files in a text message.

The essence of the mechanism of sending files in a text message is that the message consists of several parts, whose boundaries are designated a unique signature. It was she, and lets you put multiple files to the letter and do not mix the contents in the process of data transfer.

Here we describe the class (or rather, to be honest - this is the standard solution to this problem. You can find the same class at I did not copy it unchanged, but slightly reworked creatively.

So the source code of the class with comments:

Having laid this class in a separate file, you can use it anywhere.

Post a Comment

Name: (Optional)
Email: (Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.