£Ûת£Ý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
±à³ÌµÄÀÏÊÖÀ´Ëµ£¬±àдÕâÖÖ´úÂëʵÔÚÊǺͺôÎüÒ
Ïà¹ØÎĵµ£º
£Ûת×Ô£Ýhttp://hi.baidu.com/xiamishule/blog/item/dea92c09ef9acc9e0b7b8236.html
Ô´´úÂ룺
PHP»ñÈ¡IPµÄ·½·¨ÓÐÐí¶àÖÖ£¬<br />½ñÌìÏò´ó¼Ò×ܽáÁËÁùÖÖ·½·¨¡£
<br />PHP»ñÈ¡IP·½·¨Ò»£º
<?php
function GetIP() {
if(!empty($_SERVER["HTTP_CLIENT_ ......
Èç¹ûÄãʹÓÃÒ»Ãæ´ó¾µ×Ó×÷Ϊ³åÀË°å»á·¢Éúʲô£¿»òÐíÄã»áÔڽ϶̵Äʱ¼äÄÚÕ÷·þº£ÀË£¬µ«ÊÇÄã¿Ï¶¨´ÓÄÚÐÄÉî´¦Ã÷°×£¬Õâ²»ÊdzåÀ˵ÄÕýÈ·Ñ¡Ôñ¡£Í¬ÑùµÄµÀÀíÒ²ÊÊÓÃÓÚPHP±à³Ì£¬¾¡¹ÜÕâÑùµÄÀà±ÈÌýÆðÀ´ÓÐһЩ¹Å¹Ö¡£ÎÒÃǾ³£Ìýµ½ÓÐÈËÊÔͼÓÃÒ»¸öÖÜÄ©¶àµãµÄʱ¼äÀ´Ñ§»áPHP£¬µ«ÊÇÇëË¡ÎÒÖ±ÑÔ£¬ÕâÊÇѧϰÕâÃűà³ÌÓïÑÔµÄÒ»Öַdz£Ôã¸âµÄ·½Ê½¡£
ΪºÎ资 ......
<?
class upload{
private $name; //$_FILES['file'][name]
private $type; //$_FILES['file'][type]
privat ......
(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 ......