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

PHP ÏÂÔØʱµÄÎļþÃûÎÊÌâ

ÓÐÕâôһ¸ö³¡¾°:
Óû§ÉÏ´«Ò»¸öÎļþ(file.txt), ΪÁ˱ÜÃâÖØÃû, ÎÒ½«ÆäÖØÃüÃûÁË - 20100410001.txt, È»ºóÔÚÏÂÔØÒ³ÃæÎÒÌṩһ¸ö <a></a>£¬ °Ñ href Ö±½ÓÖ¸Ïò·þÎñÆ÷ÉϵÄ·¾¶ xxx/xxx/20100410001.txt, µ±È»ÏÂÔØûÓÐÈκÎÎÊÌâ

µ«ÊÇÎÒÏëÁËÏë, µ±ÆäËûÓû§ÏÂÔØÕâ¸öÎļþ, µÃµ½20100410001.txt»áºÜÎÞÀåÍ·, Èç¹ûÏÂÔØʱµÄÃû×ÖÊÇ file.txt (ÉÏ´«Óû§¸øµÄÃû×ֿ϶¨±ÈÒ»´®Êý×Ö¸ü¼ÓÓк¬Òå), Õâ¸ö¿É²»¿ÉÒÔʵÏÖÄØ? ÉÏ´«ÎļþµÄÐÅÏ¢¶¼±£ÁôÔÚÊý¾Ý¿âÖÐ - Ô­ÎļþÃû, ´óСµÈµÈÐÅÏ¢¶¼ÓÐ, µ«ÊDz»ÖªµÀÈçºÎÀ´×öÕâ¸öÊÖ½Å, лл´ó¼Ò£¡


·Ç³£¸Ðл2λ£¡£¡

ÎÒÔÚ http://topic.csdn.net/u/20100410/17/b738673d-4b9c-4718-8e6a-0010b0f78580.html ÓÐһƪһÑùµÄÌû×Ó, 2λ¿ÉÒԻظ´Ò»Ï£¬ ÎÒ¸øÄãÃÇ·Ö


Ïà¹ØÎÊ´ð£º

¿Õ¼äÉÏphpÎļþ²»ÄÜä¯ÀÀ£¬ä¯ÀÀ¾ÍÏÂÔØphpÎļþ

ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´Ô­Òò£¬ÏÈлÁË¡£
¿Õ¼ä²»Ö§³Ö¡£
»òÕßÄãµÄÕ˺ÅûÓп ......

phpʱ¼äÕýÔòÎÊÌâ - PHP / »ù´¡±à³Ì

PHP code:

$date = '2009-12-25';
$ptn = '/([\d]{4})[- \/](0?[\d]|1[0-2])[-\/ ](0?[\d]|[1-2][\d]|3[0-1])/';
if (preg_match($ptn,$date,$out))
{
print_r($out);exit();
}
½á¹ûΪ:
PHP code:
......

Çó½ÌPHPÖÐstr_replaceº¯ÊýÎÊÌâ - PHP / »ù´¡±à³Ì

ÇëÎÊ£¬ÒÔÏ´úÂ룬Ϊʲô²»¹ÜÓ㿾Ístr_replaceÕâ¸öº¯Êý£¬Ì滻ôÓÐÆð×÷Óã¿
PHP code:
$gg='<script type=\"text/JavaScript\">
alimama_pid=\"mm_14281022_2030060_8250750\";
alima ......

ÇóPHP MemcachedµÄÏîÄ¿Ô´´úÂë

Ë­ÓÐPHP memcachedµÄÏîĿʵÀý£¬Ö÷ÒªÓÃÀ´Ñ§Ï°¡£·¢Ë͵½ÎÒµÄÓÊÏä790684386@qq.com лл
¾ÍÊÇ¿´ÊÖ²á¾Í¿ÉÒÔÁË
¶¼ÊÇÄÇÑù×ÓµÄ
key $value
queryphp ORMÊý¾Ý¿âÀà
---------------------------------------------------- ......

phpÈç¹û»ñÈ¡µ±Ç°Ò³ÃæÍøÖ·²¢Êä³ö - PHP / »ù´¡±à³Ì

¾ÍÊÇÎÒÔÚij¸öÍøÒ³²åÈëÁËÒ»¸öphpÁ´½Ó
ÎÒÏë»ñµÃÄǸöÍøÖ·µÄµØÖ·¶øÇÒÒªÊä³ötxt¸ñʽ»òÆäËû¸ñʽ¡£Ó¦¸ÃÈçºÎʵÏÖ£¿£¿£¿

ÒýÓÃ
PHP code
<?php
if(!file_exists("ceshi.txt")){
fopen("ceshi. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ