$_url = 'https://www.yachting-casino.com/';
$_VAR001 = 'nono';
$_VAR002 = 'nonono';
$params = "VAR001=$_VAR001&VAR002=$_VAR002&";
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
The problem is that this code is working on my testing server but its not working on my production server. Both servers are unix based.
On production server only ports 80 and 443 are open all other ports are blocked.
This works if i try to open http page but dosenot work if i try oppening https error code 7 error number 110 is returned.
I don't know which ports it uses, it will be grate if someone can tell me which ports i will need to open.
make cUrl work with https
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users