Recently I've been messing around with the urllib module, and been having a fairly good time of it. However, now I decided I'd try to put it to some use. What I need to be able to do is log in to a site just as I would through a normal browser. The site in question doesn't use cookies, so that isn't a problem. I need to know how to send a username/pass (using the POST method), and then possibly how to spoof an HTTP REFERRER or anything else that could be used to keep my script logged in.
Thanks a ton! If you think this would be better done in PHP, that also works, as I have some experience/familiarity with that language. However, I know little to nothing about other languages such as Perl