Re: Getting data from a web page
- From: larry@xxxxxxxxxxxxxxxxx
- Date: Wed, 30 Jan 2008 13:13:19 -0800 (PST)
On Jan 30, 12:34 pm, "laredotorn...@xxxxxxxxxxx"
<laredotorn...@xxxxxxxxxxx> wrote:
Hi,
I'm using php 4.4.4. What I want to do is hopefully simple. If I
type this URL into my browser:
http://maps.google.com/maps/geo?q=980+PEMART+AVE+PEEKSKILL,+NY+10566&...
I get a simple comma-delimited list of data. What I would like to do
is in my PHP script, request this URL and then put the return values
into an array. How do I do this?
Thanks, - Dave
You will want to read up on the CURL library and the term scrape or
google for curl and scrape, that should give you hits on what you want
to do.
Scrape sounds kinda bad and if you don't have permission to read
someones data off a page you could get in trouble. Google has
information aout what you can collect from their pages and for what
purpose.
.
- References:
- Getting data from a web page
- From: laredotornado@xxxxxxxxxxx
- Getting data from a web page
- Prev by Date: Getting data from a web page
- Next by Date: Re: Using Tidy on remote server
- Previous by thread: Getting data from a web page
- Next by thread: Re: Getting data from a web page
- Index(es):
Relevant Pages
|