PHP´éÍøÕ¾Ò»¸ö
ΪÁËÓ¦¸¶Êý×ÖýÌåʵ¼ùСѧÆÚ£¬ÓÃÁ½ÈýÌìµÄʱ¼ä´Ò´ÒææµØ¼ÜÆðÀ´Ò»¸öPHPÍøÕ¾¡£ÍøÕ¾ºÜ´é£¬ÀÏʦ¸øµÄ·ÖÊýÈÃËü¿´ÆðÀ´¸ü´é¡£
×öÕâ¸öÍøÕ¾µÄÄǶÎʱ¼äÕýºÃÔÚ¿´BrooksµÄÄDZ¾¿õÊÀ¾µä¡¶ÈËÔÂÉñ»°¡·£¬Á˽âÁËÆäÖеēThe Surgical
Team”µÄ¿ª·¢Ä£Ê½£¬¾õµÃÔÚÌØÊⳡºÏÏ£¬ÕâÖÖ¿ª·¢Ä£Ê½È·Êµ»áÓµÓм«¸ßµÄ¿ª·¢Ð§ÂʺÍÍŶÓÕ½¶·Á¦¡£
ÒÔÏÂ˵˵ÔÚÕâ¸öÍøÕ¾µÄ¿ª·¢¹ý³ÌÖеÄһЩÊÕ»ñ°É¡£
Ò»£ºFirefox3.5ÉÏÍøÒ³µÄ¾ÓÖÐÎÊÌâ
Ä¿Ç°ºÜ¶àÍøÕ¾¶¼Ã»½â¾öÔÚFirefox3.5ÉÏÃæ²»Äܽ«ÍøÒ³¾ÓÖеÄÎÊÌ⣬¾¹ýGoogle·¢ÏÖÕâ¸öÎÊÌâÆäʵÕæµÄºÜeasy£¬Ö»ÐèÀûÓÃCSS¼¼Êõ£¬½«Õû¸öÍøÒ³ÖÐ×îµ×²ã“ºÐ×Ó”µÄCSSÉèΪÒÔÏÂÐÎʽ£º
#layer0
{
width:800px; height:779px;
text-align:left;
background-image:url(../images/background.gif);
/*background-color:#F8F8F8;*/
margin:0px auto;
}
ÆäÖÐmargin:0px auto;ÕýÊǽ«¸Ã²ã¾ÓÖеĹؼüËùÔÚ¡£
¶þ£ºIE8ºÍFirefox3.5µÈä¯ÀÀÆ÷ÔÚ“²ã”²¼¾ÖʱËù´æÔÚµÄÎÊÌâ
IE8ºÍFirefox3.5ÔڶԲ㲼¾ÖʱµÄ½âÎöÉÏ»á´æÔÚÉÙÐí²îÒ죬Òò´Ë»áÔì³ÉһЩÔڸ߶ȡ¢¿í¶ÈµÄÏÔʾÉÏ´æÔڵIJîÒ죬¶ÔÓÚ²»Í¬µÄä¯ÀÀÆ÷ÎÒʹÓÃÁ˲»Í¬µÄCSSÑùʽ±í£º
<link rel="stylesheet" type="text/css" href="../css/mycss2.css">
<link type="text/css" href="../css/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<!--[if IE]>
<LINK rel="stylesheet" type="text/css" href="../css/mycssIE.css" />
<![endif]-->
¸½£ºÓÃCSSÅжÏä¯ÀÀÆ÷µÄÀàÐÍ
<!--[if lte IE 7]> IE7ÒÔ¼°IE7ÒÔÏ°汾¿Éʶ±ð <![endif]-->
<!--[if gte IE 7]> IE7ÒÔ¼°IE7ÒÔÉÏ°æ±¾¿Éʶ±ð <![endif]-->
lte£º¾ÍÊÇLess than or equal toµÄ¼òд£¬Ò²¾ÍÊÇСÓÚ»òµÈÓÚµÄÒâ˼¡£
lt £º¾ÍÊÇLess thanµÄ¼òд£¬Ò²¾ÍÊÇСÓÚµÄÒâ˼¡£
gte£º¾ÍÊÇGreater than or equal toµÄ¼òд£¬Ò²¾ÍÊÇ´óÓÚ»òµÈÓÚµÄÒâ˼¡£
gt £º¾ÍÊÇGreater thanµÄ¼òд£¬Ò²¾ÍÊÇ´óÓÚµÄÒâ˼¡£
! £º¾ÍÊDz»µÈÓÚµÄÒâ˼£¬¸újavascriptÀïµÄ²»µÈÓÚÅжϷûÏàͬ
¸½£ºÓÃJavascript´úÂëʵÏÖÅжÏä¯ÀÀÆ÷µÄÀàÐÍ£º
IE
ÖеÄWindows¶ÔÏó¶ÀÓÐActiveXObjectº¯Êý¡£
Firefox
ÖеÄDOMÔªËضÀÓÐgetBoxObjectForº¯Êý¡£
Opera
ÖжÀÓеÄä¯ÀÀÆ÷±ê¼Çwindow.operaÊôÐÔ¡£
Safari
ÖжÀÓеÄopenDatabaseº¯Êý
Ïà¹ØÎĵµ£º
ÈçºÎ´´½¨ÎÒÃǵĵÚÒ»¸öPHPÒ³ÃæÄØ£¿·Ç³£¼òµ¥µÄ£¡Ñ¡ÔñÎÒÃÇʹÓõÄÒ»¸ö×îºÃµÄÉè¼Æ¹¤¾ß£¬µ±È»ÄãÒ²¿ÉÒÔ Ö»Ê¹ÓüÇʱ¾¡£´´½¨Ö®ºó¼ÇµÃÒª±£´æΪÀ©Õ¹ÃûΪPHPµÄÎļþ£¬È»ºó´«µ½ÎÒÃǵķþÎñÆ÷
ÉÏ¡£
¡¡¡¡ÔÚ±àдPHP³ÌÐò֮ǰͨ³£ÎÒÃÇÐèÒªÅäÖÃÎÒÃǵĻ·¾³£¬Ò²¾ÍÊÇ˵·þÎñÆ÷
ÒªÖ§³ÖPHP²ÅÄÜÐа¡
¡¡¡¡Ò»¡¢PHPµÄ»ù±¾½á¹¹£º
¡¡¡¡Ê¹ÓÃIncl ......
´î½¨ PHP Æäʵ²»ºÜÄÑ£¬Ö»ÊÇÓе㷱Ëö¡£ÒªÊÇ×Ô¼º´î½¨Ò»´Î PHP + MySQL »·¾³ºÜÊÇ·Ñʱ¡£¸üÔãµÄÊÇ£¬ºÜ¶àÐÂÊÖÔÚÅäÖà PHP
ʱ³£³£³öÏÖÕâÑùÄÇÑùµÄÎÊÌâ¡£ÖîÈç mysql À©Õ¹¡¢zend °²×°Ê§°ÜµÈµÈÎÊÌâ¡£Õâʱ£¬ÎÒÃÇÐèÒªÒ»¸ö¿ìËÙ¡¢±ê×¼ÇÒרҵµÄ PHP
Ì×¼þ°ü¡£PHPnow ¾ÍÕâÑùÓ¦Ô˶øÉú£¬ÎªÄã¿ìËٴרҵµÄÐéÄâÖ÷»ú¡£
Óë PHPnow µÄÃû×ÖÒ ......
__FILE__ ·µ»Øµ±Ç° ·¾¶+ÎļþÃû
dirname(__FILE__) ·µ»Øµ±Ç°Îļþ·¾¶µÄ ·¾¶²¿·Ö
dirname(dirname(__FILE__));µÃµ½µÄÊÇÎļþÉÏÒ»²ãĿ¼Ãû£¨²»º¬×îºóÒ»¸ö“/”ºÅ£© ......
ÕâÀï½éÉÜÒ»¸ö¼¯³É»·¾³ XAMPP¡£
XAMPP ÊÇÒ»¸öÒ×ÓÚ°²×°ÇÒ°üº¬ MySQL¡¢PHP ºÍ Perl µÄ Apache ·¢Ðа档XAMPP µÄÈ··Ç³£ÈÝÒ×°²×°ºÍʹÓãºÖ»ÐèÏÂÔØ£¬½âѹËõ£¬Æô¶¯¼´¿É¡£
ÏÂÔصØÖ·£º
http://www.apachefriends.org/zh_cn/xampp.html
µ½Ä¿Ç°ÎªÖ¹£¬XAMPP ¹²ÓÐÒÔÏÂËÄÖÖ°æ±¾£º
£¨1£©ÊÊÓÃÓÚ Linux µÄ XAMPP
£¨2£©ÊÊÓÃÓÚ Windows µ ......
ÎÒ´òËãÔÚÃüÁîÐÐÖÐÕâÑùµ÷ÓÃphp£º cat filename|php a.php£¬ÈÃa.php¶ÁÈ¡filenameÀïÃæµÄÿÐмǼ½øÐд¦Àí£¬·½·¨ÈçÏ£º
<?php
$fp = fopen("/dev/stdin", "r");
while($input = fgets($fp, 10000))
{
echo urldecode($input);
}
?>
......