|
Posted by Gordon Burditt on 01/24/06 20:10
>we're fully paid up and signed up to a password protected site, so this
>isn't hacking. In this site we can download a price list in CSV
>format.
>
>What I'd like to do is have a PHP script log into the site and download
>the CSV file so we can then display it on our website.
Are you sure this is a permitted use of the price list?
Being allowed to access the list and publishing it are quite
different from the point of view of copyright law.
>Is this posible?
With cURL you can submit the login page with your info filled in,
get back a session cookie (or whatever types the site uses), then
use that cookie to go to other places on the site. It may require
some research as to what variables need to be sent, (including
HTTP_REFERER, maybe) and this can break if the site changes them.
Gordon L. Burditt
Navigation:
[Reply to this message]
|