I'm working on a script which:
1. login to a website's client area:
.... read html page using 'grabhtml'
.... fill the form with login and password
.... submit form and log in
2. after logging in, submit an form, which activates my advertisemnt, so it will be topped (not spamming!)
.... read html page using 'grabhtml'
.... submit the specified form
??? The problem is - the website uses cookies to identify logged user. So when I log in throu automated script, it creates a cookie in my browser, but when I want to activate my form, identifies me as not logged.
Question: how can I send cookie data to website (destination server) at step #2. , so the server will identify me as logged in?
Thanx a lot