Browse Articles
Ajax (4),
APC (1),
CAPTCHA (1),
CSS (3),
Debugging (1),
File Upload (1),
Google (3),
Google Maps (2),
JavaScript (12),
JSON (2),
MVC (1),
MySQL (7),
onbeforeunload (1),
OOP (1),
PHP (28),
PhpDoc (1),
PostgreSQL (6),
Prototype (11),
Reflection (1),
RFC 1867 (1),
Robots (1),
Scriptaculous (1),
SEO (1),
Sessions (1),
SimpleXML (1),
Smarty (5),
SOAP (1),
SPL (1),
Templates (2),
W3C (1),
XHTML (1),
Zend Framework (1),
Zend_Search_Lucene (1)
Buy My Book
By Quentin Zervaas
Want to assert yourself as a cutting–edge PHP web developer? Take a practical approach...
|
One useful feature of Google Maps is the ability to generate a static image of any longitude and latitude that you desire, as opposed to using the normal JavaScript-based interactive map. In this article I will show you how to request such static images. We will then combine this technique with the geocoder we created in the article Geocoding with PHP and the Google Maps API.
Geocoding is the process of finding the longitude and latitude of a given address or location. The Google Maps service gives developers and web site owners free access to their geocoder, both using the Google Maps JavaScript API, as well as using the web service. In this article I will show you how to access the geocoder web service using PHP so that it can be used in your own applications.
This article covers performing search queries on Google using their API. This means you can transparently run a Google search in the background, and then present the results to your users however you want to.
The Google API is a SOAP web service. SOAP (Simple Object Access Protocol) is an XML schema used for calling a remote procedures (usually) over the web. In this case, the remote procedure is Google search.
In this article, we are going to create a single PHP script called google.php, to simply demonstrate how to query Google. Hopefully using this information, you will be able to come up with more advanced ways of using the API.
|
|