When I run my coop footer script (that works fine on another site), here's the error message I get: Warning: file_get_contents(http://ads.digitalpoint.com/network.php?b=www.advertising-agency-resources.com&type=link): failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /home/content/r/m/o/rmosenkis2/html/ad_network.php on line 40 Can anyone tell me what I'm doing wrong? Thanks!
It looks like a server setup issue with PHP... you probably probably want to talk to the server admin.
It's a hosted server. PHP is running fine on the site. Do I need to change the file permissions for ad_network.php? Funny because it's the same file I have running on another site. When I read what 401 error means, it says that access to a URL resource has been denied. Is it possible that digitalpoint is not letting me in?
Hey digitalpoint, Just letting you know that your totally wrong. failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized means that your servers are blocking a request by Extranet. You might want to stop being such a bitch about it and realize that your wrong. When you go to a page that has a 401 error and the page cannot be found do you assume that your I.E. or Firefox is setup incorrectly? IF so then I feel really bad for your clients. -iwinagain
There is one of two things going on. Either the PHP server is not configured to allow URLs within fopen or the host is going through a proxy that is kicking the error back (most likely the first item). I'll bet if you use wget or curl from that same web server, it works. If an end user was going through a proxy, then yes... potentially it could be their end (although I wouldn't assume so). Thankfully, I don't do any consulting or services... so I don't have any clients.