I keep receiving the following error when I try to use fopen() to a remote server, regardless of which server I try to connect to apparently. I've verified that allow_url_fopen is set to true, so this should be functioning properly. I'm only trying to read the contents of the file so why doesn't this act like a web browser would?
I can browse to the location with my web browser, but I cannot get the contents of the file with PHP. Why is this happening to me? The error is "bad file descriptor"