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

ÓÃPHPʵÏÖ¼òµ¥µÄ·´Ïò×î´óÆ¥ÅäÖÐÎÄ·Ö´Ê£¨´úÂ룩

ÀàÎļþwordsplit.class.php£º
<?php
/********************************************************************
* DirCMSÖÐÎÄ·Ö´ÊÀà beta 1.0
* ---------------------------
* begin : 2010-5-11 beta 1.0
* update : 2010-5-11 beta 1.0
* copyright : (C) 2009 DirCMS
* email : uuturn@126.com
* author : ĺìΰ M QQ:251171960
* algorithm : ·´Ïò×î´óÆ¥ÅäËã·¨ ¡¾×¢Ò⣺±¾ÎļþÐè±£´æΪUTF-8¸ñʽ¡¿
*
* $Id: wordsplit.class.php,v 1.0.0 2010-5-11 9:14:01 M Exp $
********************************************************************/
class wordsplit
{
public $dicloadtime; // ´ÊµäÔØÈëʱ¼ä
public $splitwordstime; // ·Ö´Êʱ¼ä
private $starttime; // ·Ö´Ê¿ªÊ¼Ê±¼ä
private $splitchar=' '; // Çиî·û£¬Ä¬ÈÏΪ¿Õ¸ñ
private $wordsdic=array(); // ´Ê¿â£¨Îª¼üֵΪ´Ê£¬ÖµÎª´ÊƵµÄÊý×飩 ±¾·Ö´ÎÉÐδÓõ½´ÊƵ
private $cnnumber='£°|£±|£²|£³|£´|£µ|£¶|£·|£¸|£¹|£«|£­|£¥|£®|£á|£â|£ã|£ä|£å|£æ|£ç|£è|£é|£ê|£ë|£ì|£í|£î|£ï|£ð|£ñ|£ò|£ó|£ô|£õ|£ö|£÷|£ø|£ù|£ú|£Á|£Â|£Ã|£Ä|£Å|£Æ|£Ç|£È|£É|£Ê|£Ë|£Ì|£Í|£Î|£Ï|£Ð|£Ñ|£Ò|£Ó|£Ô|£Õ|£Ö|£×|£Ø|£Ù|£Ú'; // ÖÐÎÄÈ«½Ç×Öĸ£¬Êý×Ö
private $punctuation= array('\r','\n','\t','`','~','!','@','#','$','%','^','&','*','(',')','-','_','+','=','|','\\','\'','"',';',':','/','?','.','>',',','<','[','{',']','}','·','¡«','£¡','£À','££','£¤','£¥','……','£¦','×','£¨','£©','£­','——','£½','£«','£Ü','£ü','¡¾','£û','¡¿','£ý','‘','“','”','£»','£º','¡¢','£¿','¡£','¡·','£¬','¡¶',' ','¡¡'); // ±êµã·ûºÅ
private $trimchars=array("¡ø","¡÷","▼","▽","¡ï","¡î","¡ô","¡ó","¡ö","¡õ","¡ñ","¡ð","¡Ñ","㊣","¡ò","▂","▁","▃","▄","▅","▆","▇","█","▏","▎","▍","▌","▋","▊","◢","◣","◥","◤","¡ø","▼","¡â","¡á","卍","¡ù");
private $resultstr=array(); //·Ö´Ê½á¹û×Ö


Ïà¹ØÎĵµ£º

tommy frameworkÒ»¸ö ¼òµ¥Ò×ÓÃÒ×ÓÚÀ©Õ¹µÄphp¿ò¼Ü

 
PHP×÷ΪÓŵãºÍȱµã¶¼·Ç³£Í»³öµÄ±à³ÌÓïÑÔ£¬ÊÇ·ñÍƳçʹÓÿò¼Ü£¬ÖÁ½ñÈÔ´æÓÐÒìÒ顣Ȼ¶øÔÚÕâ¸ö×·Çó¾­¼ÃЧÒæ×î´ó»¯µÄ½ñÌ죬½µµÍÈí¼þ¿ª·¢³É±¾£¬Ëõ¶Ì¿ª·¢Ê±¼ä£¬ÒѳÉΪ±ØȻ֮ÊÆ£¬PHP³ÌÐò¿ª·¢Ê¹Óÿò¼ÜÒ²¾Í˳Àí³ÉÕ¡£
     ÁзòÍжû˹̩Ôø˵£º“ÐÒ¸£µÄ¼ÒÍ¥ÊÇÏàËƵģ¬²»ÐҵļÒÍ¥¸÷Óи÷µÄ²»ÐÒ”¡ ......

´ÓȨÏÞÈëÊÖ½â¾öIIS+PHP»·¾³¹ÊÕÏ(ͼ)

ÔÚIIS»ù´¡ÉϽ¨Á¢PHP»·¾³×Ü»á³öÏÖÕâÑù»òÄÇÑùµÄÎÊÌ⣬ºÜ¶àÎÊÌⶼ±È½ÏÄѽâ¾ö£¬±ÊÕß×î½üÔÚ½¨Á¢IISÏÂPHP»·¾³Ê±¾ÍÓöµ½Á˳öÏÖ·ÃÎʳö´íµÄÎÊÌ⣬ËùÓÐphpÒ³ÃæÎļþÎÞ·¨Õý³£ÏÔʾ³öÀ´£¬¶øASP»¹ÓÐHTML¾²Ì¬Ò³ÃæÄܹ»Ë³Àû·ÃÎÊ¡£ÏÂÃæ¾ÍÇë¸÷λIT168µÄ¶ÁÕßËæÎÒÒ»Æð´ÓȨÏÞÈëÊÖ½â¾öIIS+PHP»·¾³¹ÊÕÏ¡£
Ò»¡¢¹ÊÕÏÏÖÏó£º
    ±ÊÕß´î½ ......

µÚÒ»¸öphpÍøÕ¾µÄһЩÐĵúÍÌå»á

ÏÈ˵ÏÂÔÚ×öµÄ¹ý³ÌÖÐÓöµ½µÄһЩÎÊÌ⣬ÒÔ¼°½â¾öµÄ·½·¨°É
1.¹ØÓÚÊéд´íÎó
×ʼ×öµÄÊÇÒ»¸öµÇ½ģ¿é£¬ÔڵǽÑéÖ¤µÄʱºò£¬Ê¹ÓÃ$_POST½ÓÊյIJÎÊý£¬È»ºóÔÚÑéÖ¤µÄʱºò£¬È´ÔõôҲ½ÓÊÕ²»µ½ÕâÁ½¸öÖµ£¬ºóÀ´²Å·¢ÏÖ$_POSTд´íÁË£¬Ð´³É$POST  ÉÙ¸öÏ»®Ïߣ¬½á¹ûÎÞ·¨ÕýÈ·µÄÑéÖ¤£¬ºÜÊÇÓôÃÆ¡£»¨Á˺ó¤Ê±¼ä£¬²ÅÕÒµ½Ô­Òò£¬¶øÇÒ»¹ÊÇÒ»¸öµÍ ......

PHP½Ì³Ì ³õѧÕ߱ؿ´µÄPHP´úÂë


¾­µäÑ­»·Àý×Ó
<HTML>
<HEAD>
<TITLE>¾­µäÑ­»·Àý×Ó</TITLE>
</HEAD>
<BODY>
<?
    for($counter = 1; $counter <= 6; $counter++) 
      //Ñ­»·6´Î
    {
        print("<B& ......

GyPSii API PHPÇëÇóʾÀý

¸ù¾ÝGyPSii APIÌṩµÄ²Ù×÷ÀàºÍ·½·¨£¬·¢ÏÖÇëÇó»áʧ°Ü£¬·µ»ØµÄÊÇÒ»¸öbed request¡£Ô­ÒòÆäʵºÜ¼òµ¥£¬µ«Ò»Ö±Ã»ÓÐÕÒµ½£¬×îÖÕÔ­ÒòÊǶԷ½ÌṩµÄhostÊÇ´íÎóµÄ£¬Ã»ÌìÀí¡£
¶Ô·½ÌṩµÄhostºÍuri£º
host:http://dev3.gypsii.com/gypsii
uri:http://dev3.gypsii.com/gypsii/xmlservice.cgi
Õâ¸öhost¾ÍÊÇ´íµÄ£¬Ó¦¸ÃÊÇ£ºdev3.gypsii.co ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ