Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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”, ......

php Mod rewrite test

In the directory where you plan to install Elgg, do the following:
Create the file .htaccess and add these two lines
RewriteEngine on
RewriteRule ^testing.php$ modrewrite.php
This tells the webserver to load modrewrite.php when testing.php is
requested.
In order to get this test to work on ......

phpÏÂͨ¹ýxml_parse½âÎöxmlÎļþ

xml_parse½âÎöxmlÎļþʱºò£¬
ºÜÓпÉÄܲ»½ö½öµ÷ÓÃÒ»´Îcharacter_handler¡£
ËùÒÔÔÚ»ñµÃxml½ÚµãµÄÎı¾ÐÅÏ¢µÄʱºò£¬ÒªÓÃÁ¬½ÓÔËËã".="¡£
²Î¿¼ http://jp2.php.net/manual/ro/function.xml-set-character-data-handler.php
ken at positive-edge dot com
30-Jan-2002
01:20
the function handler is called ......

phpÕýÔòȡǶÌ×html±êÇ©

<?php
$s = <<<html
<html>
<head>
<title>nested tag test</title>
<mce:script type="text/javascript"><!--
alert('fdsafdasfasd');
// --></mce:script>
</head>
<body>
<div id=0>
<div id=1><img name="im ......

php ÕýÔò±í´ïʽ htmlÖеĻسµ

//»Ø³µ£º[\n\r\t]
$reg="|typeid=\"(.*)\" onsel.*[\n\r\t]*<a href="\" mce_href="\""#\">(.*)</a>|";
preg_match_all ($reg,
$html,
$out, PREG_PATTERN_ORDER);
foreach ($out as $value){
foreach ($value as $value2){
if(strlen($value2)<20)
echo ($value2."<br>");
}
} ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ