Re: Getting data from a web page



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.
.



Relevant Pages

  • Re: Websites 101
    ... > I am presently attempting my first commercial site and was hoping I ... Google Groups, and search the archive of this group, for example ... PHP is, uhm, a very bad designed programming language which has its ... Altough learning a programming language takes a lot of time, ...
    (alt.internet.search-engines)
  • Re: How is this possible?
    ... This is usenet and it has nothing to do with Google. ... Using php or any other server language to insert the query ... Just recreate the output with whatever code (in whatever language) ...
    (comp.lang.php)
  • Re: How is this possible?
    ... This is usenet and it has nothing to do with Google. ... Using php or any other server language to insert the query ... I'm just here to ask for simple advices on where to start. ... Just recreate the output with whatever code (in whatever language) you want. ...
    (comp.lang.php)
  • Re: [SLE] GUI webpage program needed
    ... If anyone points that sort of stuff at me it goes straight to ... > about 90% of the web sites) huge volumes of html are ... > database engines where google can't get at it. ... and the backend with PHP and MySQL on a Linux box. ...
    (SuSE)
  • Re: [PHP] Join question
    ... question doesn't belong even there because it has zilch to do with php, ... anything but bitch and complain. ... 1,930 results of which Google keeps track. ...
    (php.general)