a.php
}
?>
This PHP communicates with the flex through AMF, and I debug to find out that as long as there is a date () function, Flex returns with an error.
AMF is the 2.1.1 version, I can't think of this problem again and again
a.php
}
?>
Reply to discussion (solution)
What is the error message?
What is the error message?
Flex Tip error message: Channel disconnected before an acknowledgement is received.
The current debug, Flex has reported this one error
It is estimated that there is no time zone specified, resulting in the use of the date () function warning.
Block warning errors in PHP, or add Date_default_timezone_set ("Asia/shanghai") to PHP;
Date (' Z ') returns a positive or negative number not exceeding 5 digits
Time returns a 10-digit number
Your gmtime should obviously return a GMT number of seconds.
If the caller of the Gmtime method checks for legitimacy, it is clear that the program is terminated with an error.
This you can verify
function Gmtime () { return; }
Date (' Z ') returns a positive or negative number not exceeding 5 digits
Time returns a 10-digit number
Your gmtime should obviously return a GMT number of seconds.
If the caller of the Gmtime method checks for legitimacy, it is clear that the program is terminated with an error.
This you can verify
function Gmtime () { return; }
Thank the moderator, here ask a lot of questions have your reply. The problem has been solved It is estimated that there is no time zone specified, resulting in the use of the date () function warning.
Block warning errors in PHP, or add Date_default_timezone_set ("Asia/shanghai") to PHP;
Plus just fine, it's really weird when I test, even if date (' s '); Also returns an error. I didn't even think of it here.