cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Probelm with connecting to port 444

From: Joe <sickbeatz_at_gmail.com>
Date: Sun, 30 Jan 2011 22:33:48 -0800

lol

On 1/30/11, Anil Guha <anilguha_at_gmail.com> wrote:
> Hello,
>
> Your suggestion did help me in solving the problem.
>
> The port 444 was not opened in my staging server. Once it was opened, now
> everything is working fine.
>
> Thanks for the help.
>
> Thanks And Regards,
> Anil Guha.
>
> On Sun, Jan 30, 2011 at 11:26 AM, Deepesh Malviya <deep0mal_at_gmail.com>wrote:
>
>> You need to check on the server where you are trying to connect.
>>
>> Thanks
>>
>>
>> On Sat, Jan 29, 2011 at 10:22 PM, Anil Guha <anilguha_at_gmail.com> wrote:
>>
>>> Hello Deepesh,
>>>
>>> Which server do I check in my staging server or the server in which I am
>>> connecting.
>>>
>>>
>>> Thanks And Regards,
>>> Anil Guha.
>>>
>>> On Sat, Jan 29, 2011 at 2:15 PM, Deepesh Malviya
>>> <deep0mal_at_gmail.com>wrote:
>>>
>>>> Check whether 444 port is open on server or not
>>>>
>>>> thanks
>>>>
>>>> 2011/1/29 Bartłomiej Blicharski <bartek5186_at_gmail.com>
>>>>
>>>> 'https://www.dexterbdportal.com:444/request.aspx, maybe ":444" make
>>>>> problems
>>>>>
>>>>> 2011/1/28 Anil Guha <anilguha_at_gmail.com>
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I want to connect to an URL
>>>>>> https://www.dexterbdportal.com:444/request.aspx , using PHP curl. My
>>>>>> server curl version is 7.20. My code are as follows :
>>>>>>
>>>>>> <code>
>>>>>>
>>>>>> $ch = curl_init();
>>>>>>
>>>>>>
>>>>>> curl_setopt($ch, CURLOPT_URL, '
>>>>>> https://www.dexterbdportal.com:444/request.aspx'<https://www.dexterbdportal.com:444/request.aspx%27>);
>>>>>>
>>>>>> //curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
>>>>>> //curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
>>>>>> curl_setopt($ch, CURLOPT_PORT, 444);
>>>>>> //curl_setopt($ch, CURLOPT_SSLVERSION, 3);
>>>>>>
>>>>>> curl_setopt($ch, CURLOPT_SSLCERT, dirname(__FILE__)."/cacert.pem");
>>>>>> curl_setopt($ch, CURLOPT_HEADER, 1);
>>>>>> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
>>>>>> curl_setopt($ch, CURLOPT_POST, 1);
>>>>>> curl_setopt($ch, CURLOPT_POSTFIELDS, $parameter);
>>>>>> $data = curl_exec($ch);
>>>>>> echo curl_error($ch);
>>>>>> echo $data;
>>>>>> curl_close($ch);
>>>>>>
>>>>>> </code>
>>>>>>
>>>>>> Can somebody please help me.
>>>>>>
>>>>>> Thanks And Regards,
>>>>>> Anil Guha.
>>>>>>
>>>>>> _______________________________________________
>>>>>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> _Deepesh
>>>>
>>>> _______________________________________________
>>>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>>>
>>>>
>>>
>>> _______________________________________________
>>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>>
>>>
>>
>>
>> --
>> _Deepesh
>>
>> _______________________________________________
>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>
>>
>

-- 
Sent from my mobile device
Joe Burnett
250-826-5220
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2011-01-31