¼±¼±¼±!!!!!!!! Çó¸ßÈ˽â¾öflashÓëphp½»»¥ÎÊÌâ
Ä¿±êÊǸù¾Ý°Ù¶È¹Ø¼ü´ÊÖ¸ÊýÇ÷ÊƵÄflash£¬»ñÈ¡°Ù¶Èij¸ö¹Ø¼ü´ÊÔÚij¶Îʱ¼äÄڵľßÌåÅÅÃû¡£Èç http://index.baidu.com/main/word.php?word=csdn µÚÒ»ÆÁÄǸöÇúÏßͼµÄflash£¬Êó±êÒƵ½Ä³Ò»Ì죬flash»áÏÔʾ¸Ã¹Ø¼ü´ÊijÌìµÄËÑË÷Á¿£¬ÎÒÒª»ñÈ¡µÄÊǾÍÊÇÕâ¸öËÑË÷Á¿¡£swfÎļþÎÒÒѾÏÂÔز¢Æƽ⣬µ«±¾È˲ËÄñ¿´²»¶®¡£Ö÷Òª´úÂë¶ÎÒÉËÆÒѾÕÒµ½£º
package baidu.index
{
import baidu.lib.utils.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
public class DataAccessor extends EventDispatcher
{
public var gateway:String = "http://tc-index-sdb00.tc.baidu.com:9999/gateway.php";
public var snapshotInterface:String = "http://tc-index-sdb00.tc.baidu.com:8888/main/show.php";
public function DataAccessor()
{
return;
¡£¡£¡£¡£¡£¡£
public function loadIndexes(param1:Array, param2:Array, param3:Array)
{
var self:DataAccessor;
var keys:* = param1; // ÕâÀïÊDz»ÊÇÍøÒ³´«µÝµÄ¹Ø¼ü´Ê²ÎÊý£¿£¿£¿
var areas:* = param2;
var periods:* = param3; // ÕâÀïÊDz»ÊÇÍøÒ³´«µÝµÄʱ¼ä¶Î²ÎÊý£¿£¿£¿
var con:* = new NetConnection();
self;
con.addEventListener(NetStatusEvent.NET_STATUS,
function (param1:NetStatusEvent) : void
{
trace("faultStatus");
dispatchErrorEvent(&qu
Ïà¹ØÎÊ´ð£º
µ±ÎÒÓÃPHPÏÂÔØ·þÎñÆ÷ÉϵÄwavÒôÀÖÎļþʱ£¬wavÎļþÄܹ»ÏÂÔØÏÂÀ´£¬²¢ÇÒ´óСÏàͬ£¬µ«ÊÇÈ´²»Äܲ¥·Å¡£µ«ÈôÊÇͨ¹ýÎļþ·þÎñÆ÷¿½±´µ½±¾µØ£¬ÊÇ¿ÉÒÔ²¥·Å¸ÃÎļþµÄ£¬²»ÖªµÀÈçºÎÔÒò¡£Í¨¹ýMD5sum¼ì²â£¬¸ÃÎļþÏÂÔغóÒѸı䣬²»ÖªµÀÔ ......
ÎÒÔÚmySqlÖÐÓÐÒ»×ֶοɴæhtml±êÇ©£¬±ÈÈç˵ÀïÃæÓÐa±êÇ©
µ«ÊÇÎÒÊäÈë²éѯÌõ¼þaµÄʱºò²¢²»Ïë²é³öÕâÌõ¼Ç¼£¬Ò²¾ÍÊÇ˵²éѯµÄʱºò²»¿¼ÂDZêÇ©,Ö»¿¼ÂÇÄÚÈÝ¡£
ÇëÎÊ´ó¼ÒÔõÑù½â¾ö£¿
¿ÉÒÔÔÙŪһ¸ö×Ö¶ÎÀ´±£´æ¹ýÂ˱êÇ©ºóµÄÄÚÈÝ¡£ ......
¾ÍÊÇÍøÉÏ×î¶àµÄÄÇÖÖFLASH·Ò³´úÂ룬·Ò³ÈÈÇø²ãµÄ´úÂëÈçÏ£º
JScript code:
#initclip 4
function onCreatePage(sender, pageMC, pageIndex)
{
var _loc1 = pageIndex;
var _loc2 = pageMC;
_loc ......
PHP code:
$date = '2009-12-25';
$ptn = '/([\d]{4})[- \/](0?[\d]|1[0-2])[-\/ ](0?[\d]|[1-2][\d]|3[0-1])/';
if (preg_match($ptn,$date,$out))
{
print_r($out);exit();
}
½á¹ûΪ:
PHP code:
......
Ò»¸öPHPµÄÎÊÌ⣬²»¹Ü·¢²¼Ê²Ã´¶¼ÊÇʧ°Ü
ÔÚ±¾µØ²âÊÔ¿ÉÒԳɹ¦£¬·ÅÔÚ·þÎñÆ÷ÉÏ£¬·¢²¼ÐÅϢҲʧ°Ü£¬ÐÞ¸ÄÀ¸Ä¿Ò²Ê§°Ü£¬
Ô´ÂëºÍÊý¾Ý¿â¶¼Ã»É¶ÎÊÌ⣬ȨÏÞ£¿Ã»ÓжÁ½øÊý¾Ý¿â£¿ÄÇÎÒÔÚ±¾µØ²âÊÔÓÖ¿ÉÒÔ·¢²¼ºÍÐ޸ģ¿
Çë½ÌÁË
ʧ°ÜÁËÌ ......