ÔÚPHPÂÛ̳Öиоõ²»µ½Æø·Õ
¸ÐðÁË°É
ÄãÏëҪʲôÆø·Õ°¡¡£¡£
ÿ´ÎÓеãʲôÎÊÌ⣬Ìá³öÀ´ºÜ¿ì¾Í½â¾öÁË£¬ÎÒ¾õµÃÒѾºÜ²»´íÁ˺ò»£¬ÄãҪɶÊǶడ£¿
ÀäÇåûÊÂÄã¾ÍÇ¿Á¦¹àË®À´.
ÿÌì»ØÌû¼´¿É»ñµÃ10·Ö¿ÉÓ÷֣¡Ð¡¼¼ÇÉ£º½ÌÄúÈçºÎ¸ü¿ì»ñµÃ¿ÉÓ÷Ö
ÿÌì»ØÌû¼´¿É»ñµÃ10·Ö¿ÉÓ÷֣¡Ð¡¼¼ÇÉ£º½ÌÄúÈçºÎ¸ü¿ì»ñµÃ¿ÉÓ÷Ö
ÎÒ¸ø´ø ......
ÎÒÓÃdechex(rand(1,15)ÕâÑùÖ»ÄÜËæ»ú²úÉúÊý×ÖºÍСд×Öĸ£¬ÎÒÏëÈÃËü Ëæ»ú²úÉú´óд×Öĸ¡¢Ð¡Ð´×ÖĸºÍÊý×Ö£¬Ó¦¸ÃÔõôд£¿
»¹ÓÐÈç¹ûÒªËæ»ú²úÉúÖÐÎÄÄØ£¿¾Ý˵ÊÇÓÃÊý×é¿ÉÒÔ£¬µ«ÎÒ»¹ÊDz»»á¡£
ÎÒÊÇPHP³õѧÕߣ¬»¹Çë¸÷λָµãÏ¡£
$arr = array('a'..'1'..'ÖÐ');
$s = $arr[rand(0,sizeof($arr)-1)]; //Äã²»»áÏë°ÑËùÓеĺº×Ö¶¼ÁÐÈëËæ¼ ......
×î½ü¹«Ë¾»»Êý¾Ý¿â£¬mssql »» mysql ¡£´ó¼ÒÓÐʲôºÃµÄ·½·¨°¡£¡
²»ÓÃphpת»»£¬´æÔÚÊý¾ÝÄ£Ð͵ÄÎÊÌâ¡£±¾È˺ÜÏëÓÃphp£¬¿ÉÊÇmssqlÀ©Õ¹Ôõô¶¼¼ÓÔز»ÉÏ£¬¸ãÁËÒ»Ììû¸ãÃ÷°×£¡»·¾³ÊÇ£ºapache2.2.4£¬php5.3.2£¨°²×°³ÌÐò£¬extÀïÃæûÓÐmssql.dll)¡£
¶øÇÒÌý˵ÓÐÖ±½Óµ¼Èëµ¼³öµÄ¹¤¾ß£¬Ö»ÕÒµ½Á˸ömysql to mssql £¬²»ºÏÓ ......
ÎÒÓõÄselect Äܹ»ÔÚÏÂÔؾ«¶ÈºÍ״̬ҲÌí¼ÓÎÄ×Ö???»¹ÓоÍÊÇÔõÑùÔÚselectÉÏʵÏÖÓÒ¼ü²Ëµ¥Ñ¡Ôñ?
Õâ¸öºÃÏñÊÇwindows±à³Ì·½ÃæµÄÁË°É£¬ÄãÓÃselectÄÜʵÏÖ£¿
ÒýÓÃ
ÎÒÓõÄselect Äܹ»ÔÚÏÂÔؾ«¶ÈºÍ״̬ҲÌí¼ÓÎÄ×Ö???»¹ÓоÍÊÇÔõÑùÔÚselectÉÏʵÏÖÓÒ¼ü²Ëµ¥Ñ¡Ôñ?
windowsÄǾͼòµ¥ÁË ÏÂÔؾ«¶ÈºÍ״̬ҲÌí¼ÓÎÄ×ÖÎÒʵÏÖÁË ¾ÍÊÇÓÒ¼ü²»Öª ......
ÎÒÓÃswift·¢ËÍÒ»¸öÒ³Ãæµ½ÓʼþÀ·¢ËÍʱ³É¹¦ÁË£¬¿ÉÓʼþÏÔʾµÄ²»ÊÇÒ³Ã棬¶øÊÇHTML´úÂ룬ÕâÊÇΪʲô°¡£¿
ÔÚÍ·Àï¼Ó±êʶ£¬text/html±íʾÊÇhtmlÒ³
¼ÓÁË~
¿´¿´ÓʼþÏêϸµÄÍ·¡£
¼ÓµÄÍ·Æð×÷ÓÃû£¿
¶àÁËÕâЩ¶«Î÷£º
Message-ID: <1274692844.4bfa44ec45216@yomovo3.ln>
Date: Mon, 24 May 2010 17:20:44 +0800
Sub ......
±íµÄ½á¹¹
articleid, userid, date
1,1 ,12234234234
2,1 ,23423423423
3,2 ,22222222222
4,3 ,22222222111
5,3 ,23423423423
key articlied
Ò»¸öÎÄÕµıí½á¹¹¡£
ÈçºÎÇóµÃÒ»¸öÓû§µÄµÚÒ»¸ö×÷Æ·£¬
¿ÉÒԵĻ°ÔÙ¼ÓÒ»¸öÐèÇó£¬Ò»¸öÔÂÄÚµÄ
$time = mktime(0, 0, 0, -1);
$sql = "select * from xxx where use ......