Ask the PHP file about AMF3

Source: Internet
Author: User
Ask for PHP information about AMF3. if you use PHP to generate AMF3 format for information, ask for DEMO, and various requests about PHPAMF, I don't know if you want it. isn't AMF a transmission protocol of adobe? Demohttp: // sourceforge.net/projects/php-amf3/found code varrequest?newurlre find PHP information about AMF3
If you use PHP to generate the AMF3 format

Ask for information, ask for DEMO, and ask for various PHPAMF

------ Solution --------------------
I don't know what you want. isn't AMF a transfer protocol of adobe?

Demo
Http://sourceforge.net/projects/php-amf3/


Partially found code
Var request = new URLRequest ('http: // localhost/test. php ');
Request. method = URLRequestMethod. POST;
Var data = new URLVariables ();
Var bytes: ByteArray = new ByteArray ();
Bytes. objectEncoding = ObjectEncoding. AMF3;
// Write an object into the bytearray
Bytes. writeObject (
{MyString: "Hello World "}
);
Data. data = bytes;
Request. data = data;

Var urlLoader: URLLoader = new URLLoader ();
UrlLoader. dataFormat = URLLoaderDataFormat. BINARY;
UrlLoader. addEventListener (Event. COMPLETE, onCompleteHandler );
UrlLoader. load (request );

Function onCompleteHandler (evt: Event): void {
Trace(evt.tar get. data );
}

Define ("AMF_AMF3", 1 );
$ Data = $ _ POST ['data'];
Echo amf_decode ($ data, AMF_AMF3 );
------ Solution --------------------
Http://www.baidu.com? Wd = AMFPHP & pn = 20
Http://sourceforge.net/projects/amfphp/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.