codeigniter¿ò¼ÜphpÄÚ²¿º¯Êý¼¯ºÏ
<?php //CI¿ò¼ÜphpÄÚ²¿º¯Êý¼¯ºÏ£¬°ïÖúÄã Àí½âCI¿ò¼Ü¡£Ï£ÍûÄãϲ»¶ (ÓпÉÄÜÄãºÜÌÖÑá!!!)^_^ //Ä¥µ¶²»Îó¿³²ñ¹¤£¬ÎÒÃÇÒ»Æ𻨵ãʱ¼ä ä¯ÀÀһϰɣ¬Î¹ʶø֪Р¿ÉÒÔΪʦҲ :-) phpversion(); //phpµÄ°æ±¾ floor //È¡µÃÕûÊý explode //·Ö¸î×Ö·û´®->Êý×é implode //Á¬½ÓÊý×éÔªËØΪһ¸ö×Ö·û´® strpos //·µ»ØµÚÒ»¸ö×Ö·ûÆ¥ÅäµÄλÖà end //½«Êý×éµÄÄÚ²¿Ö¸ÕëÖ¸Ïò×îºóÒ»¸öµ¥Ôª count //¼ÆËãÊý×éÖеĵ¥ÔªÊýÄ¿»ò¶ÔÏóÖеÄÊôÐÔ¸öÊý in_array //¼ì²éÊý×éÖÐÊÇ·ñ´æÔÚij¸öÖµ strtolower //×Ö·û´®×ª»»ÎªÐ¡Ð´ strtoupper //×Ö·û´®×ª»»Îª´óд file_exists //¼ì²éÎļþ»òĿ¼ÊÇ·ñ´æÔÚ class_exists //¼ì²éÀàÊÇ·ñÒѶ¨Òå ucfirst //ת»»×Ö·û´®µÄµÚÒ»¸ö×Ö·ûΪ´óд file //°ÑÕû¸öÎļþ¶ÁÈëÒ»¸öÊý×éÖÐ str_replace //×Ö·û´®Ìæ»» pathinfo //pathinfo() ·µ»ØÒ»¸ö¹ØÁªÊý×é°üº¬ÓÐ path µÄÐÅÏ¢¡£°üÀ¨ÒÔϵÄÊý×éµ¥Ôª£ºdirname£¬basename ºÍ extension¡£À÷º¦£¬²»¼ì²éÎļþÊÇ·ñ´æÔÚ get_object_vars //·µ»ØÓɶÔÏóÊôÐÔ×é³ÉµÄ¹ØÁªÊý×é array_merge //ºÏ²¢Ò»¸ö»ò¶à¸öÊý×é extract //´ÓÊý×éÖн«±äÁ¿µ¼Èëµ½µ±Ç°µÄ·ûºÅ±í array_diff //¼ÆËãÊý×éµÄ²î¼¯ is_numeric //¼ì²â±äÁ¿ÊÇ·ñΪÊý×Ö»òÊý×Ö×Ö·û´® addcslashes //ÒÔ C ÓïÑÔ·ç¸ñʹÓ÷´Ð±ÏßתÒå×Ö·û´®ÖеÄ×Ö·û trim //È¥µô×Ö·û´®Á½±ßµÄ¿Õ¸ñ is_string //¼ì²â±äÁ¿ÊÇ·ñÊÇ×Ö·û´® is_null //¼ì²â±äÁ¿ÊÇ·ñΪ NULL preg_match //½øÐÐÕýÔò±í´ïʽƥÅä is_object //¼ì²â±äÁ¿ÊÇ·ñÊÇÒ»¸ö¶ÔÏó preg_replace //Ö´ÐÐÕýÔò±í´ïʽµÄËÑË÷ºÍÌæ»» stristr //·µ»Øneedle·Ö¸î·ûÇ°Ãæ»òÕߺóÃæµÄ×Ö·û¡£strstr strrchr // º¯Êý²éÕÒ×Ö·û´®ÔÚÁíÒ»¸ö×Ö·û´®ÖÐ×îºóÒ»´Î³öÏÖµÄλÖ㬲¢·µ»Ø´Ó¸ÃλÖõ½×Ö·û´®½áβµÄËùÓÐ×Ö·û function_exists //ÅжϺ¯ÊýÃûÊÇ·ñ´æÔÚ ---------------------------------------------------------------------------------------------------------- __FILE__ //·µ»Øµ±Ç°Â·¾¶ºÍÎļþÃû dirname //dirname ¡ª ·µ»Ø·¾¶ÖеÄĿ¼²¿·Ö realpath //·µ»Ø¹æ·¶»¯µÄ¾ø¶Ô·¾¶Ãû pathinfo(__FILE__, PATHINFO_BASENAME) //·µ»ØÎļþÃû is_dir //Åжϸø¶¨ÎļþÃûÊÇ·ñÊÇÒ»¸öĿ¼ ---------------------------------------------------------------------------------------------------------- version_compare //°æ±¾±È½Ïº¯Êý PHP_VERSION //php°æ±¾£¬Õâ¸ö²»ÊǺ¯Êý define('SECOND', 1); //phpµÄ³£Á¿¶¨Òå func_get_args //·µ»ØÒ»¸öº¯ÊýÖвÎÊýµÄÁÐ±í£¬·µ»ØµÄÊý×é substr //·µ»Ø×Ö·û´®µÄÒ»²¿·Ö substr_count //·µ»Ø×Ó×Ö·û´®µÄ¸öÊý substr_replace() //º¯Êý°Ñ×Ö·û´®µÄÒ»²¿·ÖÌ滻ΪÁíÒ»¸ö×Ö·û´® sort asort //¶ÔÊý×é½øÐÐÅÅÐò²¢±£³ÖË÷Òý¹Øϵ arsort //¶ÔÊý×é½øÐÐÄæÏòÅÅÐò²¢±£³ÖË÷Òý¹Øϵ array_combine //´´½¨Ò»¸öÊý×飬ÓÃÒ»¸öÊý×éµÄÖµ×÷ΪÆä¼üÃû£¬ÁíÒ»¸öÊý×éµÄÖµ×÷ΪÆäÖµ array_count_values // ͳ¼ÆÊý×éÖÐËùÓеÄÖµ³öÏֵĴÎÊý array_values //·µ»ØÊý×éÖÐËùÓеÄÖµ array_keys //·µ»ØÊý×éÖÐËùÓеļüÃû array_key_exists //¼ì²é¸ø¶¨µÄ¼üÃû»òË÷ÒýÊÇ·ñ´æÔÚÓÚÊý×éÖÐ array_map //½«»Øµ÷º¯Êý×÷Óõ½¸ø¶¨Êý×éµÄµ¥ÔªÉÏ htmlspecialchars //½«ÌØÊâ×Ö·ûת³ÉHTML ¸ñʽ getenv //È¡µÃϵͳµÄ»·¾³±äÁ¿ array_shift //½«Êý×鿪ͷµÄµ¥ÔªÒƳöÊý×é array_search //ÔÚÊý×éÖÐËÑË÷¸ø¶¨µÄÖµ£¬Èç¹û³É¹¦Ôò·µ»ØÏàÓ¦µÄ¼üÃû array_splice //°ÑÊý×éÖеÄÒ»²¿·ÖÈ¥µô²¢ÓÃÆäËüֵȡ´ú array_sum //¼ÆËãÊý×éÖÐËùÓÐÖµµÄºÍ stripslashes() //º¯Êýɾ³ýÓÉaddslashes() º¯ÊýÌí¼ÓµÄ·´Ð±¸Ü array_walk //¶ÔÊý×éÖеÄÿ¸ö³ÉÔ±Ó¦ÓÃÓû§º¯Êý array_intersect_key //ʹÓüüÃû±È½Ï¼ÆËãÊý×éµÄ½»¼¯ http_build_query //Éú³É URL-encode Ö®ºóµÄÇëÇó×Ö·û´® set_magic_quotes_runtime(1) //ʱ£¬´ÓÊý¾Ý¿â»òͨ¹ýfreadÖ®ÀàµÄº¯Êý¶ÁÈ¡µÄÎı¾£¬½«×Ô¶¯¶Ô' "ºÍ×Ô¶¯¼ÓÉÏ·´Ð±¸Ü½øÐÐתÒ壬·ÀÖ¹Òç³ö set_error_handler() //º¯ÊýÉèÖÃÓû§×Ô¶¨ÒåµÄ´íÎó´¦Àíº¯Êý get_class_methods //·µ»ØÓÉÀàµÄ·½·¨Ãû×é³ÉµÄÊý×é method_exists //¼ì²éÀàµÄ·½·¨ÊÇ·ñ´æÔÚ var_dump //´òÓ¡±äÁ¿µÄÏà¹ØÐÅÏ¢ call_user_func_array //Ö®Ðлص÷º¯Êý£¬µÚÒ»¸ö²ÎÊýÊǺ¯ÊýµÄÃû×Ö£¬µÚ¶þ¸ö²ÎÊýÊÇÓÃÊý×é×öµÄ²ÎÊý ---------------------------------------------------------------------------------------------------------- strtotime //½«ÈκÎÓ¢ÎÄÎı¾µÄÈÕÆÚʱ¼äÃèÊö½âÎöΪ Unix ʱ¼ä´Á list //°ÑÊý×éÖеÄÖµ¸³¸øһЩ±äÁ¿ Ïñ array() Ò»Ñù£¬Õâ²»ÊÇÕæÕýµÄº¯Êý£¬¶øÊÇÓïÑԽṹ¡£list() ÓÃÒ»²½²Ù×÷¸øÒ»×é±äÁ¿½øÐи³Öµ¡£ //Note: list() ½öÄÜÓÃÓÚÊý×ÖË÷ÒýµÄÊý×é²¢¼Ù¶¨Êý×ÖË÷Òý´Ó 0 ¿ªÊ¼¡£ ucwords //×Ö·û´®ÖÐÿ¸öµ¥´ÊµÚÒ»¸ö×Ö·ûת»»Îª´óд¡£ intval //»ñÈ¡±äÁ¿µÄÕûÊýÖµ ---------------------------------------------------------------------------------------------------------- ob_start //´ò¿ªÊä³ö»º³å //¹ØÓÚPHP»º³åÇøÕýÈ·µÄ×ö·¨ÈçÏ£º ob_start(); include('ckie.html'); echo ob_get_level(); //ÎÒÀí½âΪ ÀûÓûº³åÇøµÄÄÚÈݵĴÎÊý ob_get_contents(); //ÔÚob_end_clean()Ç°ÃæÀ´»ñµÃ»º³åÇøµÄÄÚÈÝ ob_end_clean(); //ÇåÀí»º³åÇøµÄÄÚÈݲ¢¹Ø±Õ»º³åÇøµÄ¿ª¹Ø ÐÁ¿àÄãÃÇÀ²!´ËÎÄ¿É×ÔÓÉתÔØ£¬ÈôÄã×¢Ã÷ÏÂÃæµÄ³ö´¦£¬ÎÒÃǽ«·Ç³£¸Ð¼¤ÄãµÄÖ§³Ö£¡
ÍƼöÐÅÏ¢
- ¡¾ÊÓƵ²¥·Å¡¿JplayerÊÓƵ²¥·ÅÆ÷µÄʹÓÃ
- memcacheÄÚ´æÔÀí
- Memcache¼¼Êõ·ÖÏí£º½éÉÜ¡¢Ê¹Óᢴ洢¡¢Ëã·¨¡¢ÓÅ»¯....
- php³£ÓÃÕýÔò±í´ïʽ
- phpÐÔÄܼà²âÄ£¿éXHProf
- ÈÃCI¿ò¼ÜÖ§³Öservice²ã
- ʹÓÃPHPÉú³É´øLOGOµÄ¸öÐÔ»¯¶þάÂëͼÏñ
- ¹ØÓÚCodeIgniterÄã¿ÉÄܲ»ÖªµÀµÄ5¸ö֪ʶµã
- Memcache ºÁÃ뼶³¬Ê±¼°ÆäËû³£¼ûÎÊÌâ»ã×Ü
- [PHP±Ê¼Ç]PHPQueryÒ»¸ö´¦ÀíDOMµÄÀûÆ÷
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- PHP»ñÈ¡Óû§µÄÕæʵIP£¬²¢ÅжÏÊÇ·ñÄÚÍøIP
- PHP ´íÎóÈÕÖ¾ error_log
- ÀûÓÃbigpipe»úÖÆʵÏÖÒ³ÃæÄ£¿éµÄÒì²½äÖȾ chunked¼¼Êõ
- php¿ØÖÆÎļþÏÂÔØËÙ¶È
- js + php ¶ÁÈ¡¡¢²¥·ÅÊÓƵÁ÷ ¼æÈÝfirefox£¬c....
- ¡¾ÊÓƵ²¥·Å¡¿JplayerÊÓƵ²¥·ÅÆ÷µÄʹÓÃ
- UNICODE Óë UTF-8 µÄ¹Øϵ
- memcacheÄÚ´æÔÀí
- Memcache¼¼Êõ·ÖÏí£º½éÉÜ¡¢Ê¹Óᢴ洢¡¢Ëã·¨¡¢ÓÅ»¯....
- phpʹÓÃmb_detect_encoding¼ì²â×Ö·û´®±àÂë
ÆÀÂÛ