leili | Code :
- $requete='POST /amfphp/gateway.php HTTP/1.1
- Host: www.unsite.fr
- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
- Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
- Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
- Accept-Encoding: gzip,deflate
- Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
- Keep-Alive: 300
- Connection: keep-alive
- Content-type: application/x-amf\r\n
- Content-length: 46\r\n
- \r\n
- \0\0\0\0\0\x01\0\x12History.addHistory\0\x02/2\0\0\0\f\n
- \0\0\0\x01\x02\0\x04home';
|
Je voudrais envoyer la requete ci dessus mais la partie POST DATA pose problème, quelqu'un comprends mon problème?
|