Hi

This is the header that my PHP script sends via fsockopen

HTML Code:
POST /xyz/add.aspx HTTP/1.0
Host: mywebsite.com
User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language=en-US,en;q=0.5
Accept-Encoding=gzip, deflate
Connection=keep-alive
Referer=https://www.mywebsite.com/xyz/add.aspx
Cookie=ASP.NET_SessionId=12345678910101010
Content-Type=multipart/form-data

Content-Length=17053
But it returns:
Bad Header (Invalid Header Name)

I have to do it without cURL

Please tell me what is wrong ?

Million Thanks
ZH