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

ÎÊÒ»¸öºÜ¼òµ¥µÄPHPÎÊÌâ - PHP / »ù´¡±à³Ì

ÔÚ±¾µØÓÃWindows+IIS¿ª·¢PHP,ÉÏ´«µ½PHPÐéÄâÖ÷»úÖ®ºó£¬·¢ÏֺܶàµØ·½²»¼æÈÝ¡£¸÷λÓÐʲôºÃµÄ½â¾ö°ì·¨£¿

1¡¢ÉÏ´«µÄ·þÎñÆ÷ÊÇUnixµÄ£¬¶ÔÎļþÃûºÍÎļþÃûµÄ´óСд¶¼Çø·Ö£¬µ«ÎÒÔÚÉè¼ÆµÄʱºò£¬Ã»Óп¼Âǵ½Õâ¸ö£¬ÏÖÔÚÖ»ÄÜÒ»¸öÒ»¸öÐÞ¸ÄÂð£¿

2¡¢´úÂëÈçÏ£¬±¾µØ¿ÉÒÔÕý³£»ñÈ¡Êý¾Ý£¬ÐéÄâÖ÷»úÉϾͲ»ÐУ¬ÏÔʾ¿Õ°×¡£

include("head.php");
$Istr=mysql_query("SELECT mess from genie_index");
@mysql_data_seek($Istr,0);
$Irs=@mysql_fetch_array($Istr);
$mess=$Irs["mess"];
mysql_close($Mysql_conn);

echo $mess µÄֵΪ¿Õ
//¼ÓÕâÁ½Ðп´Ê²Ã´´íÎó
ini_set("display_errors", "On");
error_reporting(7);


¼ÓÉÏÈ¥Ö®ºó£¬Ã»ÓÐÈκη´Ó¦¡£

·þÎñÆ÷ÉÏÊý¾Ý¿â½¨ºÃûÓÐ?Êý¾Ýµ¼ÁËûÓÐ?Êý¾Ý¿âÅäÖöÔÁËûÓÐ?

¼ÓÔÚ head.php µÚÒ»Ðп´ÏÂ

include("admin/Config/MySQL_conn.php");

MySQL_conn.phpÄÚÈÝÈçÏ£º

//Ô¶³ÌÊý¾Ý¿â
$Sql_server='localhost';
$Sql_user='Xinto';
$Sql_pass='xp123456';


$Mysql_conn=mysql_connect($Sql_server,$Sql_user,$Sql_pass);
if (!$Mysql_conn){
die('Could not connect: ' . mysql_error());
}


mysql_select_db("xxx_123",$Mysql_conn);

ÕâÀïÓ¦¸ÃÊÇû´íµÄ£¬Êý¾Ý¿âÀïµÄ±íºÍÊý¾Ý¶¼ÊÇÕý³£µÄ

½¨Òé±¾µØÓÃnigixµ÷ÊÔ

@ È¥µô¿´¿´¡£


ÒýÓÃ
ÉÏ´«µÄ·þÎñÆ÷ÊÇUnixµÄ£¬¶ÔÎļþÃûºÍÎļþÃûµÄ´óСд¶¼Çø·Ö£¬µ«ÎÒÔÚÉè¼ÆµÄʱºò£¬Ã»Óп¼Âǵ½Õâ¸ö£¬ÏÖÔÚÖ»


Ïà¹ØÎÊ´ð£º

±±¾©2ÄêPHP¾­ÑéÇó¼æÖ° - PHP / Framework

±±¾©2ÄêPHP¾­ÑéÇó¼æÖ°
½Ó·Ö

·¹ý½Ó·Ö£¡.¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

jf~~~~~~~~~~~~~~Ö§³Ö

ßÀ¡£¡£ÎÒÃÇÐèÒª¼æÖ°£¬¿ÉÊÇÔõôÁªÏµÄãѽ£¿

¶¥¡£¡£¡£ »Ø¸´ÄÚÈÝ »Ø¸´ÄÚÈÝÌ«¶ÌÁË£¡

º¼ÖÝÄãÈ¥²»È¥°¡ ¡£¡£¡£¡£¡ ......

PHPÈçºÎʵÏÖÓòÃûµÄ×Ô¶¯Ìøת... - PHP / »ù´¡±à³Ì

ÏÖÓÐÒ»PHP¿Õ¼ä£¬Ö§³ÖMYSQLÊý¾Ý¿â
Ϊ½ÚÊ¡·ÑÓã¬ÏÖÏëͨ¹ýÓòÃûתÏòĿ¼ÐÎʽ½øÐйÜÀí£¨¼´½«ÓòÃûA¼Ç¼£Û°üÀ¨¶¥¼¶ÓòÃû¼°¶þ¼¶ÓòÃû£Ý¶¼Ö¸Ïòͬһ¿Õ¼ä£©
È磺·ÃÎÊÓòÃû abcd.cn Ö±½Ó·ÃÎÊÍøÕ¾¸ùĿ¼
·ÃÎʶþ¼¶ÓòÃû ef.abcd.cn ......

phpÎļþµ÷ÓÃjsÎļþÀïµÄ·½·¨£¿ - PHP / »ù´¡±à³Ì

¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
»òÕßÔÚjsÎļþÀïµ÷ÓÃphpÎļþдµÄseesion£¿
PHP¸ÕÈëÃÅѧϰ,ÓÑÇ鶥һ¸ö


¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
//echo '<script>alert("ok");< ......

php ´¦Àí´óÌå»ýexcelÎļþ - PHP / »ù´¡±à³Ì

ʹÓÃÍøÉ쵀 phpexcelreader À࣬½«ÐéÄâ»úÄÚ´æµ÷ÕûÖµ1024M£¬excelÌå»ýΪ224M£¬ÓÃphpexcelreader¶ÁÈ¡µÄʱºòÄÚ´æ¸ù±¾²»¹»Óã¬Çë½Ì¸÷λÓÐʲôºÃµÄ·½·¨¶ÁÈ¡ÕâÖÖ´óÌå»ýµÄ excel ÎʼÛô£¿


excelÌå»ýΪ224M
·þÁË¡£¡£¡£ ......

ÓÃphp±¸·ÝÊý¾Ý¿â³É¹¦£¬»¹Ô­Ê±³ö´í - PHP / ¿ªÔ´×ÊÔ´

ÊÇÓñðÈËдµÄÀà×öµÄ£¬»¹Ô­Ê±ÌáʾYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin(seq,passwd,type,n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ