CI Proxy Library - Browser simulator (REST, Cookies and Proxy Support, PURE PHP) [NEW] HTTP Authorization |
[eluser]toopay[/eluser]
[quote author="TomvB" date="1306116728"]I'm trying to use the geocode function to loop through a set of addresses and resolve the lat & lng from an address. It works on the first loop in my foreach, but on the second row it gives me this error: php_network_getaddresses: getaddrinfo failed: Name or service not known [ERROR_CODE] = 0 Adding a wait(10) in my function does not work. The url on the second row looks OK and gives me json data if I open it using a browser. Any idea's as to what is happening?[/quote] That error message usually generated while you try to access invalid url, but at this case, looping a geocode, the URL Schema builder in this lib seems failed. Well, i've just fix that. You can download the latest version and continue your nested loop ;-) |
Welcome Guest, Not a member yet? Register Sign In |