Advertisement

03.10.2008 at 08:19AM PDT, ID: 23228645
[x]
Attachment Details

Yahoo API using file_get_contents with PHP suddenly starts to return 403 forbidden.

Asked by smetterd in PHP Scripting Language, SOAP, WebApplications

It has been working nicely for many months, but now starts to give me errors like this

Warning: file_get_contents(http://local.yahooapis.com/LocalSearchService/V3/localSearch?appid=rEVxJb_V34GgTvsaCZ0L0xxoKoU2CeNTsgkBkCGG9chdEqnu0ZVpFcrblKjFN2w-&query=Music&zip=&city=Brownsville&state=BROWNSVILLE&results=20) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /var/www/web1/web/centeradmin/index_reg.php on line 131
Request failed

I was pulling business listings into my site.

Can anyone give me some guidance? I couldn't find much in the Yahoo Developer documentation. Thank you!Start Free Trial
 
Loading Advertisement...
 
[+][-]03.10.2008 at 08:24AM PDT, ID: 21087196

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.10.2008 at 08:30AM PDT, ID: 21087248

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.10.2008 at 08:51AM PDT, ID: 21087448

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, SOAP, WebApplications
Sign Up Now!
Solution Provided By: waygood
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628