Ò»¸ö¼òµ¥µÄPHPÐÂÎÅ·¢²¼ÏµÍ³
Ñ¿ÓêÔ´´PHPÐÂÎÅϵͳ½Ì³Ì£¨µÚÒ»°æ£©µÚÒ»½²£ºÓà phpmyadmin ½¨Á¢Êý¾Ý¿â
Ê×ÏȽ¨Á¢Ò»¸öÊý¾Ý¿â£¬ÃûΪ yayu ¡£ÔÚÕâ¸öÊý¾Ý¿âϽ¨Á¢Ò»¸öÊý¾Ý±í£¬ÃûΪ news ¡£ÏÂÃæ½øÈëÒ»¸öÖص㣬ÄǾÍÊÇÔÚ±í news Ͻ¨Á¢¸÷¸ö×ֶΡ£
ÄÇô£¬Ê²Ã´½Ð×Ö¶ÎÄØ£¿Í¨Ë׵㣬¾ÍÊÇÒ»ÀàÊÂÎïµÄ×ܳơ£±ÈÈç˵£¬ËùÓеÄÐÂÎÅ·¢±íʱ¼äÓÃÒ»¸öÃû´ÊÀ´´ú±í£¨´ÓżµÄ¾ÑéÀ´¿´£¬Óà phpmyadmin ½¨Á¢×ֶοÉÒÔÓÃÖÐÎÄ£¬µ«´ÓÏ°¹ßÀ´Ëµ»¹ÊÇÓÃÓ¢ÎÄ£¬Ã»°ì·¨£¬¼ÆËã»úÃÀ¹ú×îÅ£Â¡£Å¼ÃÇÓÓ time ”À´±íʾ¡£ÔÚ×ֶΠtime Ï¿ÉÒÔÓÐºÜ¶à“·¢±íʱ¼ä”£¬ÄÇôÈçºÎÀ´Çø·ÖÕâЩʱ¼äÄØ£¬Õâ¸ö¿ÉÒÔ²éѯÆäËü×Ö¶ÎϵÄÄÚÈÝ£¬±ÈÈçżÃǽ¨Á¢ÐÂÎŵıêÌâµÄ×Ö¶ÎΪ“ title ”£¬ title ×Ö¶ÎϵÄÄÚÈÝ°´ÕÕ³£Àí˵À´ÊÇûÓÐÒ»ÑùµÄ¡£ËùÒÔ¿ÉÒÔͨ¹ýÒ»¸ö±êÌâÀ´²éѯÕâ¸ö·¢±íʱ¼ä¡£ÆäʵÎÒÃÇ¿ÉÒÔÈÃÿ¸ö title »ò time ϵÄÄÚÈݶ¼¶ÔÓ¦Ò»¸ö±àºÅ£¬ÄǾÍÊÇ×ֶΗ—
“ id ”£º×ֶΓ id ”ÊÇÒ»¸öÈËÃÇĬÈϵÄÊ×Ñ¡×ֶΣ¬ÆäËü×Ö¶ÎϵÄÄÚÈÝ¿ÉÒÔÖظ´³öÏÖ£¬µ«Õâ¸ö×Ö¶ÎÈ´ÊÇ´Ó 1 ¿ªÊ¼Ôö´óµÄ°¢À²®Êý×Ö¡£ÔÚÉèÖÃÕâ¸ö×Ö¶Îʱ£¬ÒªÉèÖÃÖ÷¼ü¡¢Ë÷Òý¡¢Î¨Ò»ÒÔ¼° auto-increment ¡£Õâ¸ö auto-increment ¾ÍÊÇ×Ô¶¯Ôö¼ÓµÄÒâ˼¡£µ±ÈÎÒ»×Ö¶ÎÔö¼ÓÄÚÈÝʱ£¬Õâ¸ö×ֶξÍ×Ô¶¯Ôö¼Ó 1 £¬Ò²¾ÍÊÇ˵£¬ÈÎÒ»×ֶζ¼¶ÔÓ¦Ò»¸öΨһµÄ id £¬±ÈÈç 1 ¡¢ 2 ¡¢ 7 ……
ÏÂÃæ̸̸ÐÂÎŲ¿·Ö×ֶεĽ¨Á¢¡£
1. id £ºÒâÒåΪÿ¸öÐÂÎŵıàºÅ£¬ËüÊÇΨһµÄ£¬ÀàÐÍΪ tingint £¬Õâ¸ö tingint ÀàÐÍÎÞÐëÖ¸¶¨³¤¶È£¬ÏµÍ³Ä¬Îª 4 £»ÔÚ“¶îÍâ”ÖÐÑ¡Ôñ auto-increment £¬²¢Ñ¡ÔñÖ÷¼ü¡£
2. author £ºÒâÒåΪ×÷Õߣ¨ÐÂÎÅ·¢²¼ÈË£©£¬ÉèÖÃÀàÐÍΪ varchar £¬ÉèÖÃÕâ¸ö×ֶ㤶Èʱ£¬Èç¹û¿¼ÂÇ×÷Õß¾ùΪÖйúÈË£¬Ôò 8 ¸ö×Ö½ÚΪÉÏÏÞ£¨ 4 ¸öºº×Ö£©£¬µ«Èç¹û¿¼Âǵ½×÷Õß¿ÉÄÜΪÍâ¹úÈË£¬ 8 ¸ö×Ö½ÚÏÔȻ̫ÉÙÁË£¬¶ÔÆäËü×Ö¶ÎÒ²´æÔÚͬÑùµÄÎÊÌ⣬ÔÚÕâÀïżÃǰѳ¤¶ÈÉèÖÃΪ 8 °É¡£
3. title £ºÒâÒåΪÐÂÎűêÌ⣬ÀàÐÍΪ varchar £¬³¤¶ÈΪ 60 °É£¬ÊôÐÔΪ primany key ¡£
4. content £ºÒâÒåΪÐÂÎŵÄÄÚÈÝ£¬ÀàÐÍΪ text ¡£Õâ¸öÀàÐÍÎÞÐëÉèÖó¤¶ÈÁË¡£
5. source £ºÒâÒåΪÐÂÎŵÄÀ´Ô´£¬ÀàÐÍΪ varchar £¬³¤Îª 60 ¡£
6. date £ºÒâÒåΪ·¢±íʱ¼ä£¬ÀàÐÍΪ datetime £¬³¤¶ÈÎÞÐëÉèÖã¬ÊôÐÔΪ primany key ¡£
ÏÂÃæ²¹³äÒÔÏÂ×Ö¶ÎÀàÐ͵ÄÏà¹ØÄÚÈÝ£º
1 £® date £ºÊ±¼äºÍÈÕÆÚÀàÐÍ¡£Ê±¼äºÍÈÕÆÚÀàÐÍ»¹°üÀ¨ÒÔÏ£º
⊕ datetime : 0000-00-00 00:00:00
⊕ date: 0000-00-
Ïà¹ØÎĵµ£º
phpÏÂÔØ£º
http://windows.php.net/download/
Ñ¡Ôñ
VC6 x86 Thread Safe (2010-Mar-04 20:11:08)
VC6 x86´ú±í Apache HTTP Server (httpd) 2.2.15 ºÍPHP½áºÏ
apacheÏÂÔØ£º
http://httpd.apache.org/download.cgi#apache22
Ñ¡Ôñ2.2.15
httpd-2.2.15-win32-x86-no_ssl.msi [PGP] [MD5] [SHA1]
apache services 2.2Ð ......
//Èç¹û$waitAckSecΪ0£¬Ôò·µ»Ø³É¹¦·¢Ë͵Ä×Ö½ÚÊý
//Èç¹û$waitAckSec´óÓÚ0£¬Ôò·µ»Ø·¢Ëͺó½ÓÊÕµ½µÄÄÚÈÝ
//ÈκÎÇé¿öÏ£¬Ê§°Ü¶¼·µ»ØFALSE
function SendUDP($host, $port, $buff, $waitAckSec=0)
{
$result = FALSE;
$socket = ($result=@socket_create(AF_INET, SOCK_DGRAM, SOL_U ......
Ä¿Ç°ÔÚInternetÉϹ㷺ʹÓõĺǫ́¼¼ÊõÖÖÀà·±¶à£¬Ó¦ÓñȽϹ㷺µÄÓÐCGI£¬ASP£¬PHP£¬JSP/JavaServlet£¬ColdFusionµÈ¡£ÔÚÕâÒ»½ÚÀÖ÷Òª½éÉܼ¸ÖÖÔÚ¹úÄÚÓ¦ÓñȽϹ㷺µÄºǫ́ÓïÑÔ¡£
¡¡¡¡CGI£¬È«³ÆΪCommon Gateway Interface
¡¡¡¡CGI¾ÍÊǹ«¹²Íø¹Ø½Ó¿Ú (Common Gateway Interface) µÄËõд¡£ËüÊÇ×îÔç±»ÓÃÀ´½¨Á¢¶¯Ì¬ÍøÕ¾µÄºǫ́¼¼Êõ ......
±¾ÎÄת×ÔÎҵIJ©¿Í£º(my.unix-center.net/~xiaoshe)
http://my.unix-center.net/~xiaoshe/2010/04/19/%E4%B8%80%E4%B8%AA%E8%B6%85%E7%BA%A7%E7%AE%80%E5%8D%95%E7%9A%84php%E6%8A%95%E7%A5%A8%E7%B3%BB%E7%BB%9F%EF%BC%8C%E4%B8%8D%E4%BD%BF%E7%94%A8%E6%95%B0%E6%8D%AE%E5%BA%93/
´ÓÍøÉÏ·¢ÏÖµÄÒ»¸ö³¬¼¶¼òµ¥µÄ»ùÓÚphpµÄͶ ......
Èç¹ûÔÚPHPÖÐҪʵÏÖ¶Ô²ÊƱµÄʵÏÖÓ¦¸ÃÔõô×öÄØ£¿
¸ù¾ÝÇ°Ã漸ÕÅÌáµ½µÄ¼¸ÖÖÊý×éÓ÷¨£ºPHP˳ÐòÅÅÐò£¬PHP——¶þ·Ö·¨²éÕÒÊý¾Ý£¬ÔÚPHPÊý×éÖÐËÑË÷Ö¸¶¨µÄÖµ£¬PHPÊý×éµÄÈëÕ»Óë³öÕ»£¬ºÏ²¢£Ð£È£ÐÊý×飬Äܹ»ÊµÏÖ²ÊƱ¹¦ÄÜÂð£¿
´ð°¸ÊÇ£º¿ÉÒÔ¡£µ«ÊÇÕâÑù×öµÄ´úÂë»á±äµÃºÜÓ·Öס£
Õâʱ£¬ÎÒ¿´µ½ÁËphpµÄshuffleº¯Êý¡£shuffleº¯Êý¿É ......