While using Yahoo!’s Geocoding API web services if we are not specifying any output format default xml output will be provided. When we query this web service using REST calls with file_get_contents(), which is a php function to get the contents of a file, file_get_contents of your query will print you a string as an output. But php treat this in a strange manner as we could not use string functions on this output such as substr() however it will print the XML tag for $Output[0]....etc and so on. So it is better to specify output format as php will give you a
serialized php, which you can unserialize it and use as an array output.
Subscribe to:
Post Comments (Atom)
Design thinking at work (Book summary)
Key things to keep in mind The essence of design thinking, in many ways, involves identifying problems by seeing things that other peo...

-
Probably, you are reading this blog post though my Google buzz or twitter or my LinkedIn page. I am writing this blog in Google docs. I have...
-
Key things to keep in mind The essence of design thinking, in many ways, involves identifying problems by seeing things that other peo...
No comments:
Post a Comment