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

PHPͼ±íÖÆ×÷¹¤¾ß¼¯

ת×Ô£ºhttp://nedvedheqing.javaeye.com/blog/383506
1. PHPÀ©Õ¹
JpGraph£ºhttp://www.aditus.nu/jpgraph/
ChartDirector£ºhttp://www.advsofteng.com/
2. JavaScript
Flot (http://code.google.com/p/flot/
) - Flot Ϊ jQuery ÌṩµÄjavascript´úÂë¿â. ÈÝÒ×ʹÓã¬ÓÐÌØÉ«µÄͼ±í£¬Ìṩ½»»¥¹¦ÄÜ(Äܹ»·Å´óËõСÊý¾ÝÇøÓòµÈ)¡£
Flotr (http://solutoire.com/flotr/
) - Flotr ÊÇPrototype 1.6.0.2¿ò¼ÜµÄjavascript²å¼þ¿â¡£ Flotr°ïÖúÄãÔÚä¯ÀÀÆ÷Öд´½¨Í¼±í£¬Ö§³ÖÊó±êʼþÏìÓ¦£¬·Å´óËõС£¬CSSÀàÐÍÖ§³ÖµÈ¡£
Emprise JavaScript Charts (http://www.ejschart.com/
) - Emprise ÊÇÒ»¸ö100% ´¿ JavaScript ͼ±í½â¾ö·½°¸£¬²¢²»ÐèÒªÈκΠJavaScript ¿ò¼Ü.
PlotKit (http://www.liquidx.net/plotkit/
) - PlotKit ÊÇÒ»¸ö ͼ±íºÍͼÏñµÄJavascript ¿â. PlotKit ºÍ MochiKit javascript ¿âÒ»Æð¹¤×÷£¬Ö§³ÖHTML Canvas ºÍ Adobe SVG ÏÔʾ ÒÔ¼°±¾µØä¯ÀÀÆ÷Ö§³Ö¡£ÓÈÆäÎĵµ·Ç³£È«¡£
3. Flash
Open Flash Chart (http://teethgrinder.co.uk/open-flash-chart/
) - Open Flash Chart ÊÇÒ»¸ö Flash ͼ±í×é¼þ£¬ºÜÈÝÒ×°²×°£¬ÌṩÒÔÏÂÓïÑÔµÄAPI£º PHP, Perl, Python, Java, Ruby on Rails, and .Net À´¿ØÖÆͼ±í¡£
AmCharts (http://www.amcharts.com/
) - AmCharts ÊÇÒ»¸ö¶¯»­½»»¥Flashͼ±í¡£Ö§³Ö£º Pie Charts, Line Charts, Scatter/Bubble Charts, Bar/Column Charts, ÉõÖÁ¹ÉƱͼ±í¡£
PHP/SWF Charts (http://www.maani.us/charts/index.php
)
- PHP/SWF ÊÇÒ»¸ö¼òµ¥Ö§³Öwebͼ±íµÄÇ¿´ó¹¤¾ß£¬ÄãÄÜʹÓà PHP À´ÊÕ¼¯Êý¾Ý£¬²¢·¢Ë͸øflash£¬Ö§³ÖºÜ¶àͼ±íÀàÐÍ£º Line,
Column, Stacked column, Floating column, 3D column, Stacked 3D column,
Parallel 3D column, Pie, 3D Pie, Bar, Stacked bar, Floating bar, Area,
Stacked area, Candlestick, Scatter, Polar, Mixed.  
FusionCharts (http://www.fusioncharts.com/Free/
)
- FusionCharts ÊÇÒ»¸ö¿çä¯ÀÀÆ÷ºÍ¿çƽ̨µÄflashͼ±í×é¼þ£¬Äܹ»±» ASP.NET, ASP, PHP, JSP,
ColdFusion, Ruby on Rails, ¼òµ¥ HTML Ò³Ãæ ÉõÖÁPPTµ÷ÓÃ. ¼¸ºõËùÓÐÄãÖªµÀµÄÓïÑÔËü¶¼Ö§³Ö¡£
4. ÆäËû
Visifire (http://www.visifire.com/
)
- Visifire ÊÇÓà Silverlight ×öµÄ£¬ÊÇÒ»¸ö¿ªÔ´¿ÉÊÓ»¯Êý¾Ý×é¼þ£¬Ê¹ÓÃVisifireÄãÄÜ´´½¨¶¯»­ Silverlight
ͼ±í£¬Ö§³Ö ASP, ASP.Net, PHP, JSP, ColdFusion, Ruby on Rails »òÕ


Ïà¹ØÎĵµ£º

ÈçºÎÔÚPHPÖд´½¨Êý×é

Ô­ÎÄÁ´½Ó£ºhttp://www.phpdo.net/index.php/20100409/54.html
ÈçºÎÔÚPHPÖд´½¨Êý×éÄØ£¿
ÔÚPHPÖÐʹÓÃarrayº¯ÊýÀ´´´½¨Ò»¸öÊý×飬ËüÔÊÐíÒ»¶¨ÊýÁ¿ÓöººÅkey=>value²ÎÊý¡£Key¿ÉÒÔÊÇinteger»òÕßstringÀàÐÍ£¬value¿ÉÒÔÊÇÈκÎÖµ¡£
ÀýÈ磺
 <?php
 $array = array(“php1″=>”phpdo”, ......

½« Apache ¼° PHP µÄ°æ±¾Òþ²Ø

µ¼¶Á£º ¡¡
¡¡Apache: ¡¡
¡¡¿ªÆô httpd.conf£¬¼ÓÈëÒÔÏÂÁ½ÐÐ: ¡¡
¡¡QUOTE: ¡¡
¡¡ServerTokens ProductOnly ¡¡
¡¡ServerSignature Off ¡¡
¡¡PHP: ¡¡
¡¡Òþ²Ø PHP °æ±¾¾ÍÊÇÒþ²Ø "X-Powered-By: PHP/5.1.2-1+b1" Õâ¸ö£¬¿ªÆô php.ini£¬¼ÓÈë: ¡¡
¡¡QUOTE: ¡¡
¡¡expose_php = Off ¡¡
¡¡Apache ½ûֹĿ¼ä¯ÀÀ: ¡¡
¡¡½ûֹĿ ......

PHP»ñÈ¡MSNºÃÓÑÁбíÀà

<?php
/********************************************************************
*   FileName: class.msn.php
*   by changwei, 2010-4-13
*   Contact MSN:  changwei0112@hotmail.com
*    »ñÈ¡MSNºÃÓÑEmailÁбí 

========================== ......

PHP ÕýÔò±í´ïʽ²éÕÒ×Ö·û´®

<?php
set_time_limit(0);
$url='http://item.taobao.com/auction/item_detail.htm?xid=0db2&item_num_id=4512430274&cm_cat=50000671&pm2=1';
$ch = curl_init();
$timeout = 10;
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CU ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ