--------------01-05--------------------
*
* Îļþ²Ù×÷
*
---------------------------------------
¶ÁÈ¡Õû¸öÎļþ: readfile(), fpassthru(), file()
¶Áȡһ¸ö×Ö·û: fgetc()
¶ÁÈ¡ÈÎÒⳤ¶È: fread()
²é¿´ÎļþÊÇ·ñ´æÔÚ: file_exists()
È·¶¨Îļþ´óС: filesize()
ɾ³ýÒ»¸öÎļþ: unlink()
ÔÚÎļþÖж¨Î»: rewind(), fseek(), ftell()
ÎļþËø¶¨: flock()
--------------01-05--------------------
*
* Êý×é²Ù×÷
*
---------------------------------------
Ö¸¶¨·¶Î§Êý×é: range()
Êý×éÖµ¸³¸ø±äÁ¿: list()
·µ»ØÊý×éÖе±Ç°µÄ¼ü/Öµ¶Ô²¢½«Êý×éÖ¸ÕëÏòÇ°ÒÆ¶¯Ò»²½: each()
½«Êý×éµÄÄÚ²¿Ö¸ÕëÖ¸ÏòµÚÒ»¸öµ¥Ôª: reset()
Êý×éÅÅÐò: sort(), asort(), ksort()
Êý×é·´ÏòÅÅÐò: rsort(), arsort(), krsort()
Êý×é×Ô¶¨ÒåÅÅÐò: usort()
Êý×éËæ»úÅÅÐò: shuffle()
·µ»ØÒ»¸öµ¥ÔªË³ÐòÏà·´µÄÊý×é: array_reverse()
Êý×éÖÐËæ»úÈ¡³öÒ»¸ö»ò¶à¸öµ¥Ôª: array_rand()
²¥ÏÂËæ»úÊý·¢ÉúÆ÷ÖÖ×Ó: srand() // Àý: srand((float) microtime() * 10000000);
·Ö¸î×Ö·û´®: explode()
ÔÚÊý×éÖÐä¯ÀÀ: each(), current(), reset(), end(), next(), pos(), prev()
¶ÔÊý×éµÄÿһ¸öÔªËØÓ¦ÓÃÈκκ¯Êý: array_walk()
ͳ¼ÆÊý×éÔªËØ¸öÊý: count(), sizeof(), array_count_values()
Êý×éת»»³É±êÁ¿±äÁ¿: extract()
½«»Øµ÷º¯Êý×÷Óõ½¸ø¶¨Êý×éµÄµ¥ÔªÉÏ: array_map()
--------------01-07--------------------
*
* ×Ö·û´®¸ñʽ»¯
*
---------------------------------------
×Ö·û´®´¦Àí: chop(), ltrim(), trim()
HTML¸ñʽ»¯: nl2br()
´òÓ¡¸ñʽ»¯×Ö·û´®: sprintf(), printf(), vprintf(), vsprintf()
ת³É´óд×Ö·û: strtoupper()
ת³ÉСд×Ö·û: strtolower()
Ê××Ö·ûΪ´óд: ucfirst()
ÿ¸öÊ××Ö·ûΪ´óд: ucwords()
¸ñʽ»¯×Ö·û´®ÒÔ±ã´æ´¢: addslashes(), stripslashes()
·Ö¸î×Ö·û´®: explode(), strtok()
Á¬½Ó×Ö·û´®: implode(), join()
½ØÈ¡×Ó×Ö·û´®: substr()
×Ö·û´®ÅÅÐò: strcmp(), strcasecmp(), strnatcmp()
×Ö·û´®³¤¶È: strlen()
×Ö·û´®ÖвéÕÒ×Ö·û´®: strstr(), strchr(), strrchr(), stristr()
²éÕÒ×Ó×Ö·û´®Î»ÖÃ: strpos(), strrpos()
Ìæ»»×Ó×Ö·û
ÔÌûµØÖ·£ºhttp://www.zedwood.com/article/126/php-mail-function-with-attachments
This code sends an html formatted email with attachments. This email sending script actually sends both a plaintext and an html body of the email, allowing the email client to choose which to display. The plaintext emai ......