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

ʹÓÃxml flashÓëASPͨÐŵļ¸ÖÖ·½·¨

FlashÖеÄXML¶ÔÏóÒ²Óз½·¨¿ÉÒÔ½«XMLÊý¾ÝÏò·þÎñÆ÷·¢ËÍ¡£¼´sendºÍsendAndLoad¡£send·½·¨Ïòij¸ö URL ´«µÝ XML ¶ÔÏ󣬷µ»ØµÄÐÅÏ¢¶¼±»·¢Ë͵½ÁíÍâÒ»¸öä¯ÀÀÆ÷´°¿Ú£»sendAndLoad ·½·¨Ïòij¸ö URL ·¢ËÍÒ»¸ö XML ¶ÔÏó¡£·µ»ØµÄÐÅÏ¢¶¼·ÅÔÚÒ»¸öXML¶ÔÏóÖС£
ÔÚijÖ̶ֳÈÉÏ£¬ XMLµÄsend·½·¨ºÍsendAndLoad·½·¨ÀàËÆÓÚloadVars¶ÔÏóµÄsend·½·¨ºÍsendAndLoad·½·¨¡£
ÒÔloginϵͳΪÀý¡£Ê×ÏȽ«FlashÖÐÐèÒª´«Ë͵ÄÐÅÏ¢£¨Óû§ÃûºÍÃÜÂ룩ת»»³ÉÒ»¸ö XML ¶ÔÏó£¬È»ºó½«Êý¾Ý×÷Ϊ XML Îĵµ·¢Ë͵½·þÎñÆ÷¶Ë½Å±¾¡£ÔÚ·þÎñÆ÷¶ËÎÒÃÇ»¹ÊÇ´ÓÊý¾Ý¿âÖÐÌáÈ¡ÏàÓ¦µÄÊý¾Ý£¬ÔÚ·þÎñÆ÷¶Ë½Å±¾ÖжÔÕâÁ½ÖÖÐÅÏ¢ÑéÖ¤¡£×îºó½«ÑéÖ¤³É¹¦µÄÐÅÏ¢Ò²ÒÔXML¸ñʽ´«ËÍ»ØFlash¡£Í¼1ÏÔʾÁËÕâÖֽṹ£º
Ê×ÏÈ£¬¿´¿´Êý¾Ý¿âµÄ½á¹¹£¬ºÜ¼òµ¥£¬ÓÃAccess×öÒ»¸öÃûΪlogin.mdb£¨´æ´¢µ½Í¬swf£¬aspÎļþͬͬһĿ¼Ï£©µÄÊý¾Ý¿âÎļþ£¬È»ºóн¨Ò»¸öÃûΪadminµÄ±í£¬µÚÒ»¸ö×Ö¶ÎÃû³ÆÊÇ”id”£¬Êý¾ÝÀàÐÍÊÇ×Ô¶¯±àºÅ£»µÚ¶þ¸ö×Ö¶ÎÃû³ÆÊÇusername£¬Êý¾ÝÀàÐÍÊÇÎı¾¡£×ֶδóС¸ÄΪ16£»µÚÈý¸ö×Ö¶ÎÃû³ÆΪpassword£¬Êý¾ÝÀàÐÍÊÇÎı¾£¬×ֶδóСҲ¸ÄΪ16¡£±í½á¹¹Èçͼ2Ëùʾ£º
½Ó×Å£¬ÎÒÃÇÓÃFlash×öÒ»¸öµÇ¼½çÃ档ΪÁËʹµÃÕâ¸ö½çÃæÔÚÆäËûµØ·½Ò²ÄÜÓõ½£¬¿ÉÒÔ½«ËùÓеÄÔª¼þ¶¼¼¯Öе½Ò»¸öÃûΪloginµÄMCÀïÃæ¡£Õâ¸öMCµÄ»ù±¾½á¹¹ÈçÏ£º
bg²ã£ºÓÃÀ´·ÅÖõǼ½çÃæµÄ±³¾°¡£µÚ¶þÖ¡¼Ó¹Ø¼üÖ¡£»
Title²ã£ºÓÃÀ´·ÅÖñêÌâMC£¬MCÃû×ÖΪtitle£¬ÒòΪֻÊÇÒ»¸ö±êÌ⣬¾Í²»ÁгöÕâ¸öMCµÄ½á¹¹ÁË¡£µÚ¶þÖ¡¼Ó¹Ø¼üÖ¡£»
Inputbg²ã£ºinputÎı¾µÄ±³¾°¡£
InputTXT²ã£ºÁ½¸öinputÎı¾£¬µÚÒ»¸öµÄvarΪname£¬µÚ¶þ¸öµÄvarΪpass£¬ÀàÐÍΪPassword£¬ÎÒÃÇÒªÏò·þÎñÆ÷·¢Ë͵ıäÁ¿¾Í´ÓÕâÀï»ñµÃ£»
Pushbt²ã£ºÒ»¸öÈ·¶¨°´Å¥(Ãû×ÖΪpushbt)£¬ÓÃÀ´·¢ËÍÒ»¸öXML±äÁ¿£¬ÆäactionÈçÏ£º
Action for pushbt:
on (release, keyPress "<Enter>") {
//н¨Ò»¸öxml¶ÔÏ󣬽ڵãÃ÷ΪLOGIN¡£ÔÚÊôÐÔ
//Öдæ·ÅÓû§ÃûºÍÃÜÂë
loginXML = new XML();
loginElement = loginXML.createElement("LOGIN");
loginElement.attributes.name = this.name;
loginElement.attributes.pass = this.pass;
loginXML.appendChild(loginElement);
//н¨Ò»¸öxml¶ÔÏó£¬ÓÃÀ´´æ·Å´Ó·þÎñÆ÷·µ»ØµÄÐÅÏ¢
loginReplyXML = new XML();
loginXML.sendAndLoad("http://localhost/chklogin.asp", loginReplyXML);
Msg = "ÕýÔڵȴý·þÎñÆ÷ÑéÖ¤";
gotoAndStop(2);
}
ÕâÒ»²ãÓÐÁ½Ö¡£¬µÚÒ»Ö¡µÄactionΪstop();µÚ¶þÖ¡ÉϵÄactionΪ


Ïà¹ØÎĵµ£º

xml½ÚµãÐÅÏ¢

xml£º 
<?xml version="1.0" encoding="utf-8" ?>
<library>
 <name>Ê׶¼Í¼Êé¹Ý</name>
 <address>³¯ÑôÇø»ªÍþÇÅÄÏ</address>
 <books>
  <book type="math">
   <id>0000</id>
  </book&g ......

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ
Ò»¡¢vs2005—н¨ÏîÄ¿—C#Àà¿â
Àà¿âÔ´ÂëÈçÏÂ(°üº¬½Ó¿Ú£¬À࣬ʼþ½Ó¿Ú)£º
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
namespace entryclass
{
   ......

asp·À¶ñÒâ×¢²á¼°¹àË®

֮ǰд¹ýÒ»¸ö²»ÓÃÑéÖ¤ÂëµÄ·À×¢²á»ú·½·¨£¬Ê¹ÓÃÁ˽«½ü2Äêºó£¬³¹µ×ʧЧ¡£
½ñÌìżȻײ¼ûÒ»¸ö·ÀÖ¹¶ñÒâ×¢²áµÄ·½·¨£¬ÕýÔÚ˼¿¼ing¡£ÏÈ°Ñ·½·¨ÁÐÏ£º
»ñÈ¡¿Í»§¶ËÌá½»µÄÐÅÏ¢£»
½«ÐÅÏ¢´æÈë Session£»
Éú³ÉÒ»¸öËæ»úÊý£¨³ÆΪ ticket£©£»
½«Ëæ»úÊýÒ²´æÈë Session£»
Óà JavaScript µÄÐÎʽ½«Ëæ»úÊýÒÔÁ´½ÓµÄÐÎʽÊä³ö£¬²¢Ìáʾ¿Í»§µã»÷ÉÏÒ ......

C#ÖвÙ×÷XML Node½Úµãϸ½Ú²Ù×÷

ÎÄÕÂÀ´Ô´£ºIT¹¤³Ì¼¼ÊõÍø http://www.systhinker.com/html/43/n-11643.html
ÓõÄÊÇÒ»Öֺܱ¿µÄ·½·¨£¬µ«¿ÉÒÔ°ïÖú³õѧÕßÁ˽â·ÃÎÊXML½ÚµãµÄ¹ý³Ì¡£
ÒÑÖªÓÐÒ»¸öXMLÎļþ£¨bookstore.xml£©ÈçÏÂ:
<?xml version="1.0" encoding="gb2312"?>
<bookstore>
  <book genre="fantasy" ISBN="2-3631-4">
  ......

ASP³ÌÐòÕûºÏUCenter Server·½·¨ºÍʵÏÖ

±¾³ÌÐòÊÇaspʵÏÖ php uc_client ¹¦ÄÜ
³ÌÐò˵Ã÷
ÍøÉϵÄһЩ´úÂëºÅ³ÆUCenter ÕûºÏASp£¬µ«ÊǴ󲿷ֶ¼Ã»ÓÐÒ»¸öʵÀý£¬Ö»ÓÐÒ»¸ö¼ÓÃܽâÃܺ¯Êý£¬ºÜ¶àÐÂÊÖÎÞ·¨ÀûÓÃÆä½øÐÐʵ¼ÊÓ¦Óá£
½üÆÚ¹«Ë¾ÍøÕ¾ÏîÄ¿--¿ÎÌÃÎÞÓÇ ÐèÕûºÏasp ucenter£¬Ñо¿ÁËÒ»°ÑUCenter£¬Ð´ÁËÕâ¸ö·¶Àý³ÌÐò
ËäȻֻ¼òµ¥Ð´Á˵ǽºÍ×¢²á²¿·Ö¹¦ÄܵÄʵÏÖ£¬ÆäÓàÄ£¿éÄú¿ÉÒÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ