php×Ö·û´®±È½ÏÓÃ==µÄÒ»¸ö½Ìѵ
Ò»Ö±ÈÏΪphpÖÐ×Ö×Ö·û´®±È½ÏÖ±½ÓÓÃ==À´Åжϻ¹ÊǺܷ½±ãµÄ,µ«½ñÌìÓöµ½µÄÒ»¸öÎÊÌâ,³¹µ×ÈÃÎÒÃ÷°×ÁËʹÓÃstrcmpµÄ±ØÒªÐÔ.Õâ¸öÎÊÌâºÜ¶àÀÏÊÖ¶¼¿ÉÄÜ»áºöÂÔµÄ.
½ñÌìÔڵǼ×Ô¼º×öµÄ³ÌÐòʱ,ÔÚÊäÈëÑéÖ¤Âëºó,ÏëÖ±½Ó°´Ð¡¼üÅÌÉϻسµµÇ¼(³ÌÐò¼ì²éÁ˻سµÊ¼þ)£¬½á¹û°´»Ø³µ°´³ÉÁ˼üÅÌÉϻسµ¼üÅÔ±ßСÊýµÄÄǸö¼ü,ÑéÖ¤ÂëÀ¸¾Í¶àÊäÈëÁËÒ»¸öµã¡£ÓÉÓÚµãºÜС£¬ÎÒ¾ÍûעÒ⣬ÔÙ°´ÁËÒ»´Î»Ø³µ£¬¾ÓÈ»ÑéÖ¤ÂëÑéÖ¤³É¹¦ÁË¡£Õâ²»¼û¹íÁËÂð£¿ÓÚÊÇÍ˳öÔÙÊÔÁËÒ»´Î£¬¶àÊäÈëÒ»¸öµã£¬¾ÓÈ»µÄÈ·¿ÉÒÔÑé֤ͨ¹ý¡£¹ûÈ»ÓÐÎÊÌ⣡µ«¶àÊä2¸öµã£¬ÔòÑé֤ͨ²»¹ýÁË¡£
´óº¹Ö®Ï£¬·¢ÏÖÊÇÑéÖ¤ÓÃÁË==¡£ÄѵÀ×Ö·û´®==»áºöÂÔ×îºóµÄÄǸöµã£¿
ÓÚÊÇ×öÁ˸öʵÑé¡£
$aa = '3306.';//¶à¸öµã
$b = '3306';
if($aa == $b) echo "숵遦";
¹ûÈ»µÃµ½µÄ½á¹ûÊÇÏàµÈ¡£
ÓúãµÈ === Ôò ²»»áµÃµ½ÏàµÈµÄ½áÂÛ.
ÓÃstrcmp()Ò²²»»áµÃµ½ÏàµÈµÄ½áÂÛ.
ÓÚÊÇÁ¢¿ÌÐÞÕý±àÂë¹æ·¶,½ûֹʹÓà == ×÷Ϊ×Ö·û´®ÏàµÈ±È½Ï.¸ÄÓÃstrcmp();
ÖÁÓÚΪºÎ == »áºöÂÔÄǸöµã.Éв»µÃÖª.
Ïà¹ØÎĵµ£º
configure: error: Unable to find libgd.(a|so)
Èç¹ûʹÓõÄÊÇubuntu»òdebian¾ÍºÜ¼òµ¥ÁË£¬Ö±½Ósudo apt-get install apache2
libapache2-mod-php5 php5 php5-gd ¾Í»ù±¾Éϸ㶨£¬µ«ÊÇÓÃÔ´´úÂë°²×°»¹ÊǺÜÂé·³¡«
wget http://www.boutell.com/gd/http/gd-2.0.11.tar.gz
tar zxvf gd-2.0.11.tar.gz
cd gd-2.0.11
sudo . ......
´úÂëÈçÏ£¬
// ½¨Á¢Ò»¸öÖ¸ÏòÐÂCOM×é¼þµÄË÷Òý
$word = new COM("word.application") or die("Can't start Word!");
// ÏÔʾĿǰÕýÔÚʹÓõÄWordµÄ°æ±¾ºÅ
echo "Loading Word, v. {$word->Version}
";
exit;
?>
ÓÐʱºòÄã»áµÃµ½Ò»¸ö´íÎó£¬
PHP Fatal error: Uncaught except ......
ÏÖÔÚÊг¡ÉϵÄoa»ù±¾ÉϿɹé½áΪÁ½´óÕóÓª£¬¼´phpÕóÓªºÍjavaÕóÓª¡£µ«¶Ô½Ó´¥oa²»¾ÃµÄÓû§À´Ëµ£¬¿´µ½µÄÍùÍùÖ»ÊÇËüÃǵıíÏֻ࣬ÊÇÃ÷ÏԵļ۸ñ²îÒ죬ȴºÜÄÑ¿´³öËüÃÇÖ®¼äµÄʵ¼Ê²îÒì¡£Æäʵ£¬ PHP + MYSQL ²»ÖµÇ®²»½ö½ö¾ÖÏÞÓÚoaÈí¼þ£¬¶øÊÇÕûÌåÉÏPHP + MYSQL¿ª·¢µÄÈí¼þ¶¼²»Èçjava¿ª·¢µÄÈí¼þֵǮ¡£ÎªÊ²Ã´PHP + MYSQL µÄOAΪʲô²»ÖµÇ®Ä ......
×î½üÏë°²×°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)){
$ ......