PHP CLI POST to HTTPS through proxy
| From: | Momchil Bozhinov | Date: | Tue, 23 Oct 2012 16:29:47 +0000 |
| Subject: | PHP CLI POST to HTTPS through proxy | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-30967@lists.php.net to get a copy of this message | ||
Hello,
I m trying to upload a file to the HP cloud via PHP CLIProblem is that I need to go through a proxy
serverThe authentication uses a POST request sent to a secure HTTP
I tried using cURL with PHP 5.3.18, but all I got was 400 - BAD REQUESTI wanted to try the PHP
Stream transport option but it uses fopen and not fsockopen
Can anyone give me some pointers ?
Thank you,Momchil