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

¹ØÓÚphp дÎļþ ²»»»ÐÐ µÄÎÊÌâ

  ½ñÌìÓöµ½ÁËÒ»¸ö¹ÖÎÊÌ⣬ÎÒÓÃ$fp=fopen("access_log.txt","ab")´ò¿ªÒ»¸öÎļþºó¿ªÊ¼ÍùÀïÃæдÊý¾Ý£¬Ð´µÄÄÚÈÝÊÇ 'XXX\nXXX\n'£»
  µ«ÊÇÆæ¹ÖµÄÊÇ ²»¹ÜÎÒÔõôÍùÀïÃæд ËûÊDz»»»ÐÐ,¼Çʱ¾Àï¼Ç¼µÄÊý¾Ý ¾ÍÊÇ 'xxx\nxxx\n'£¬
  ºÜÊÇÄÕ»ð£¬È¥ÍøÉÏËѼ¯×ÊÁÏ£¬ÓеÄ˵¸Ä³É'\r\n'ʲôµÄ£¬½á¹ûÊÇд½øÈ¥ºó»¹ÊÇ 'xxx\r\nxxx\r\n'£¬
  ÊµÔÚûÕÞ£¬È¥ÐÂÊÖÇøÏÂÁ˸öʵÀý»ØÀ´£¬Ò»ÔËÐУ¬¾ÓÈ»»»ÐÐÁË£¬¸úÎҵĴúÂëΨһÇø±ðÊÇ ËûµÄÎļþÊÇ 'test_1.log'£¬ÄѵÀÊǺó׺ÃûµÄÎÊÌ⣿
  ÓÚÊÇÎҾ͸ijÉaccess_log.log£¬½á¹û»¹ÊDz»»»ÐУ¬ÆøËÀÎÒÁË£¬ÔÙ×Ðϸһ¿´£¬»¹ÓÐÒ»´¦Çø±ð£¬ÄǾÍÊÇËûÓõÄÊÇ”£¬¶øÎÒÓõÄÊÇ '£¬ÓÚÊÇÎÒ°ÑÄÚÈݸÄΪ "xxx\nxxx\n"£¬¶÷£¬³É¹¦»»ÐУ¬¾ÍÊǵ¥Ë« ÒýºÅµÄÎÊÌâ¡£¡£¡£¡£¡£ÓôÃÆ¡£¡£¡£¡£¡£¡£¡£¡£


Ïà¹ØÎĵµ£º

PHPÊý×麯ÊýʹÓ÷½·¨Ïê½â

1.array_multisort()¶Ô¶à¸öÊý×é»ò¶àάÊý×é½øÐÐÅÅÐò¿ÉÒÔÓÃÀ´Ò»´Î¶Ô¶à¸öÊý×é½øÐÐÅÅÐò»òÕ߸ù¾Ýijһά¶Ô¶àάÊý×é½øÐÐÅÅÐò¡£ÅÅÐòʱ±£ÁôÔ­ÓеļüÃû¹ØÁª£¬ÊµÏֵŦÄܺÍSQLÖеÄORDERBY²î²»¶à¡£
$ar1=array("10",100,100,"a"); $ar2=array(1,3,"2",1); array_multisort($ar1,$ar2); ?> //·µ»Ø½á¹û£¨±£³ÖÁËÔ­À´Êý×éµÄ¹ØÁªÐÔ£© ......

discuz ¾­µäphp¼ÓÃܽâÃܺ¯Êý authcode ½âÎö

http://bbs.kl3w.com/thread-117-1-1.html
¿µÊ¢µÄ authcode º¯Êý¿ÉÒÔ˵¶ÔÖйúµÄPHP½ç×÷³öÁËÖØ´ó¹±Ïס£°üÀ¨¿µÊ¢×Ô¼ºµÄ²úÆ·£¬ÒÔ¼°´ó²¿·ÖÖйúʹÓÃPHPµÄ¹«Ë¾¶¼ÓÃÕâ¸öº¯Êý½øÐмÓÃÜ£¬authcode ÊÇʹÓÃÒì»òÔËËã½øÐмÓÃܺͽâÃÜ¡£
Ô­ÀíÈçÏ£¬¼ÙÈ磺
¼ÓÃÜ
Ã÷ÎÄ£º1010 1001
Ãܳףº1110 0011
ÃÜÎÄ£º0100 1010
µÃ³öÃÜÎÄ0100 ......

α¾²Ì¬URLÖØд¼¼ÊõʵÏÖ·½·¨ php asp

α¾²Ì¬Óõ½ÖªÊ¶ºÜ¼òµ¥Ò»µ©Ñ§»á£¬¿ìÀÖÎÞÇֻÐèÒªÕýÔòºÍ·þÎñÆ÷ÉèÖá£
  ÏÈ˵iisÈçºÎÉèÖðɣ¬ÍùÏ¿´
  ÏÂÔØ(IIS RewriteÄ£¿é): http://www.isapirewrite.com/,ÏȰѲúÆ·ÏÂÔØÏÂÀ´,°²×°ÔÚ·þÎñÆ÷ÉÏ,¼ÇסĿ¼,»áÓÐÀàËÆRewrite.dllµÄÎļþÉú³É,MMC→IISÐÅÏ¢·þÎñ¹ÜÀíÆ÷→ÍøÕ¾→ÄúµÄÕ¾µã→ÊôÐÔ,ÔÚ“ ......

phpÀ¬»ø»ØÊÕ»úÖÆ

ÿһÖÖÓïÑÔ¶¼ÓÐ×Ô¼ºµÄ×Ô¶¯À¬»ø»ØÊÕ»úÖÆ£¬ÈóÌÐòÔ±²»±Ø¹ý·Ö¹ØÐijÌÐòÄÚ´æ·ÖÅ䣬µ«ÊÇÔÚOOPÖУ¬ÓÐЩ¶ÔÏóÐèÒªÏÔʽµÄÏú»Ù£»·ÀÖ¹³ÌÐòÖ´ÐÐÄÚ´æÒç³ö¡£
Ò»¡¢PHP À¬»ø»ØÊÕ»úÖÆ(Garbage Collector ¼ò³ÆGC)
ÔÚPHPÖУ¬Ã»ÓÐÈκαäÁ¿Ö¸ÏòÕâ¸ö¶ÔÏóʱ£¬Õâ¸ö¶ÔÏó¾Í³ÉΪÀ¬»ø¡£PHP»á½«ÆäÔÚÄÚ´æÖÐÏú»Ù£»ÕâÊÇPHP µÄGCÀ¬»ø´¦Àí»úÖÆ£¬·ÀÖ¹ÄÚ´æÒç³ö¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ