Php communicates with flex through amf. After debugging, I found that if there is a date () function, the flex returns an error. a. php
}
?>
This php communicates with flex through amf. After debugging, I found that as long as there is a date () function, flex returns an error.
Amf version 2.1.1.
A. php
}
?>
Reply to discussion (solution)What is the error message?
What is the error message?
Flex prompts an error message: Channel disconnected before an acknowledgement was already ed.
This error is reported for all current debugging and flex operations.
It is estimated that the time zone is not specified, resulting in the use of the date () function warning.
Prevent warning errors in php, or add date_default_timezone_set ("Asia/Shanghai") to php ");
Date ('Z') returns positive and negative numbers with no more than five digits
Time returns 10 digits.
Apparently, your gmtime should return the number of seconds of a Greenwich Mean Time.
If the caller of the gmtime method performs a validity check, the program will be terminated due to an error.
You can verify this.
function gmtime() { return 100; } Date ('Z') returns positive and negative numbers with no more than five digits
Time returns 10 digits.
Apparently, your gmtime should return the number of seconds of a Greenwich Mean Time.
If the caller of the gmtime method performs a validity check, the program will be terminated due to an error.
You can verify this.
function gmtime() { return 100; }
Thanks to the moderator, you have replied to many questions. Problem solved It is estimated that the time zone is not specified, resulting in the use of the date () function warning.
Prevent warning errors in php, or add date_default_timezone_set ("Asia/Shanghai") to php ");
It's strange to add it. during the test, an error is returned even if date ('s. I did not expect this.