[請益] 如何消除<meta http-equiv=...>?

看板PHP作者 (揪~~竟,能不能考上?)時間12年前 (2013/06/29 12:06), 編輯推噓1(104)
留言5則, 4人參與, 最新討論串1/1
大家好, 我現在在寫AS3與PHP溝通的程式, 我的PHP如下: <?php echo "auth_code=$auth_code"; ?> 但我在flash端收到的卻是: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> auth_code=0 因此使用loader.data.auth_code讀不到資訊. 我該如何消除 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 謝謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.166.212.106

06/29 15:09, , 1F
use header function ?
06/29 15:09, 1F

06/29 19:55, , 2F
這個我猜是 php 所在伺服器的設定 @@
06/29 19:55, 2F

06/29 19:56, , 3F
直連 php 的話也會有嗎? 也會的話應該就是了
06/29 19:56, 3F

06/29 22:25, , 4F
將PHP放在local或是放遠端都會發生;伺服器如何設定?
06/29 22:25, 4F

07/15 21:59, , 5F
用php輸出你要的內容為xml格式,這樣as讀取就簡單了.
07/15 21:59, 5F
文章代碼(AID): #1HpbrFbE (PHP)
文章代碼(AID): #1HpbrFbE (PHP)