I get the following error when I try to use geocoding in my php file,
but it works fine if I cut and paste the URL into the browser address
bar.
[function.file-get-contents]: failed to open stream: HTTP request
failed! HTTP/1.1 400 Bad Request
Here is my code:
$address = "http://local.yahooapis.com/MapsService/V1/geocode?
appid=$key&street=$encodeaddress&city=$encodecity&state=$encodestate&ou
tput=php";
$page = file_get_contents($address);
Any help would be great.
Thanks,
Mark