Re: Get info from a site with PHP
On Sat, 04 Sep 2004 12:03:47 GMT, Jean
<bleh@boeitmijniet.be.blah.com.boe.bah.bleh.zie.je .eindigt.met.punt.invalid>
wrote:
>I was wondering if this is possible. Maybe someone could push me towards
>the right direction.
>Let's say i'm making site B, that gets a few numbers from site A.
>Is this possible? Site A has everything in tables.
>
>Also an extra part: it has to log in.
>
>I'm not asking the coplete solution, just a little push.
Certainly possible, since you can open URLs with PHP, e.g. with fopen.
However, it's probably easier with Perl, as WWW::Mechanize and
HTML::TableExtract are particularly good at this sort of thing.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
|