note 63253 rejected from wrappers.http by nlopess

From: Date: Fri, 17 Mar 2006 11:46:08 +0000
Subject: note 63253 rejected from wrappers.http by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-105977@lists.php.net to get a copy of this message
Note Submitter: dadvani at hotmail dot co dot uk ---- Hi, Has anyone got any solution for POSTING xml over http to https running on IIS 6.0? I have openssl enabled on Apache which is running on windows 2k. I have read a lot of posts that say exactly what i done so far but no joy yet. Do i need to have a proper certificate installed for it it work? I have even tried Curl and its says there is a problem with the certificate. My phpinfo shows: OpenSSL support enabled OpenSSL Version OpenSSL 0.9.7c 30 Sep 2003 This is what i am sending over the socket opened with fsockopen. $host="localhost"; $header = "post $fullurl HTTP/1.1\r\n". "Host: $host\n". "User-Agent: PostIt\r\n". "Content-Type: application/x-www-form-urlencoded\r\n". "Content-Length: $contentLength\r\n\r\n". "$message\r\n"; The result is: HTTP/1.1 403 Forbidden Content-Length: 1758 Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Fri, 17 Mar 2006 10:09:54 GMT The expected result is: <xml>from the server<xml>

« previous php.notes (#105977) next »