Skip Navigation LinksHome > Categories > Code from a Category

Sending files attachey



User Name: serfcompany
Name: Serf
Contact Me: www.datawebcoder.com
Home Page: www.datawebcoder.com
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: 1590
Add Date: 04/21/2012
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.

I wrote a class (or rather, to be honest - this is the standard solution to this problem.
You can find the same class at php.spb.ru. I did not copy it unchanged, but slightly reworked creatively.


So the source code of the class with comments:


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:
Details**:
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.