php ³£Óú¯Êýѧϰ1
__FILE__ ·µ»Øµ±Ç° ·¾¶+ÎļþÃû
dirname(__FILE__) ·µ»Øµ±Ç°Îļþ·¾¶µÄ ·¾¶²¿·Ö
dirname(dirname(__FILE__));µÃµ½µÄÊÇÎļþÉÏÒ»²ãĿ¼Ãû£¨²»º¬×îºóÒ»¸ö“/”ºÅ£©
Ïà¹ØÎĵµ£º
index.php(ʵÏÖÊäÈëÑéÖ¤ÂëÒ³Ãæ)´úÂëÈçÏ£º Code´úÂëÈçÏÂ: <html>
<head>
<title>check code</title>
</head>
<body>
<form name=check method=post action=check.php>
<input type=hidden name=init value=1>
ÑéÖ¤ ......
apache ¶¯Ì¬±àÒë ±àÒë³Éso ¾²Ì¬±àÒë C ЧÂʸß5% ÏÈÍêÈ«¶¯Ì¬±àÒ룬ȷ¶¨ÐèÒªµÄ ¾²Ì¬±àÒë ºÏÀíʹÓûỰ ¾¡¿ÉÄÜÉٵļÓÔØÍⲿÎļþ ¾¡¿ÉÄÜÉÙµÄÕ¼ÓÃÍⲿ×ÊÔ´ lazyload ³ÙÁ¬½ÓÔçÊÍ·Å ±äÁ¿Ó¦¾¡¿ÉÄܵı£³ÖÒ»ÖÖÀàÐÍ ¸Ä±ä±äÁ¿ÀàÐ͵Äʱºò£¬Ö»»á×Ô¶¯ÔöËùÕ¼ÄÚ´æ ²»»á¼õÉÙ Èçint->float Õ¼¿Õ¼ä±ä´ó float->int ²»»á±äС ......
phpÖÐsessionµÄÓ÷¨
PHPÖеÄsessionĬÈÏÇé¿öÏÂÊÇʹÓÿͻ§¶ËµÄCookie¡£µ±¿Í»§¶ËµÄCookie±»½ûÓÃʱ£¬»á×Ô¶¯Í¨¹ýQuery_StringÀ´´«µÝ¡£
Php´¦Àí»á»°µÄº¯ÊýÒ»¹²ÓÐ11¸ö£¬ÎÒÃÇÏêϸ½éÉÜһϽ«ÒªÓõ½¼¸¸öº¯Êý¡£
1¡¢ session_start
º¯Êý¹¦ÄÜ£º¿ªÊ¼Ò»¸ö»á»°»òÕß·µ»ØÒѾ´æÔڵĻỰ¡£
º¯ÊýÔÐÍ£ºboolean se ......
´î½¨ PHP Æäʵ²»ºÜÄÑ£¬Ö»ÊÇÓе㷱Ëö¡£ÒªÊÇ×Ô¼º´î½¨Ò»´Î PHP + MySQL »·¾³ºÜÊÇ·Ñʱ¡£¸üÔãµÄÊÇ£¬ºÜ¶àÐÂÊÖÔÚÅäÖà PHP
ʱ³£³£³öÏÖÕâÑùÄÇÑùµÄÎÊÌâ¡£ÖîÈç mysql À©Õ¹¡¢zend °²×°Ê§°ÜµÈµÈÎÊÌâ¡£Õâʱ£¬ÎÒÃÇÐèÒªÒ»¸ö¿ìËÙ¡¢±ê×¼ÇÒרҵµÄ PHP
Ì×¼þ°ü¡£PHPnow ¾ÍÕâÑùÓ¦Ô˶øÉú£¬ÎªÄã¿ìËٴרҵµÄÐéÄâÖ÷»ú¡£
Óë PHPnow µÄÃû×ÖÒ ......
ÖÐî£Ð¯¶àÄêIt¸ß¶ËÅàѵ¾Ñ飬¼¯ºÏÁËÖÚ¶à¹úÄڸ߼¶³ÌÐòÈ˲ţ¬ÍƳö½ðÅÆphpÅàѵ¿Î³ÌÌåϵ£¬ÒÔphp³ÌÐòÉè¼ÆΪÖ÷Ïߣ¬Í¬Ê±ÔöÉèÁËlinuxϵͳ¹ÜÀí£¬mysqlÊý¾Ý¿âϵͳӦÓã¬javascript¼¼Êõ¸ß¼¶Ó¦Óã¬Ajax¼¼Êõ¸ß¼¶Ó¦Óõȼ¼ÊõÀà¿Î³Ì£¬Ê¹ÄúÔÚÆðµã¾ÍÓëÊÀ½ç×îÖ÷Á÷¼¼Êõ½Ó¹ì¡£ÎªÁËÅàÑøѧԱµÄʵս¿ª·¢¼¼ÄÜ£¬ÖÐî£ÌرðÔÚÅàѵ ......