0
Problem with the API (returns error)
pornbustersadfoc.us/api/?key=MYKEYHERE&url=http://www.mylink.com/link/13213.zip
If I paste it into the browser it gives me the link.
However, when I use PHP function file_get_contents() it gives this error:
failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error
Also, tried cURL, it returns a Zend something error An error ocurred, Application error.
It's not problem of my host because if I use Adf.ly API it works perfectly either with file_get_contents or cURL.
Any ideas?
If I paste it into the browser it gives me the link.
However, when I use PHP function file_get_contents() it gives this error:
failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error
Also, tried cURL, it returns a Zend something error An error ocurred, Application error.
It's not problem of my host because if I use Adf.ly API it works perfectly either with file_get_contents or cURL.
Any ideas?
This topic is from our old forum and is kept as it was. Start a new topic to ask about it.