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

php ³£Óú¯Êýѧϰ1

 __FILE__     ·µ»Øµ±Ç° ·¾¶+ÎļþÃû
 dirname(__FILE__) ·µ»Øµ±Ç°Îļþ·¾¶µÄ ·¾¶²¿·Ö
 dirname(dirname(__FILE__));µÃµ½µÄÊÇÎļþÉÏÒ»²ãĿ¼Ãû£¨²»º¬×îºóÒ»¸ö“/”ºÅ£©


Ïà¹ØÎĵµ£º

PHP»á»°(Session)ʹÓÃÈëÃÅ

¶Ô±ÈÆð Cookie£¬Session ÊÇ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ»á»°£¬Ïà¶Ô°²È«£¬²¢ÇÒ²»Ïñ Cookie ÄÇÑùÓд洢³¤¶ÈÏÞÖÆ£¬±¾Îļòµ¥½éÉÜ Session µÄʹÓá£
ÓÉÓÚ Session ÊÇÒÔÎı¾ÎļþÐÎʽ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ£¬ËùÒÔ²»Å¿ͻ§¶ËÐÞ¸Ä Session ÄÚÈÝ¡£Êµ¼ÊÉÏÔÚ·þÎñÆ÷¶ËµÄ Session Îļþ£¬PHP ×Ô¶¯ÐÞ¸Ä Session ÎļþµÄȨÏÞ£¬Ö»±£ÁôÁËϵͳ¶ÁºÍдȨÏÞ£¬¶ø ......

ÈçºÎÔÚPHPÖб£³ÖSESSIONÒÔ¼°ÓÉ´ËÒý·¢µÄһЩ˼¿¼

ʲôÊÇSESSION£¿ °´ÕÕWIKIµÄ½âÊÍ£¬SESSIONÊÇ´æÔÚÓÚÁ½¸öͨÐÅÉ豸¼äµÄ½»»¥ÐÅÏ¢£¬ÔÚijһʱ¼ä½¨Á¢£¬¾­¹ýÒ»¶¨µÄʱ¼äºóʧЧ¡£³£¼ûµÄSESSIONÓУºTCP SESSION¡¢WEB SESSION£¨HTTP SESSION£©¡¢LOGIN SESSIONµÈ¡£ ¸ù¾ÝOSIÄ£ÐÍÖУ¬»á»°ÊµÏÖµÄλÖò»Í¬£¬SESSIONÖ÷Òª·ÖΪ¼¸ÖÖ£¬Ò»ÖÖÊÇÓ¦Óòã»á»°£¬°üÀ¨WEB SESSION£¨HTTP SESSION£©ºÍtel ......

php×ܽᣨ3£©

ÆÕͨË÷Òý ¹Ø×¢Õâ¸öÁРΨһË÷Òý Ö÷¼ü ¶àÁÐË÷Òý ¹Ø×¢¶à¸öÁР  Àý£º¶àÁÐË÷Òý F1   F2   F3  µ¥²éF2»òF3Ë÷ÒýÎÞЧ Ë÷ÒýÊÇΪÁ˼ӿì¼ìË÷ Êý¾Ý¿â µÚÒ»·¶Ê½£º  Ò»¸ö±íÖеÄÁÐÓ¦¸ÃÊDz»¿ÉÔٷֵģ¬È·±£ÁеÄÔ­×ÓÐÔ µÚ¶þ·¶Ê½£º  Ö»ÓÐÖ÷¼ü²ÅÄܱíÏÖÊý¾ÝÌØÕ÷£¬¶ø·ÇÖ÷¼üÁл¥²»¸ÉÉæ£¬È·±£Ê ......

Áª¶¯ÏÂÀ­Áбí php

 ÕÒµ½Ò»¸öÄÜÓõĠ ·ÖÏí¸øÄã°É
¸ÕÒѾ­ÔÚ±¾»ú×ö¹ýÈÏÕæ²âÊÔ£¬¾ø¶ÔÎÞÎÊÌâ
£¨±í½á¹¹:
id ±íID£¨Î¨Ò»£©
title ¸÷Àà±êÌâ
flid Àà±ðµÄID £¨´óÀàΪ1 ÖÐÀàΪ2 СÀàΪ3£©
pid ÉÏÀàµÄID£¨´óÀà¾Í¸ú´óÀ࣬Ìá½»ÖÐÀàµÄʱºòÕâµØ·½Ð´´óÀàµÄID£¬ÌύСÀàµÄʱºòдÖÐÀàµÄID£© £©
<?php
   $link=mysql_connect("l ......

centos 64λ + apache + php + gd ¿â°²×°

centos 64λ ºÍ32λ°²×°ÓÐһЩ²»Í¬
°²×°apache
°²×°mysql
ÐèÒªÓõ½µÄ°ü
zlib-1.2.3.tar.gz
 libiconv-1.11.tar.gz
freetype-2.3.5.tar.gz
libpng-1.2.20.tar.gz
 jpegsrc.v6b.tar.gz
gd-2.0.35.tar.gz
ibxml2-sources-2.6.30.tar.gz
gettext
1. zlib
tar zxvf zlib-1.2.3.tar.gz
cd zlib ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ