I am quite new to Webservices and API. I am trying to test some of the Yahoo API functionality by myself.
Whenever I use file_get_contents($url) it's getting timed out and receiving an error message :
Error I am receiving is something like the below given :
QUOTE
file_get_contents(http://api.shopping.yahoo.com/ShoppingService/V2/productSearch?query=%20linksys%20&appid=XXXXX&results=1&start=2)
[function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in [PATH] on line 14
Fatal error: Maximum execution time of 60 seconds exceeded in [PATH] on line 14
But when I am trying to run the $url directly through the browser I am fetching the proper XML
Can anyone just throuw some light why this is happening? Where am I making the mistake?
TIA.
Regards
Dips

