ausführen Sehr geehrte alle bitte helfen Sie mir, wie kann ich folgende URL mit cURL mit PHP ausführen?Möchten URL mit Port Nummer
https://telenorcsms.com.pk:27677/corporate_sms2/api/auth.jsp?msisdn=923468211085&password=Javed1212
ich bin Tring dies aber kein Ergebnis gefunden.
$tuCurl = curl_init();
curl_setopt($tuCurl, CURLOPT_URL, "https://telenorcsms.com.pk/corporate_sms2/api/auth.jsp?msisdn=923468211085&password=Javed1212");
curl_setopt($tuCurl, CURLOPT_PORT , 27677);
curl_setopt($tuCurl, CURLOPT_VERBOSE, 0);
curl_setopt($tuCurl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($tuCurl, CURLOPT_CONNECTTIMEOUT, 5); // 5 seconds timeout
$tuData = curl_exec($tuCurl);
curl_close($tuCurl);
echo $tuData;
Theres eine SSL-Einstellung für curl. Vielleicht möchten Sie damit spielen. – CodeGodie