Need script to automatically login and send "post" form.

by 2 replies
3
I need a script that will automatically login at some websites and send a "post" form.

The login form looks like:

The form that must be sent is like:

Can someone tell me how i can write such a script?

P.s. i'm a complete noob in .php etc. Maybe there is already such a script?

Thanks.
#programming #automatically #form #login #post #script #send
  • You can use Curl in PHP, its fairly simple and there are loads of scripts out there just search for "submit form with curl php"
  • You'll need to use cURL to post the login info, then collect the server response. Then send your data in the second form post.

Next Topics on Trending Feed