PHPÀà¿âÊÕ¼¯
ͼ±í¿â
ÏÂÃæµÄÀà¿â¿ÉÒÔÈÃÄãºÜ¼òµÄ´´½¨¸´ÔÓµÄͼ±íºÍͼƬ¡£µ±È»£¬ËüÃÇÐèÒªGD¿âµÄÖ§³Ö¡£
pChart - Ò»¸ö¿ÉÒÔ´´½¨Í³¼ÆͼµÄ¿â¡£
Libchart - ÕâÒ²ÊÇÒ»¸ö¼òµ¥µÄͳ¼Æͼ¿â¡£
JpGraph - Ò»¸öÃæÏò¶ÔÏóµÄͼƬ´´½¨Àà¡£
Open Flash Chart - ÕâÊÇÒ»¸ö»ùÓÚFlashµÄͳ¼Æͼ¡£
RSS ½âÎö
½âÊÍRSS²¢ÊÇÒ»¼þºÜµ¥µ÷µÄÊÂÇ飬²»¹ýÐÒºÃÄãÓÐÏÂÃæµÄÀà¿â¿ÉÒÔ°ïÖúÄã·½±ãµØ¶ÁÈ¡RSSµÄFeed¡£
MagpieRSS - ¿ªÔ´µÄPHP°æRSS½âÎöÆ÷£¬¾Ý˵¹¦ÄÜÇ¿´ó£¬Î´ÑéÖ¤¡£
SimplePie - ÕâÊÇÒ»¸ö·Ç³£¿ìËÙ£¬¶øÇÒÒ×ÓõÄRSSºÍAtom ½âÎö¿â¡£
ËõÂÔͼÉú³É
phpThumb - ¹¦ÄܺÜÇ¿´ó£¬ÈçºÎÇ¿´ó»¹ÊÇ×Ô¼ºÈ¥Ìå»á°É¡£
Ö§¸¶
ÄãµÄÍøÕ¾ÐèÒª´¦ÀíÖ§¸¶·½ÃæµÄÊÂÇ飿ÐèÒªÒ»¸öºÍÖ§¸¶Íø¹ØµÄ³ÌÐò£¿ÏÂÃæÕâ¸ö³ÌÐò¿ÉÒÔ°ïµ½Äã¡£
PHP Payment Library - Ö§³ÖPaypal, Authorize.netºÍ2Checkout (2CO)
OpenID
PHP-OpenID - Ö§³ÖOpenIDµÄÒ»¸öPHP¿â¡£OpenIDÊÇ°ïÖúÄãʹÓÃÏàͬµÄÓû§ÃûºÍ¿ÚÁîµÇ¼²»Í¬µÄÍøÕ¾µÄÒ»ÖÖ½â¾ö·½°¸¡£Èç¹ûÄã¶ÔOpenID²»ÊìϤµÄ»°£¬Äã¿ÉÒÔµ½ÕâÀï¿´¿´£ºhttp://openid.net.cn/
Êý¾ÝΪ³éÏó/¶ÔÏó¹ØϵӳÉäORM
ADOdb - Êý¾Ý¿â³éÏó
Doctrine - ¶ÔÏó¹ØϵӳÉäObject relational mapper (ORM)£¬ÐèÒª PHP 5.2.3+ °æ±¾£¬Ò»¸ö·Ç³£Ç¿´óµÄdatabase abstraction layer (DBAL).
Propel - ¶ÔÏó¹ØϵӳÉä¿ò¼Ü- PHP5
Outlet - Ò²ÊǹØÓÚ¶ÔÏó¹ØϵӳÉäµÄÒ»¸ö¹¤¾ß¡£
×¢£º¶ÔÏó¹ØϵӳÉ䣨Object Relational Mapping£¬¼ò³ÆORM£©ÊÇÒ»ÖÖΪÁ˽â¾öÃæÏò¶ÔÏóÓë¹ØϵÊý¾Ý¿â´æÔڵĻ¥²»Æ¥ÅäµÄÏÖÏóµÄ¼¼Êõ¡£ ¼òµ¥µÄ˵£¬ORMÊÇͨ¹ýʹÓÃÃèÊö¶ÔÏóºÍÊý¾Ý¿âÖ®¼äÓ³ÉäµÄÔªÊý¾Ý£¬½«³ÌÐòÖеĶÔÏó×Ô¶¯³Ö¾Ã»¯µ½¹ØϵÊý¾Ý¿âÖС£±¾ÖÊÉϾÍÊǽ«Êý¾Ý´ÓÒ»ÖÖÐÎʽת»»µ½ÁíÍâÒ»ÖÖÐΠʽ¡£ ÕâҲͬʱ°µÊ¾Õ߶îÍâµÄÖ´ÐпªÏú£»È»¶ø£¬Èç¹ûORM×÷ΪһÖÖÖмä¼þʵÏÖ£¬Ôò»áÓкܶà»ú»á×öÓÅ»¯£¬¶øÕâЩÔÚÊÖдµÄ³Ö¾Ã²ã²¢²»´æÔÚ¡£ ¸üÖØÒªµÄÊÇÓÃÓÚ¿ØÖÆת»»µÄÔªÊý¾ÝÐèÒªÌṩºÍ¹ÜÀí£»µ«ÊÇͬÑù£¬ÕâЩ»¨·ÑÒª±Èά»¤ÊÖдµÄ·½°¸ÒªÉÙ£»¶øÇÒ¾ÍËãÊÇ×ñÊØODMG¹æ·¶µÄ¶ÔÏóÊý¾Ý¿âÒÀÈ»ÐèÒªÀ༶±ðµÄÔª Êý¾Ý¡£
PDF Éú³ÉÆ÷
FPDF - ÕâÁ¿Ò»¸ö¿ÉÒÔÈÃÄãÉú³ÉPDFµÄ´¿PHPÀà¿â¡£
Excel Ïà¹Ø
ÄãµÄÕ¾µãÐèÒªÉú³ÉExcel£¿Ã»ÓÐÎÊÌ⣬ÏÂÃæÕâÁ½¸öÀà¿â¿ÉÒÔÈÃÄãÇáËÉ×öµ½ÕâÒ»µã¡£
php-excel - ÕâÊÇÒ»¸ö·Ç³£¼òµ¥µÄExcelÎļþÉú³ÉÀà¡£
PHP Excel Reader - ¿ÉÒÔ½âÎö²¢¶ÁÈ¡XLSÎļþÖеÄÊý¾Ý¡£
E-Mail Ïà¹Ø
²»Ï²»¶PHPµÄmailº¯Êý£¿¾õµÃ²»¹»Ç¿´ó£¿Ï
Ïà¹ØÎĵµ£º
´ò¿ª httpd.conf Îļþ ¼ÓÈëÒÔÏÂÅäÖÃ
ÒÔphpÄ£¿éÅäÖÃapache2.2.x
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL by hooyes
PHPIniDir "D:/php-5.2.6-Win32/"
LoadFile D:/php-5.2.6-Win32/php5ts.dll
LoadFile D:/php-5.2.6-Win32/li ......
ÎãÓ¹ÖÃÒÉ£¬PHPÊÇÒ»Öַdz£°ôµÄ¶¯Ì¬ÍøÒ³ÖÆ×÷ÓïÑÔ£¬ËûºÍCµÄ¼«¸ßÏàËÆÐÔ£¬Ê¹µÃËüµÄÓ﷨ѧÆðÀ´
ºÜÈÝÒ×£¬ËûÓкܶàÀàËÆCÓïÑԿ⺯ÊýµÄ¶«Î÷£¬»¹ÓÐÏñÈÕÆÚ£¬×Ö·û´®ºÍʱ¼äº¯ÊýµÈ£¬ÕâʹµÃËüºÜÈÝ
Ò׿ª·¢Ï൱¸´ÔÓµÄÓ¦ÓóÌÐò¡£
µ±PHPÓ¦Óõ½¹Ø¼üwebÕ¾µãÉÏ£¬ÈçºÎ±£Ö¤ÖÊÁ¿½«»á±äµÃºÜ¹Ø¼ü¡£È»¶ø£¬PHP²¢²»ÊÇÒ» ......
<?php
/**
by lenush;
*/
class Tree
{
var $data = array();
var $child = array(-1=>array());
var $layer = array(-1=>-1);
var $parent &nbs ......
<?php
$array[] = array("id"=>20,"name"=>"li");
$array[] = array("id"=>21,"name"=>"ai");
$array[] = array("id"=>20,"name"=>"ci");
$array[] = array("id"=>22,"name"=>"di");
foreach ($array as $key=>$value){
$age[$key] = $value['id'];
}
array_ ......
ÎÒÏÖÔÚÓÐÕâÑùÒ»¸öÐèÇ󣬻òÐí×öc++³ÌÐòµÄ×ö¹ýÕâÑùµÄÍæÒâ¶ù£¬ÎÒÏÖÔÚÏëÓÃphpÀ´ÊµÏÖ£¬´ÓûÅöµ½ÕâÑùµÄÇé¿ö£¬ËùÒÔÓеãã¡£»¹Çë¸ßÈËÖ¸µãŶ£¬²»Ê¤¸Ð¼¤£¬Çë²é¿´ÎÒÉÏ´«µÄ½Øͼ£¬¸´ÖƹýÀ´£¬ÑùʽÂÒÁË¡£
ÃèÊöÒ»ÏÂÐèÇó°É£º¾ÍÊÇÔÚÎı¾ÀïÃæÓÃÖƱí·û»³ö±í¸ñÊ ......