[問題] AMFPHP多變數呼叫
我參考這個網頁
http://blog.raienet.com/category/Flash%E7%9B%B8%E9%97%9C/amfphp
flash:
function ok(res:Object):void {
trace(res+"ok");
}
function ng(res:Object):void {
trace(res+"ng");
}
var r:Responder = new Responder(ok, ng);
c.call('superlogin.superlogin', r, (acc.text), (pas.text));
php:
<?php
class superlogin{
function superlogin($acc,$pas){
return true;
}
?>
失敗(一直跑出ng)
但是改成一個變數acc就可以跑
--
◤ __ \__◣ ◢◤◢◤ ψhirabbitt
◢ ◤ ◢███◣ ◢███◣
我不是m █████ █████ 我不是s
██●█● █▇███
是溫柔 ██╱╲ ●◥█████◣● 是傲嬌
◥╱█╱╱ ● ◥████ ˇ
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.36.66.122
→
03/13 20:34, , 1F
03/13 20:34, 1F
→
03/13 20:46, , 2F
03/13 20:46, 2F
→
03/13 20:47, , 3F
03/13 20:47, 3F
→
03/13 20:47, , 4F
03/13 20:47, 4F
→
03/13 20:49, , 5F
03/13 20:49, 5F
→
03/13 20:55, , 6F
03/13 20:55, 6F
→
03/13 20:55, , 7F
03/13 20:55, 7F
→
03/13 21:04, , 8F
03/13 21:04, 8F
→
03/13 21:14, , 9F
03/13 21:14, 9F
→
03/13 21:30, , 10F
03/13 21:30, 10F
→
03/13 21:41, , 11F
03/13 21:41, 11F
→
03/13 21:46, , 12F
03/13 21:46, 12F
→
03/13 21:47, , 13F
03/13 21:47, 13F
Flash 近期熱門文章
PTT數位生活區 即時熱門文章