Re: [問題] FLEX Submit Form to PHP by using array
感謝大大推文提示!!!
目的:傳一個值可以讓CakePHP 的 $this->data 接收
做法:
private function resultHandler(event:ResultEvent):void {
var param:Object = new Object();
param["data[a][b]"]=456;
srv.send(param);
}
如此一來PHP吃到的如下:
Array{
[data]=>Array{
[a]=>Array=>{
[b]=>456
}
}
}
但是...
火狐 OK
IE 串流錯誤...
測試網址:https://www.goood.tw/klcc-system-ui/main.html
追加http:http://www.goood.tw/klcc-system-ui/main.html
另外,在 localhost 一律不行...
看來要走的路還很遠啊
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.85.58.90
※ 編輯: mosluce 來自: 219.85.58.90 (08/06 15:02)
※ 編輯: mosluce 來自: 219.85.58.90 (08/06 15:12)
※ 編輯: mosluce 來自: 219.85.58.90 (08/06 15:13)
→
08/06 15:16, , 1F
08/06 15:16, 1F
→
08/06 15:19, , 2F
08/06 15:19, 2F
※ 編輯: mosluce 來自: 219.85.58.90 (08/06 15:20)
→
08/06 16:29, , 3F
08/06 16:29, 3F
→
08/06 16:46, , 4F
08/06 16:46, 4F
→
08/06 16:47, , 5F
08/06 16:47, 5F
→
08/06 16:48, , 6F
08/06 16:48, 6F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):