3¡¢ÍøվĿ¼Ë÷ÒýĬÈÏÊǹرյģ¬ÓÿØÖÆ̨½«Æ俪Æô£¬±ãÓÚºóÆÚ¶ÔÍøÕ¾£¨ÁôÑ԰壩µÄ²âÊÔ¡£
֪ʶ׼±¸£¨Ë¼Â·£©£º
1¡¢ÏȽéÉÜÈçºÎÓÃPHPÁ¬ÉÏÊý¾Ý¿â£¨Êý¾Ý¿âÓû§Ãû¡°root¡±£¬ÃÜÂë¡°sun¡±£¬Óп⡰myguestbook¡±£©
2¡¢PHPºÍMySQlͨÐÅ£¨SQLÓï¾ä£ºINSERT´æ£¬SELECTÈ¡£©£º
PHP¡ûMySQl£ºSELECT * FROM myguestbook£»
PHP¡úMySQL£ºINSERT INTO myguestbook(name,comment) VALUE ("ÕÅÈý","ÕâÊÇÁôÑÔ")£»
3¡¢SWFºÍPHPͨÐÅ£¨LoadVarsÀàµÄsendAndLoad·½·¨´æ£¬½âÎöXMLµÄ·½Ê½È¡£©£º
SWF¡ûPHP£ºPHPÓÃechoдxmlÎļþ£¬SWFÖ±½Ó½âÎö¸ÃÎļþ¡££¨ÎÒÒÔÇ°ÄÉÃÆΪʲôÀ¶É«µÄRSSÊÇPHP¸ñʽµÄ£¬Ñ§µ½ÕâÀï²ÅÃ÷°×¡££©
SWF¡úPHP£ºswfÓá°sendAndLoad¡±(data_lv.uname="ÕÅÈý")·¢ËͱäÁ¿£¬phpÓÃ$name=$_POST['uname']½ÓÊÕ±äÁ¿¡£
×¢£º
1¡¢ÁôÑÔ±¾Æäʵ¾ÍÊÇÕâÁ½¸öСµÄ¹ý³Ì£¬PHPÏ൱ÓÚÒ»¸öÇÅÁº¡£Ç¿ÁÒ½¨Ò齫2ºÍ3¶¼Ð´³öÒ»¸ö¼òµ¥µÄÀý×Ó£¬Àý×ÓÔËÐгɹ¦ÁË£¬ÁôÑÔ±¾Ã»¿ªÊ¼Ð´¾ÍÒѾÍê³ÉÒ»´ó°ëÁË¡£
2¡¢sendAndLoad¼È¿ÉÒÔ·¢ËͱäÁ¿¸øphp£¬Ò²¿ÉÒÔ½ÓÊÕphpµÄ±äÁ¿£¨ÀàËÆÓÚswf¶ÁÈ¡Îı¾£©¡£¿ÉÒÔ¿´»ðɽµÄ½Ì³Ì£¬ºÜÏêϸ¡£