Im sending an sms using the url. The url itself is good if i directly copy it from the warning an open it myself it does send the sms properly but throws out an error when im trying to fopen it. Url is https.

PHP Code:
fopen$url,"r");