You are here: Sending an HTTP request and reading the response « PHP Programming Language « IT news, forums, messages
Sending an HTTP request and reading the response

Posted by cyber0ne on 08/07/06 17:27

I'm a bit new to PHP. One thing I'm trying to do right now is send an
HTTP request and read the response in the code. For an example of what
I'm talking about, see this:

http://www.google.com/apis/maps/documentation/#Geocoding_HTTP_Request

Would someone be able to show me a quick example of how to do this in
my PHP code? I have a page that gets the "address" value posted to it
from a form. Now I need to pass that value to the HTTP request and
read back the response. Then I'll need that response in the form of a
$latitude value and a $longitude value.

Any help would be much appreciated. Thank you.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация