php flash ͨÐÅ
flash ¶Ë
var loader:URLLoader = new URLLoader();
var url:URLRequest = new URLRequest("test.php");
url.method = URLRequestMethod.POST;
var values:URLVariables = new URLVariables();
values.message="hello im flash!";
url.data = values;
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE,loaded);
function loaded(e:Event) {
out1.text=loader.data;
//outPut: phpMessage=im php message!&flashMessage=hello im flash!
out2.text=loader.data.phpMessage;
// im php message!
out3.text=loader.data.flashMessage;
// hello im flash!
out4.text=loader.data.dbMessage;
}
loader.load(url);
php¶Ë
$flashData=($_POST["message"]=="")? $_GET["message"]:$_POST["message"];
ºÜÓôÃÆphpÖеò»µ½Êý¾Ý Çë´óÏÀÃÇÖ¸µ¼ÏÂ
Ì«NbµÄ²»»á¡£¡£¶¥°É¡£¡£
function loaded(e:Event) {
û¿´³öÄÄÀïÓÐÎÊÌâ¡£¡£
²»¶®£¡
out1.text=loader.data;
//outPut: phpMessage=im php message!&flashMessag
Ïà¹ØÎÊ´ð£º
¶Ôphp²»ÊǺÜÁ˽â дÁ˸ö¼òµ¥µÄÀý×Ó
ÏÖÓÃc#µ÷ÓÃphpдµÄ webservice£¨soap WSDL£©iis6.0+php5.2.8
webserviceÈçÏÂ
<?php
class WebService
{
public function Logout()
{
//header('Co ......
¸÷λ´óЩ
ÇóÒ»¶Îphp´úÂë
¿ÉÒÔʵÏÖÒÔϹ¦ÄÜ
Õë¶Ô²»Í¬µÄä¯ÀÀÆ÷ÏÔʾ²»Í¬µÄͼƬ
¾ÍÊÇÓÐÒ»ÕÅͼƬ£¬Ö»Ïë¸øie6Óû§¿´µ½
Èç¹ûie7¡¢chrome¡¢firefoxÓû§ä¯ÀÀÔòÏÔʾÁíÍâÒ»ÕÅͼƬ
¼Û¸ñ²»ÒªÌ«ÀëÆ×¾ÍÐÐ ......
´úÂëÈçÏ£º
function uc_get_user($username, $isuid=0) {
$return = call_user_func(UC_API_FUNC, 'user', 'get_user', array('username'=>$username, 'isuid'=>$isuid));
return UC_CONNECT == 'mysql' ......
°²×°ÁËAPHACHE
¿ÉÊÇÔËÐÐÍøҳʲô¶¼Ã»ÓÐ
¼±
»¹ÏëÇëÎÊÏÂ,JSP.PHP.ASP.NET ÄǸö¹¤×ʸ߰¡,
»ØÌû¾Í¼Ó·Ö
»¹Òª×°php5
×öµÃºÃ£¬Äĸö¹¤×ʶ¼¸ß¡£
http://download.csdn.net/source/1712990 Õâ¸öÀïÃæÓÐÕû¸öPHPµÄ° ......