tibiz Posted February 24, 2008 Share Posted February 24, 2008 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 Link to comment https://forums.phpfreaks.com/topic/92709-automatized-form-fill/ Share on other sites More sharing options...
Bauer418 Posted February 24, 2008 Share Posted February 24, 2008 You'll need to use curl which has methods of storing and sending cookies to websites. Are you sure this isn't spamming? Because using a script to make your results come up first sure sounds like something that may be in the site's terms of service. Link to comment https://forums.phpfreaks.com/topic/92709-automatized-form-fill/#findComment-475094 Share on other sites More sharing options...
tibiz Posted February 24, 2008 Author Share Posted February 24, 2008 Thank you for helpful reply. I'm sure, the goal of this script is not spamming. It will activate or "update" an advertisement's time submitting form, not insert any new. The function "activation" is supported by target site. Link to comment https://forums.phpfreaks.com/topic/92709-automatized-form-fill/#findComment-475414 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.