£Ûת£ÝPHP·ÖÒ³ÏÔʾÖÆ×÷Ïêϸ½²½â
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:ËÎÌå;
mso-font-kerning:1.0pt;}
h1
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
mso-outline-level:1;
font-size:24.0pt;
font-family:ËÎÌå;
mso-bidi-font-family:ËÎÌå;
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:ËÎÌå;
mso-bidi-font-family:ËÎÌå;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
PHP
·ÖÒ³ÏÔʾÖÆ×÷Ïêϸ½²½â
1
¡¢Ç°ÑÔ
·ÖÒ³
ÏÔ Ê¾ÊÇÒ»Öַdz£³£¼ûµÄä¯ÀÀºÍÏÔʾ´óÁ¿Êý¾ÝµÄ·½·¨£¬ÊôÓÚweb
±à³ÌÖÐ×î³£´¦ÀíµÄʼþÖ®Ò»¡£¶ÔÓÚweb
±à³ÌµÄÀÏÊÖÀ´Ëµ£¬±àдÕâÖÖ´úÂëʵÔÚÊǺͺôÎüÒ
Ïà¹ØÎĵµ£º
±àÂëÊǸöºÜ»ù´¡µÄÎÊÌ⣬ҲÊÇ´ó¼ÒºÜÈÝÒ׺öÂÔµÄÎÊÌ⣬д´úÂë֮ǰ¶à¶à¿¼ÂÇ£¬ÒÔºó»áÉٺܶàÂé·³¡£
PHP·¢Õ¹Á˲»ÉÙ£¬ÏÖÔÚpearÓÃÆðÀ´ºÜ·½±ã£¬ÆäÖоÍÓÐÏà¹ØµÄclassÀ´¶ÁÈ¡ExcelÎļþÀïÃæµÄÄÚÈÝ£¬Èç¹û²»ÏëʹÓÃpearµÄ»°£¬¿ÉÒÔ¿¼ÂÇʹÓÃexcel_class.php£¬googleһϣ¬¿ÉÒÔÕÒµ½Õâ¸öclassµÄsource codeÏÂÔØ£¬Ò²ÄÜÕÒµ½»ù±¾µÄexample c ......
http://www.111cn.net/phper/19/dd73e6624c92e49e7755d3b43719677d.htm
ºÜ¶àÍøÕ¾ÔÚÊ×Ò³ÉÏ×öһЩÁ´½Ó£¬ÈÃÓû§À´Ñ¡Ôñ½«Òª·ÃÎʵĸ÷×ÔµÄÓïÑÔÒ³Ã棬ÈÃÖйúÈËÑ¡Ôñ“ÖÐÎÄ”£¬º«¹úÈËÑ¡Ôñ“³¯ÏÊÓ¬µÈµÈ¡£ÄÇôÄܲ»ÄÜ×ö³ÌÐòÀ´×Ô¶¯°ïÖúÑ¡ÔñÄØ£¿
´ð°¸Êǿ϶¨µÄ£¬´ó¼Ò¶¼ÔÚÓÃgoogle£¬ÄãÓÃÖÐÎÄϵͳ´ò¿ªgoogleµÄÊ×Ò³ ......
Èç¹ûÄãʹÓÃÒ»Ãæ´ó¾µ×Ó×÷Ϊ³åÀË°å»á·¢Éúʲô£¿»òÐíÄã»áÔڽ϶̵Äʱ¼äÄÚÕ÷·þº£ÀË£¬µ«ÊÇÄã¿Ï¶¨´ÓÄÚÐÄÉî´¦Ã÷°×£¬Õâ²»ÊdzåÀ˵ÄÕýÈ·Ñ¡Ôñ¡£Í¬ÑùµÄµÀÀíÒ²ÊÊÓÃÓÚPHP±à³Ì£¬¾¡¹ÜÕâÑùµÄÀà±ÈÌýÆðÀ´ÓÐһЩ¹Å¹Ö¡£ÎÒÃǾ³£Ìýµ½ÓÐÈËÊÔͼÓÃÒ»¸öÖÜÄ©¶àµãµÄʱ¼äÀ´Ñ§»áPHP£¬µ«ÊÇÇëË¡ÎÒÖ±ÑÔ£¬ÕâÊÇѧϰÕâÃűà³ÌÓïÑÔµÄÒ»Öַdz£Ôã¸âµÄ·½Ê½¡£
ΪºÎ资 ......
(1) autoload»úÖƸÅÊö
ÔÚʹÓÃPHPµÄOOģʽ¿ª·¢ÏµÍ³Ê±£¬Í¨³£´ó¼ÒÏ°¹ßÉϽ«Ã¿¸öÀàµÄʵÏÖ¶¼´æ·ÅÔÚÒ»¸öµ¥¶ÀµÄÎļþÀÕâÑù»áºÜÈÝÒ×ʵÏÖ¶ÔÀà½øÐи´Óã¬Í¬Ê±½«À´Î¬»¤Ê±Ò²ºÜ±ãÀû¡£ÕâÒ²ÊÇOOÉè¼ÆµÄ»ù±¾Ë¼ÏëÖ®Ò»¡£ÔÚPHP5֮ǰ£¬Èç¹ûÐèҪʹÓÃÒ»¸öÀֻ࣬ÐèÒªÖ±½ÓʹÓÃinclude/require½«Æä°üº¬½øÀ´¼´¿É¡£ÏÂÃæÊÇÒ»¸öʵ¼ÊµÄÀý×Ó£º
CODE:
/* ......
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 ......