phpÑéÖ¤ÂëÏÔʾºìÉ«²æ²æ - PHP / »ù´¡±à³Ì
phpÑéÖ¤ÂëÏÔʾºìÉ«²æ²æ Õâ¸öÎÊÌâÀ§ÈÅÎÒ°ëÌìÁË¡£ÔÚ±¾»úÉϲâÊÔÊÇÕý³£µÄ£¬»·¾³ÊÇwin2003+php+mssql.ÏÔʾÕý³£¡£ ÏÖÔÚÎҰѳÌÐòתÒƵ½Ð·þÎñÆ÷ÉÏ£¬ÑéÖ¤Âë¾Í²»ÏÔʾÁË£¬²»ÖªµÀÊÇʲôÇé¿ö£¬ÎÒ¼ì²âÁË·þÎñÆ÷»·¾³£¬gdÊÇÖ§³ÖµÄ£¬ÈçÏÂͼ: µ«ÊÇ£¬¾ÍÊDz»ÏÔʾ£¬ÈçÓиßÊÖ£¬Çë¸úÌû£¬Ð»Ð»ÁË¡£
¿ìÀ´ÈË°¡¡£ ¾ÈÃü°¡£¡£¡£¡ ×Ö·û±àÂë¿ÉÄܻᵼÖÂÄãËù˵µÄÔÒò£¬ °ïÄ㶥Ï°ɣ¬Ë³±ãѧϰ¡£¡£¡£ ÇëÎÊÄãµÄ·þÎñÆ÷ÊÇlinux»¹ÊÇwindow2003? Èç¹ûÊÇlinux ¿´¿´Â·¾¶ÓÐûÓÐÎÊÌâ... »¹ÓÐÒ»ÖÖ¾ÍÊÇÖ±½Ó·ÃÎÊÄãµÄÉú³ÉÑéÖ¤ÂëͼƬµÄphpÎļþ. ¿´·þÎñÆ÷ÄÜ·ñÉú³É...ÒýÓà »¹ÓÐÒ»ÖÖ¾ÍÊÇÖ±½Ó·ÃÎÊÄãµÄÉú³ÉÑéÖ¤ÂëͼƬµÄphpÎļþ. ¿´·þÎñÆ÷ÄÜ·ñÉú³É... ·þÎñÆ÷ÊÇwin2003£¬ÎÒÖ±½Ó·ÃÎÊÏ£¬²»ÄÜÉú³É¡£ÇëÖ¸½Ì¡£ °Ñ´úÂëÌù³öÀ´¿´°¡¡£ÄãµÄheaderдµÃÕýÈ·Âð£¿ÒýÓà ÒýÓà 6 Â¥ woshiguozhongbin µÄ»Ø¸´: »¹ÓÐÒ»ÖÖ¾ÍÊÇÖ±½Ó·ÃÎÊÄãµÄÉú³ÉÑéÖ¤ÂëͼƬµÄphpÎļþ. ¿´·þÎñÆ÷ÄÜ·ñÉú³É... ·þÎñÆ÷ÊÇwin2003£¬ÎÒÖ±½Ó·ÃÎÊÏ£¬²»ÄÜÉú³É¡£ÇëÖ¸½Ì¡£ ÍøÉÏÕÒѰһЩÉú³ÉÑéÖ¤Âë´úÂë¿´¿´. Ìæ»»ÁËÊÔÊÔ... ÔÚÁíһ̨·þÎñÆ÷É϶¼ºÃºÃµØ£¬»»µ½Õâ¸ö·þÎñÆ÷¾Í²»ÐÐÁË£¬Ò²»»ÁË´úÂëÊÔÁË£¬»¹ÊDz»ÐУ¬ÎÒÂíÉÏ»»¸öÅäÖÃÎļþÔÙÊÔÏ¡£ ÎÒÊÔÁ˸ոգ¬»¹ÊÇÏÔʾºì²æ¡£´úÂëÊÇ£º PHP code: session_start(); function random($len)
Ïà¹ØÎÊ´ð£º
mssql_select_db("f1",mssql_connect("localhost","sa","sa")); mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......
ÈçÌ⣬Ôõôд¸öheadÍ·²¿ ÈÃÒ³Ã滺´æ1ÐÇÆÚ¡£ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); Äã°ÑÀïÃæµÄʱ¼ä£¬¸Ä³Éµ±Ç°Ê±¼ä¼ÓÉÏÒ»¸öÐÇÆÚ ¼ÇµÃҪת»»³Égmtʱ¼ä ÎÒÕâÑùдµÄ ²»ÖªµÀÐв»ÐС£ Ò»¸öÐ ......
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Çý¶¯³ÌÐò¹ÜÀíÆ÷] δ·¢ÏÖÊý¾ÝÔ´Ãû³Æ²¢ÇÒδָ¶¨Ä¬ÈÏÇý¶¯³ÌÐò, SQL state IM002 in SQLConnect in D:\0\msc\msc\tel.php on line 44 Í ......
Çë½Ì¸ßÊÖ°ï棬session_start£¨£©·ÅÔÚÍⲿµÄÎļþÓà require »ò include °üº¬½øÀ´£¬ÇëÎÊÕâÑù×öºÏÀíÂ𣿣¿´úÂëÔËÐÐÊÇÕý³£µÄ£¬ÕâÑù×öºÏÀíÂ𣿣¿Çë¸ßÊÖÖ¸µã¡£¡£¡£¡£ лл···· require »ò include ......
ÔÚÐÞ¸ÄÍêphp.ini£¬ºÍhpptd.confºó´ò¿ªhttp://localhostÄܹ»ÏÔʾIt Works!ͨ¹ýapacheÖ§³Öphp5²âÑé,²»¹ý²»ÖªµÀΪʲôºóÀ´´ò¿ªhttp://localhostºÍhttp://localhost/index.phpЧ¹û¶¼ÊÇPHPÐÅÏ¢¡£ ´ò¿ªhttp://localhost/i ......