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¿ª·¢ÏîÄ¿µÄ£¬»òÐíÏÂÃæµÄ×ÊÁ϶Դó¼ÒÓÐÓðɣ¬ÓÃÀ´Ñ§Ï°Ò»ÏÂÒ²ºÃ¡£
ÊÕ¼¯µÄ×ÊÁÏÏà¹ØµØÖ·£º
cubi demo site£ºhttp://dev.openbiz.cn/cubi/user/login
openBiz app cubi£ºhttp://docs.google.com/View?id=df5ktjv9_64f9fd88gf
openbiz architecture overview:
http: ......
phpÖж¨½ç·û<<<µÄ×÷Óà - [phpÓï
ÑÔ
]
[Time:2009-08-18]
°æÈ¨ÉùÃ÷
£º×ªÔØÊ±ÇëÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂÔʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷
ת×Ô:http://star210.blogbus.com/logs/44486135.html
ÒòΪPHPÊÇÒ»¸öWeb±à³ÌÓïÑÔ£¬ÔÚ±à³Ì¹ý³ÌÖÐÄÑÃâ»áÓöµ½ÓÃechoÀ´Êä³ö´ó¶ÎµÄhtmlºÍjavascript
½Å
±¾µÄÇé¿ö£¬Èç¹ûÓô«Í³µÄÊ ......
1
£®
Çë¶Ô
POSIX
·ç¸ñºÍ¼æÈÝ
Perl
·ç¸ñÁ½ÖÖÕýÔò
±í´ïʽµÄÖ÷Òªº¯Êý½øÐÐÀà±È˵Ã÷
ereg
preg_match
ereg_replace
preg_replace
2
£®
Çë˵Ã÷ÔÚ
php
.ini
ÖÐ
safe_mode
¿ªÆôÖ®ºó¶ÔÓÚ
PHP
ϵͳ
º¯ÊýµÄÓ°Ïì
3
£®
PHP5
ÖÐħÊõ
·½·¨
º¯ÊýÓÐÄö£¬Çë¾ÙÀý˵à ......
<?php
/**
* PHP100.com - ¸öÈ˸оõ·Ç³£¼òµ¥£¬Ö»ÒªÓеãPHP»ù´¡µÎÈ˶¼Ó¦¸ÃÄÜ¿´¶®~~
* Apache2 + PHP5.0
* Version:1.0
* ͬʱ¸ÐлPHP100ËùÓеÄÐÖµÜÃÇ
* ——————————————&m ......