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

php sessionÅäÖÃ

Session]
; ³ý·ÇʹÓÃsession_register()»ò$_SESSION×¢²áÁËÒ»¸ö±äÁ¿¡£
; ·ñÔò²»¹ÜÊÇ·ñʹÓÃÁËsession_start()£¬¶¼²»»á×Ô¶¯Ìí¼ÓÈκÎsession¼Ç¼¡£
; °üÀ¨resource±äÁ¿»òÓÐÑ­»·ÒýÓõĶÔÏó°üº¬Ö¸Ïò×ÔÉíµÄÒýÓõĶÔÏ󣬲»Äܱ£´æÔڻỰÖС£
; register_globalsÖ¸Áî»áÓ°Ïìµ½»á»°±äÁ¿µÄ´æ´¢ºÍ»Ö¸´¡£
session.save_handler = "files"
; ´æ´¢ºÍ¼ìË÷Óë»á»°¹ØÁªµÄÊý¾ÝµÄ´¦ÀíÆ÷Ãû×Ö¡£Ä¬ÈÏΪÎļþ("files")¡£
; Èç¹ûÏëҪʹÓÃ×Ô¶¨ÒåµÄ´¦ÀíÆ÷(Èç»ùÓÚÊý¾Ý¿âµÄ´¦ÀíÆ÷)£¬¿ÉÓÃ"user"¡£
; ÓÐÒ»¸öʹÓÃPostgreSQLµÄ´¦ÀíÆ÷£ºhttp://sourceforge.net/projects/phpform-ext/
session.save_path = "/tmp"
; ´«µÝ¸ø´æ´¢´¦ÀíÆ÷µÄ²ÎÊý¡£¶ÔÓÚfiles´¦ÀíÆ÷£¬´ËÖµÊÇ´´½¨»á»°Êý¾ÝÎļþµÄ·¾¶¡£
; WindowsÏÂĬÈÏΪÁÙʱÎļþ¼Ð·¾¶¡£
; Äã¿ÉÒÔʹÓÃ"N;[MODE;]/path"ÕâÑùģʽ¶¨Òå¸Ã·¾¶(NÊÇÒ»¸öÕûÊý)¡£
; N±íʾʹÓÃN²ãÉî¶ÈµÄ×ÓĿ¼£¬¶ø²»Êǽ«ËùÓÐÊý¾ÝÎļþ¶¼±£´æÔÚÒ»¸öĿ¼Ï¡£
; [MODE;]¿ÉÑ¡£¬±ØÐëʹÓÃ8½øÖÆÊý£¬Ä¬ÈÏ600(=384)£¬±íʾÿ¸öĿ¼ÏÂ×î¶à±£´æµÄ»á»°ÎļþÊýÁ¿¡£
; ÕâÊÇÒ»¸öÌá¸ß´óÁ¿»á»°ÐÔÄܵĺÃÖ÷Òâ¡£
; ×¢Òâ0: "N;[MODE;]/path"Á½±ßµÄË«ÒýºÅ²»ÄÜÊ¡ÂÔ¡£
; ×¢Òâ1: [MODE;]²¢²»»á¸Äд½ø³ÌµÄumask¡£
; ×¢Òâ2: php²»»á×Ô¶¯´´½¨ÕâЩÎļþ¼Ð½á¹¹¡£ÇëʹÓÃext/sessionĿ¼ÏµÄmod_files.sh½Å±¾´´½¨¡£
; ×¢Òâ3: Èç¹û¸ÃÎļþ¼Ð¿ÉÒÔ±»²»°²È«µÄÓû§·ÃÎÊ(±ÈÈçĬÈϵÄ"/tmp")£¬ÄÇô½«»á´øÀ´°²È«Â©¶´¡£
; ×¢Òâ4: µ±N>0ʱ×Ô¶¯À¬»ø»ØÊÕ½«»áʧЧ£¬¾ßÌå²Î¼ûÏÂÃæÓйØÀ¬»øËѼ¯µÄ²¿·Ö¡£
session.name = "PHPSESSID"
;ÓÃÔÚcookieÀïµÄ»á»°ID±êʶÃû£¬Ö»ÄÜ°üº¬×ÖĸºÍÊý×Ö¡£
session.auto_start = Off
; ÔÚ¿Í»§·ÃÎÊÈκÎÒ³Ãæʱ¶¼×Ô¶¯³õʼ»¯»á»°£¬Ä¬ÈϽûÖ¹¡£
; ÒòΪÀඨÒå±ØÐëÔڻỰÆô¶¯Ö®Ç°±»ÔØÈ룬ËùÒÔÈô´ò¿ªÕâ¸öÑ¡ÏÄã¾Í²»ÄÜÔڻỰÖдæ·Å¶ÔÏó¡£
session.serialize_handler = "php"
; ÓÃÀ´ÐòÁл¯/½âÐòÁл¯Êý¾ÝµÄ´¦ÀíÆ÷£¬phpÊDZê×¼ÐòÁл¯/½âÐòÁл¯´¦ÀíÆ÷¡£
; ÁíÍ⻹¿ÉÒÔʹÓÃ"php_binary"¡£µ±ÆôÓÃÁËWDDXÖ§³ÖÒԺ󣬽«Ö»ÄÜʹÓÃ"wddx"¡£
session.gc_probability = 


Ïà¹ØÎĵµ£º

PHP ÖÆ×÷ͨѶ¼£¨Áù£©

×òÌìÎÒÃÇʵÏÖÁËÒ»¸ö¼òµ¥µÄËÑË÷¹¦ÄÜ£¬½ñÌìÎÒÏëÁËһϣ¬Æäʵ»¹ÓпÉÒԸĽøµÄµØÖ·£¬ÈçÖ±½ÓÓÃIndex.php´úÌæSearch.php¡£
ÐÞ¸ÄIndex.phpÎļþ£¬ÐÞ¸ÄÒ»ÏÂËÑË÷±íµ¥
<!---ËÑË÷¿ò--->
<!--ÕâÀïµÄËùÓÐֵǰÃæ¼Óǰ׺“S_”ÒÔÇø·Ö-->
<form id="form1" name="form1" method="get" action="Index.php">
&n ......

WinodwsÏÂIIS/Apache+PHP+MySQLµÄ°²×°ÅäÖÃ

ÎÒд¹ýµÄ½Ì³Ì²»¶à£¬¶øÇҴ󲿷ֶ¼ÊÇÀ´Ô´ÓÚ±ðÈ˵Ľ̳̣¬²»¹ý£¬ÕâÀïËù½éÉܵģ¬¶¼ÊÇÈÚÈëÎÒËù×ܽáµÄ¾­Ñ飮£­£­ÒýÑÔ
¡¡¡¡
¡¡¡¡PHPµÄÖ´ÐÐЧÂÊÊÇÓÐÄ¿¹²¶ÃµÄ£¬ÕâÒ²ÊÇÎÒϲ»¶ËüµÄÔ­ÒòÖ®Ò»£¬ºÍËü³ÆΪ¾øÃî´îµµµÄMysqlÒÔ¼°ApacheÏëÈںϣ¬²»Äܲ»¾ªÌ¾ÆäЧÂÊÁË¡£PHP¸üÐÂÒ²ºÜ¿ì£¬ÕâÀïÁоÙÁËÄ¿Ç°×îа汾PHP4.3.2RC4£¨¼¸ºõûÓÐBUGÁË£¬¹À¼ÆÐ´Í ......

PHP Floating point precision

Floating point precision
It is typical that simple decimal fractions like 0.1
or
0.7
cannot be converted into their internal binary
counterparts without a small loss of precision. This can lead to
confusing
results: for example, floor((0.1+0.7)*10)
will usually
return 7
......

phpÎļþÉÏ´«Àà

 
<?php
  /**
  * PHP100.com - ¸öÈ˸оõ·Ç³£¼òµ¥£¬Ö»ÒªÓеãPHP»ù´¡µÎÈ˶¼Ó¦¸ÃÄÜ¿´¶®~~
  * Apache2 + PHP5.0
  * Version:1.0
  * ͬʱ¸ÐлPHP100ËùÓеÄÐÖµÜÃÇ
  * ——————————————&m ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ