开发者

How to avoid the annoying new line generated at SendAndLoad();

Please is there any workarround to avoid the new line generated while sending data using SendAndLoad(); in AS2 开发者_运维百科?

I send "00:00:12:36"

But php output:

00
:00
:12:36

Any help??


Weird...

var stripped:String = data.split("\r").concat(""); // or \n alternatively

removes it from actionscript, but you'd rather fix the php.


send:

escape("00:00:12:36")

and in PHP:

$myvar = urldecode($variableCameFromFlash);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜