I want to download the page from a URL, easy enough. But on the first page I have to login, as I normally do from a normal browser. But HTTrack is downloading from the first page since it can't use my cookies or login.
Is it any way for me to get around this?
Try using cURL in PHP:
http://php.net/manual/en/book.curl.php
There are wrappers for this, like:
http://semlabs.co.uk/journal/object-oriented-curl-class-with-multi-threading
Use options such as:
EDIT: More specific, not tested
Download the class from:
http://semlabs.co.uk/journal/object-oriented-curl-class-with-multi-threading
Note, that sometimes you need to load a page first, to set a cookie, before they will let you login.