php»ñÈ¡³ÌÐòÖ´ÐеÄʱ¼ä
ÔÚhead.htmÖмÓÈ룬Ҳ¾ÍÊÇÔÚĬÈÏÄ£°æÖÐÌí¼Ó“$stime=microtime(true); //»ñÈ¡³ÌÐò¿ªÊ¼Ö´ÐеÄʱ¼ä”
¾ä
<!--<?php
$stime=microtime(true); //»ñÈ¡³ÌÐò¿ªÊ¼Ö´ÐеÄʱ¼ä
$GuideFid[$fid]=str_replace("<a href='$webdb[www_url]' class='guide_menu'>>Ê×Ò³</a>","",$GuideFid[$fid]);
$fupId=intval($fupId);
$topMenu[$fupId]='ck';
print <<<EOT
-->
ÕâÀïÊÇÍøÒ³
ÔÙÔÚfoot.htmÐÞ¸ÄÈ磺
<!--
EOT;
$etime=microtime(true);//»ñÈ¡³ÌÐòÖ´ÐнáÊøµÄʱ¼ä
$total=$etime-$stime; //¼ÆËã²îÖµ
echo "<br />[Ò³ÃæÖ´ÐÐʱ¼ä£º{$total} ]Ãë";
?>
Ïà¹ØÎĵµ£º
ÏÖÔÚÊг¡ÉϵÄoa»ù±¾ÉϿɹé½áΪÁ½´óÕóÓª£¬¼´phpÕóÓªºÍjavaÕóÓª¡£µ«¶Ô½Ó´¥oa²»¾ÃµÄÓû§À´Ëµ£¬¿´µ½µÄÍùÍùÖ»ÊÇËüÃǵıíÏֻ࣬ÊÇÃ÷ÏԵļ۸ñ²îÒ죬ȴºÜÄÑ¿´³öËüÃÇÖ®¼äµÄʵ¼Ê²îÒì¡£Æäʵ£¬ PHP + MYSQL ²»ÖµÇ®²»½ö½ö¾ÖÏÞÓÚoaÈí¼þ£¬¶øÊÇÕûÌåÉÏPHP + MYSQL¿ª·¢µÄÈí¼þ¶¼²»Èçjava¿ª·¢µÄÈí¼þֵǮ¡£ÎªÊ²Ã´PHP + MYSQL µÄOAΪʲô²»ÖµÇ®Ä ......
ÔÚÏßʵʱÁÄÌìϵͳ£¬Ò»Ö±ÊÇÒ»¸ö±È½ÏÂé·³µÄ¶«Î÷¡£
Ò»°ãʵÏÖÔÚÏßʵʱÁÄÌ죬ÊÇÀûÓÃJSÔÚ¿Í»§¶ËʹÓÃajaxÿ¸ôÒ»¶¨µÄʱ¼ä¾Í·µ»Ø·þÎñÆ÷ÇëÇóÊý¾Ý£¬Èç¹ûÓÐеÄÁÄÌìÐÅÏ¢ÔòÓÃJS³ÊÏÖ¸øÓû§
ÎÒÃDz»ËµÕâÑù×öµÄÀû±×£¬Ö±½ÓÇÐÈëÕýÌ⣬ÈçºÎÀ´ÊµÏÖ·þÎñÆ÷ÍƵÄÔÚÏßÁÄÌìϵͳ
Ê×ÏÈ£¬ÎÒÏÈÇë´ó¼Ò¿´Ò»¸öÀý×Ó
¸´ÖÆ´úÂë
<?php
while(true){
&n ......
×î½üÏë°²×°PEAR(PHP Extension and Application Repository),µ«ÊÇÔÚÖ´ÐÐÅú´¦ÀíÎļþgo-pear.batµÄʱºò³öÏÖÁË´íÎó£º
phar "C:\php\PEAR\go-pear.phar" does not have a signature
PHP Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: phar error: ......
Í·²¿µ÷ÓÃ
<?
require('conn.php');
$sql1="select id from news";
$query1=mysql_query($sql1,$conn);
$sun_num=mysql_num_rows($query1);
$gs=20;
$page_num=ceil($sun_num/$gs);
include("../subpage.php");
//´«¹ýÀ´µÄÒ³Êý²ÎÊý
$PB_page=$_GET['PB_page'];
if ($PB_page==1 or empty($PB_page)){
$ ......
×î½üÓиöС¶«Î÷Òª²é¿´mssqlÊý¾Ý¿âÊÇÓÃphpʵÏֵģ¬ÒÔÇ°ÎÒÓÃphp5.2ʱ¸Ð¾õͦ¼òµ¥µÄËùÒÔÏëphp5.3Ò²Ó¦¸ÃºÜ¼òµ¥µÄ
ΪʲôҪÓÃphp5.3ÄØÒòΪÎÒÏëÓÃsqlite3.0µÄ°¡£¬ÒòΪphp5.2µÄ²»Ö§³Ösqlite3.0µÄ°¡£¬ËùÒÔÎÒÌØÒâÈ¥ÏÂÁË5.3ÁËÏÂÔØ»ØÀ´Á˲ŷ¢ÏÖ5.3ÀïûÓÐmssqlµÄdllÀ©Õ¹ÁË£¬ÓôÃÆ°¡£¬²»¹ÜÕâô¶àÏÈÓÃÆðÄÇsqlite3.0ÔÙ˵ÁË
sqlite3.0µÄ²¿·Ö ......