Reply to Re: Automate access to password protected sites

Your name:

Reply:


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

[Back to original 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

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