http - programatically browse remote website with php -
how go programatically use php access secure site of website , pull image? there website can login username/password. once logged in, have go few different pages before image available download. trying download pod (proof of delivery) image carriers website.
can done curl?
unfortunately, cannot access image directly because: a) in password protected area b) think there session variables being set browse, if browse pod of consignment, there no request variables added image, thinking previous page must set sesion variable "this consignment looking at".
also- there ethical restrictions guys can see in doing this? if company lets login website, can't see why care if doing physically or programatically.
i use simpletest's php scriptable web browser such tasks.
regarding "ethical" question, if you're not breaking laws , getting information personal purposes, nobody should care. don't abuse it.
Comments
Post a Comment