³õѧPHPµÄ18¸ö»ù´¡Àý³Ì
ÈçºÎ´´½¨ÎÒÃǵĵÚÒ»¸öPHPÒ³ÃæÄØ£¿·Ç³£¼òµ¥µÄ£¡Ñ¡ÔñÎÒÃÇʹÓõÄÒ»¸ö×îºÃµÄÉè¼Æ¹¤¾ß£¬µ±È»ÄãÒ²¿ÉÒÔ Ö»Ê¹ÓüÇʱ¾¡£´´½¨Ö®ºó¼ÇµÃÒª±£´æΪÀ©Õ¹ÃûΪPHPµÄÎļþ£¬È»ºó´«µ½ÎÒÃǵķþÎñÆ÷
ÉÏ¡£
¡¡¡¡ÔÚ±àдPHP³ÌÐò֮ǰͨ³£ÎÒÃÇÐèÒªÅäÖÃÎÒÃǵĻ·¾³£¬Ò²¾ÍÊÇ˵·þÎñÆ÷
ÒªÖ§³ÖPHP²ÅÄÜÐа¡
¡¡¡¡Ò»¡¢PHPµÄ»ù±¾½á¹¹£º
¡¡¡¡Ê¹ÓÃIncludeº¯Êý
<Html>
<Head>
<title>Your page Subject and domain name</title>
¡¡¡¡ÉÏÃæÄÚÈÝΪÎÒÃÇʹÓõÄÿ¸öÒ³ÃæµÄ±êÌ⣬²»Òª¶¯¡£
¡¡¡¡Ã¿¸öÒ³µÄÍ·²¿£º
<Meta NAME="" CONTENT="">
"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
ÖØÒªµÄjavascript
s´úÂë·ÅÕâ
CSSÉèÖ÷ÅÕâ
¡¡¡¡ÉÏÊöÄÚÈݱ£´æΪheader.php
£¬Ê¹Ã¿¸öÒ³ÃæµÄÍ·²¿¶¼ÊÇÒ»ÑùµÄ¡£
<?PHP include("header.php
")?>
</head>
<body>
¡¡¡¡ÄãµÄÒ³µÄËùÓÐÄÚÈÝ
</body>
</html>
¡¡¡¡±£´æΪfooter.php
£¬Ê¹Ã¿¸öÒ³ÃæµÄµ×²¿¶¼Ò»Ñù¡£
<? include("footer.php
");?>
¡¡¡¡ÌîдÎÒÃǵİæȨÐÅÏ¢
</body>
</html>
¡¡¡¡¶þ£ºÈçºÎÊä³öÎı¾»òÕß°ÑÎı¾½¨Á¢Á¬½ÓÓÃPHP
¡¡¡¡ÔÚPHPÖÐÈçºÎÏÔʾÎı¾ÄØ£¿Ê¹ÓÃÏÂÃæµÄÃüÁ
<?php
echo "Hello in php
";?>
¡¡¡¡ÈçºÎ´´½¨Ò»¸öÁ¬½ÓÄØ£¿
<?php
echo "<a href=\"http://www.webjx.com\">
www.webjx.com.com
</a>";?>
¡¡¡¡ÈçºÎ´´½¨Ò»¸öÓÐstyleµÄÁ¬½ÓÄØ£¿
<?php
echo "<font style=\"color:blue;font-size:10px;font-
family:verdana;\">Free Scripts By: <a
href=\"http://www.webjx.com.com\" target=\"_blank\" title=\"Free
Scripts By: webjx.com\">
http://www.webjx.com<
;/font></a>";?>
¡¡¡¡"echo"ÊÇÓÃÀ´ÏÔʾÊä³öµÄ¡£
¡¡¡¡Èý£ºÈçºÎʵÏÖ·ÖÒ³£º
¡¡¡¡Èç¹ûºÃ¶àÄÚÈÝÔÚÄãµÄÒ³ÃæÖÐÕâʱÎÒÃǾͿ¼ÂÇÓ÷ÖÒ³ÐÎʽÀ´ÊµÏÖÏÔʾÁË¡£
¡¡¡¡¼òµ¥µÄ·ÖÒ³´úÂ룺
<html>
<head>
<title>webjx.com</tit
Ïà¹ØÎĵµ£º
PHP 5.3.1·¢²¼ÁË£¡´Ë´Î²¢Ã»ÓÐÔö¼Ó¶àÉÙÐÂÌØÐÔ£¬Ö÷ÒªÊǹ¦ÄܵĸĽøºÍbugµÄÐÞ¸´£º
ÐÂÔöÁËÒ»¸ömax_file_uploads²ÎÊý£¬ÓÃÓÚÏÔʾÿ¸öÇëÇóÉÏ´«ÎļþµÄ¸öÊý
ÐÂÔöÁËÔÙ´¦Àí¹ý³ÌÖеÄÍêÕûÐÔ¼ì²â
ÐÞ¸´ÁË´«µÝtempnam()º¯Êýʱsafe_modeÖеÄÎÊÌâ
ÐÞ¸´ÁË´«µÝposix_mkfifo()ʱopen_basedirÖеÄÎÊÌâ
ÐÞ¸´ÁËsafe_mode_include_dirÖеÄÎ ......
//Ï뿴ʲôµç×ÓÊ飬ÏÈÈ¥ÐÂÀ˶ÁÊéËÑË÷£¬È»ºóÌîÈë¶ÔÓ¦µÄ²ÎÊý¼´¿É
//http://vip.book.sina.com.cn/
//µç×ÓÊé²ÎÊý
$array_book[0] = 38884; //С˵id
$array_book[1] = 22172; //Õ½ÚÆðʼid
$array_book[2] = 32533; //Õ½ڽáÊøid
$array_book[3] = 'ÖйúÌØÖÖ²¿¶Ó ......
ÀûÓ÷ÉÐÅAPIʵÏÖ¹«Ë¾ÄÚ²¿·¢ËͶÌÐÅ¿ÉÒÔʡϲ»ÉÙÇ®.ÍøÉÏÒ²Óв»ÉÙ·ÉÐÅAPI,µ«¸Ð¾õ²»¿É¿¿,
»¹ÊÇ×Ô¼ºÐ´ÁËÒ»¸ö¼òµ¥µÄAPI.µ÷ÓõØÖ·ÈçÏÂ,²»»á¼Ç¼·ÉÐÅÃÜÂë.
ϲ»¶µÄÅóÓÑ¿ÉÒÔÊÔÊÔ,½áºÏAU3ÓÖдÁ˸öUDF.ÕâÏ·¢¶ÌÐÅ·½±ãºÜ¶àÁË.
http://lab.l4ever.cn/fetion/api/?from=·¢ËÍÊÖ»ú&pw=·ÉÐÅÃÜÂë&to=½ÓÊÕºÅÂë&msg=¶ÌÐÅÄÚÈ ......
Ç°ÑÔ£º
¡¡¡¡FCKeidtorÊǸö¹úÍâµÄ¶àÓïÑÔ±à¼Æ÷£¬Äã¿ÉÒÔ¶ÔÆäÅäÖÃÎļþ½øÐмòµ¥ÐÞ¸Äʹ֧֮³ÖÄ¿Ç°³£ÓÃWeb¿ª·¢ÓïÑÔµÄÓ¦Óã¬ÏÂÃæÎҾͽ²½²FCKeditorµÄ×îа汾2.4.2ÔÚphpµÄ¾ßÌåÅäÖùý³Ì£¬Óв»×ãºÍ³ö´íµÄµØ·½£¬»¶ÓÖ¸Õý¡£
¾«¼ò£º
¡¡¡¡ÕýÒòΪÕâ¸ö±à¼Æ÷ÊÇÖ§³Ö¶àÓïÑԵģ¬ËùÒÔÊ×ÏÈÎÒÃÇÕë¶ÔʹÓöÔÆä×öÏàÓ¦µÄÈßÓàÎļþɾ³ý¡£
¡¡¡ ......
MYSQL,·ÖÒ³ÀàÊÇдPHP´úÂë×î³£Óõļ¸¸öÀà¡£
½ñÌì¿´PHP100µÄÊÓƵ£¬Ô½ÓÃÔ½·¢ÏÖÀïÃæÁ½¸öÀàºÃÇ¿´ó£¬ËäÈ»¸Ð¾õ»¹ÊÇÓоÖÏÞÐÔ£¬µ«ÊÇËüµÄд·¨ÒѾºÜ³ÉÊìÁË¡£
Ò»¸öÊÇMYSQL£¬Ò»¸öÊÇ·ÖÒ³Àà¡£
MYSQL£º
<?php
class mysql {
private $db_host; //Êý¾Ý¿âÖ÷»ú
private $db_user; //Êý¾Ý¿âÓû§Ãû
private $db_pwd; //Êý¾Ý ......