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

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º¯Êý


Ïà¹ØÎĵµ£º

ʹÓà PHPnow ´î½¨ PHP »·¾³[ͼ]

 ´î½¨ PHP Æäʵ²»ºÜÄÑ£¬Ö»ÊÇÓе㷱Ëö¡£ÒªÊÇ×Ô¼º´î½¨Ò»´Î PHP + MySQL »·¾³ºÜÊÇ·Ñʱ¡£¸üÔãµÄÊÇ£¬ºÜ¶àÐÂÊÖÔÚÅäÖà PHP
ʱ³£³£³öÏÖÕâÑùÄÇÑùµÄÎÊÌâ¡£ÖîÈç mysql À©Õ¹¡¢zend °²×°Ê§°ÜµÈµÈÎÊÌâ¡£Õâʱ£¬ÎÒÃÇÐèÒªÒ»¸ö¿ìËÙ¡¢±ê×¼ÇÒרҵµÄ PHP
Ì×¼þ°ü¡£PHPnow ¾ÍÕâÑùÓ¦Ô˶øÉú£¬ÎªÄã¿ìËٴרҵµÄÐéÄâÖ÷»ú¡£
Óë PHPnow µÄÃû×ÖÒ ......

¹ãÖÝÖÐî£phpÅàѵ¿Î³Ì

    ÖÐî£Ð¯¶àÄêIt¸ß¶ËÅàѵ¾­Ñ飬¼¯ºÏÁËÖÚ¶à¹úÄڸ߼¶³ÌÐòÈ˲ţ¬ÍƳö½ðÅÆphpÅàѵ¿Î³ÌÌåϵ£¬ÒÔphp³ÌÐòÉè¼ÆΪÖ÷Ïߣ¬Í¬Ê±ÔöÉèÁËlinuxϵͳ¹ÜÀí£¬mysqlÊý¾Ý¿âϵͳӦÓã¬javascript¼¼Êõ¸ß¼¶Ó¦Óã¬Ajax¼¼Êõ¸ß¼¶Ó¦Óõȼ¼ÊõÀà¿Î³Ì£¬Ê¹ÄúÔÚÆðµã¾ÍÓëÊÀ½ç×îÖ÷Á÷¼¼Êõ½Ó¹ì¡£ÎªÁËÅàÑøѧԱµÄʵս¿ª·¢¼¼ÄÜ£¬ÖÐî£ÌرðÔÚÅàѵ ......

javaºÍphpÊý×Ö´¦ÀíÉÏ

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ÖеÄÎļþËø

ÎļþËøÓÐÁ½ÖÖ£º¹²ÏíËøºÍÅÅËûËø£¬Ò²¾ÍÊǶÁËø(LOCK_SH)ºÍдËø(LOCK_EX)
ÎļþµÄËøÒ»°ãÕâôʹÓãº
$fp = fopen("filename", "a");   
flock($fp, LOCK_SH) or die("lock error")   
$str = fread($fp, 1024);   
flock($fp, LOCK ......

PHP ¶à×Ö½Ú×Ö·û´®ºÍ×Ö·û¼¯

// ÎÒ¿´¹ýµÄÁ½±¾Êé PHP µÄÊéÖÐÌá¼°µ½ PHP6 µÄÐÂÌØÐÔ£¬ÆäÖÐÁ½¸öÊÇ namespace ºÍ unicode£¬
// ´Ó PHP5.3 ¿ªÊ¼£¬php ÒѾ­Ö§³Ö namespace ÁË; ¶ø Unicode ÔÚ PHP5.3 Öл¹Ã»Óз¢²¼¡£
//
// ¿´Êé¿´µ½ PHP µÄ¶à×Ö½Ú´¦Àí£¬Ï뵽ǰ¶Îʱ¼ä»¹»á×Ô¼º½ØÈ¡ ÖÐÓ¢»ìºÏµÄ×Ö·û´®£¬ÄÇʱºò»¨Á˺ܳ¤Ê±¼äÀ´¿´ utf£­8£¬
// gbk, gb2312, gb180 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ