Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PHP×ÔѧÈÕ¼Ç


--------------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()
Ìæ»»×Ó×Ö·û


Ïà¹ØÎĵµ£º

PHP mail Function With Attachments

Ô­ÌûµØÖ·£º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 ......

PHP¿ª·¢¿ò¼Ü½éÉÜ

http://www.juqng.com/articles/php/php-kai-fa-kuang-jia-jie-shao/
PHP¿ª·¢¿ò¼Ü½éÉÜ
×÷Õß: juqng.com
2009-12-08
phpÊǷdz£Á÷ÐеĿªÔ´Ãâ·ÑÓïÑÔ£¬ËüµÄ¿ª·¢¿ò¼ÜÒ²ÊǷdz£¶àµÄ£¬ÕâÀï½éÉÜһЩÓÅÐãµÄPHP¿ª·¢¿ò¼Ü¡£
CodeIgniter
ÊÇÒ»¸öÇ¿´óµÄPHPÓëÌå»ý·Ç³£Ð¡µÄ¡£ÎªPHP³ÌÐòÔ±£¬Ìṩһ¸ö¼òµ¥¶øÓÅÑÅ´´½ ......

php soap³õʶ

´ò¿ªphp.iniµÄsoapÀ©Õ¹
server.php
<?php
class math{

/**
* ¼Ó·¨
*
* @param integer $a
* @param integer $b
* @return integer
*
*/
public function add($a, $b){

return $a + $b;
}
}
$server = new SoapServer('http://localhost/math.wsdl',array('soap_version' =& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ