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 + MySQL »·¾³ºÜÊÇ·Ñʱ¡£¸üÔãµÄÊÇ£¬ºÜ¶àÐÂÊÖÔÚÅäÖà PHP
ʱ³£³£³öÏÖÕâÑùÄÇÑùµÄÎÊÌâ¡£ÖîÈç mysql À©Õ¹¡¢zend °²×°Ê§°ÜµÈµÈÎÊÌâ¡£Õâʱ£¬ÎÒÃÇÐèÒªÒ»¸ö¿ìËÙ¡¢±ê×¼ÇÒרҵµÄ PHP
Ì×¼þ°ü¡£PHPnow ¾ÍÕâÑùÓ¦Ô˶øÉú£¬ÎªÄã¿ìËٴרҵµÄÐéÄâÖ÷»ú¡£
Óë PHPnow µÄÃû×ÖÒ ......
javaʹÓÃMathÀ࣬phpʹÓÃϵͳº¯Êý
ceil¹¦ÄÜ ´óÓÚµÈÓÚijÊý(³£ÓÃÓÚ·ÖÒ³Ò³Êý¼ÆË㣩
phpÖУºceil(a/b)
javaÖУº(int)Math.ceil((double)a/b)) Math.ceilÔÚjavaÖÐÐèÒª´«ÈëdoubleÐÍ£¬¶ø·µ»ØÒ²ÊÇdoubleÐÍ¡£×¢ÒâÕâÀïÓÃ(double)a/b²Å¿ÉÒÔ¡£
a/b,(dobule)(a/b)¶¼²»ÐС£ÒòΪËûÃÇ»áÏÈ×Ô¶¯ÉáÆúСÊýÈ¡µÃÕûÊý
flooe ......
PHPÊǸöΰ´óµÄweb¿ª·¢ÓïÑÔ£¬Áé»îµÄÓïÑÔ£¬µ«ÊÇ¿´µ½php³ÌÐòÔ±Öܶø¸´Ê¼µÄ·¸µÄһЩ´íÎó¡£ÎÒ×öÁËÏÂÃæÕâ¸öÁÐ±í£¬ÁгöÁËPHP³ÌÐòÔ±¾³£·¸µÄ10ÖдíÎ󣬴ó¶àÊýºÍ°²È«Ïà¹Ø¡£¿´¿´Äã·¸Á˼¸ÖÖ
1.²»×ªÒâhtml entities
Ò»¸ö»ù±¾µÄ³£Ê¶£ºËùÓв»¿ÉÐÅÈεÄÊäÈ루ÌرðÊÇÓû§´ÓformÖÐÌá½»µÄÊý¾Ý£© £¬Êä³ö֮ǰ¶¼Òª×ªÒâ¡£
echo $ ......
ϵͳ°æ±¾±È½Ï
mixed version_compare ( string version1, string version2 [, string operator] )
version_compare('5.1','<'); //±È½Ïµ±Ç°°æ±¾ÊÇ·ñСÓÚ5.1
ÊÇ·ñ¿ªÆô×Ô¶¯/
get_magic_quotes_gpc()
return 1 on: will add slash.
return 0 off:willn't add.
if(get_magic_quotes_gpc()) {
$cm ......
// ÎÒ¿´¹ýµÄÁ½±¾Êé PHP µÄÊéÖÐÌá¼°µ½ PHP6 µÄÐÂÌØÐÔ£¬ÆäÖÐÁ½¸öÊÇ namespace ºÍ unicode£¬
// ´Ó PHP5.3 ¿ªÊ¼£¬php ÒѾ֧³Ö namespace ÁË; ¶ø Unicode ÔÚ PHP5.3 Öл¹Ã»Óз¢²¼¡£
//
// ¿´Êé¿´µ½ PHP µÄ¶à×Ö½Ú´¦Àí£¬Ï뵽ǰ¶Îʱ¼ä»¹»á×Ô¼º½ØÈ¡ ÖÐÓ¢»ìºÏµÄ×Ö·û´®£¬ÄÇʱºò»¨Á˺ܳ¤Ê±¼äÀ´¿´ utf£8£¬
// gbk, gb2312, gb180 ......