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

PHPÉú³ÉÖÐÎÄÆ´Òô

ÒÔÏÂΪÒýÓõÄÄÚÈÝ£º
php´úÂë:
<?php
class ChineseSpell {
 /**
  * @var array $chineseSpellList Æ´Òô±àÂë¶ÔÓ¦±í
  * @access private
  */
 private $chineseSpellList = array(
    'a'=>-20319,
    'ai'=>-20317,
    'an'=>-20304,
    'ang'=>-20295,
    'ao'=>-20292,
    'ba'=>-20283,
    'bai'=>-20265,
    'ban'=>-20257,
    'bang'=>-20242,
    'bao'=>-20230,
    'bei'=>-20051,
    'ben'=>-20036,
    'beng'=>-20032,
    'bi'=>-20026,
    'bian'=>-20002,
    'biao'=>-19990,
    'bie'=>-19986,
    'bin'=>-19982,
    'bing'=>-19976,
    'bo'=>-19805,
    'bu'=>-19784,
    'ca'=>-19775,
    'cai'=>-19774,
    'can'=>-19763,
    'cang'=>-19756,
    'cao'=>-19751,
    'ce'=>-19746,
    'ceng'=>-19741,
    'cha'=>-19739,
    'chai'=>-19728,
    'chan'=>-19725,
    'chang'=>-19715,
    'chao'=>-19540,
    'che'=>-19531,
    'chen'=>-19525,
    'cheng'=>-19515,
    'chi'=>-19500,
    'chong'=>-19484,
    'chou'=>-19479,
    'chu'=>-19467,
    'chuai'=>-19289,
   &nb


Ïà¹ØÎĵµ£º

javascript ת»»ÎªUNIXʱ¼ä´Á£¬PHP¿ÉÓÃ

//ת»»ÎªUNIXʱ¼ä´Á
function strtotimestamp(datestr)
{
    var new_str = datestr.replace(/:/g,"-");
    new_str = new_str.replace(/ /g,"-");
    var arr = new_str.split("-");
    var datum = new Date(Date. ......

±»Ò»ÈºphpÖÁÉÏÖ÷ÒåÕßÈÇÄÕÁË

¡¡¡¡ÎÒ¿ª·¢µÄСվ£ºhttp://www.asprain.com£¬»¶Ó­¹ÛĦ¡¢ÌåÑ飡 
¡¡¡¡°¡£¬½ñÌì¿´µ½ºÜ¶àÈË˵ÎÒÂîPHP³ÌÐòÔ±ÊÇÔÚ³´×÷£¬Ä¿µÄÊÇÍƹãÎÒµÄÂÛ̳³ÌÐò¡£»°Ëµ£¬ËäÈ»ÎÒ֮ǰһֱºÜÏëÏë°ì·¨Ìá¸ß×Ô¼ºÐ´µÄÄǸö³ÌÐòµÄÖªÃû¶È¡£ÎÒ°ÑÎÒµÄСվ½éÉܸøÎÒµÄËùÓеĺÃÓÑ£¬ÇëËûÃÇ¿Ú¿ÚÏà´«¡£µ«ÊÇÎÒȷʵдÕâƪÎÄÕÂÊÇûÓг´×÷Ä¿µÄµÄ¡£Ô­ÒòºÜ¼òµ¥£ºÎÒÐ ......

php ËõÂÔͼº¯Êý

function getThumbs($filename,$savepath,$d_w,$d_h,$b,$img_name)
{
    if($b)
    {
        $photourl = $savepath."/".$img_name;
    }else
    {
        $photourl = ......

php postÊý¾Ý,cookie³ÌÐò


<?php
 
 $url="ÕâÀïдÇëÇóµØÖ·";//http://pmtest.webgame.com.cn/d.php
 $data="ÕâÀïдpostÊý¾Ý";//Èç:a=123&b=456 ±íʾ´«Á½¸ö²ÎÊýaºÍb
 $rfr="·¢³öÊý¾ÝµÄÒ³ÃæµÄµØÖ·";
 $cookie="ÕâÀïдcookie";//Èç:PHPSESSIDs=123456; b=11212
 /*
 Àý×Ó:
 $rfr="http://*.c ......

PHPʹÓÃÊý¾Ý¿âÓÀ¾ÃÁ¬½Ó·½Ê½²Ù×÷MySQLµÄÊÇÓë·Ç

PHP³ÌÐòÔ±Ó¦¸Ã¶¼ÖªµÀÁ¬½ÓMySQLÊý¾Ý¿â¿ÉÒÔʹÓÃmysql_pconnect£¨ÓÀ¾ÃÁ¬½Ó£©º¯Êý£¬Ê¹ÓÃÊý¾Ý¿âÓÀ¾ÃÁ¬½Ó¿ÉÒÔÌá¸ßЧÂÊ£¬µ«ÊÇʵ¼ÊÓ¦ÓÃÖÐÊý¾Ý¿âÓÀ¾ÃÁ¬½ÓÍùÍù»áµ¼Ö³öÏÖһЩÎÊÌ⣬ͨ³£µÄ±íÏÖ¾ÍÊÇÔÚ´ó·ÃÎÊÁ¿µÄÍøÕ¾ÉÏʱ³£·¢Éú¶Ï¶ÏÐøÐøµÄÎÞ·¨Á¬½ÓÊý¾Ý¿âµÄÇé¿ö£¬³öÏÖÀàËÆ£¢Too many connections in ...£¢µÄ´íÎóÌáʾÐÅÏ¢£¬ÖØÐÂÆô¶¯·þÎñÆ÷Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ