October 2nd, 2013, 01:07 AM
Fopen(https://***) failed to open stream: HTTP request failed! in C:\___\ping.php
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.
October 2nd, 2013, 01:36 AM
Try using cURL so you can get more detailed information about what's happening. And plus, it might work.
October 2nd, 2013, 02:29 AM
There was an empty space in the url, the strange thing is that it worked when i manually pasted it.
Fixed what never was broken.
October 2nd, 2013, 03:29 AM
when you manually paste a url into a browser, the browser automatically converts things like spaces into their URL encoded entities.
PHP does not do this - you must make sure the URL is valid, or code up conversions to make it so...look at [PHPNET="urlencode"]urlencode[/PHPNET] for more information