Remote login to Amazon using curl / php
I want to bulit two php files, the first php file would be a login form with two input fields (username & password), this page will connect to [login to view URL] and use these values to login, if the values are not correct the page will display the message "Incorrect entry, please try again", if the values are correct the script will navigate to My Account and fetch the billing address and echo it on the second page.