Writing Web Bots in PHP Lesson 2: POST Requests

Prince

[ Verified Seller ]
Staff member
Trusted Seller
Joined
11 yrs. 6 mth. 27 days
Messages
5,381
Reaction score
18,380
Age
45
Wallet
11,590$
hey guys, this is the followup and conclusion to my series of writing webBots in PHP. In this tutorial we'll write a web Bot capable of submitting a POST request to sign onto reddit. For this tutorial you will need to have read my previous two tutorials and need an account on reddit, feel free to make a throwaway and finially you will need a tool to sniff headers like livehttpheaders or tamper data. These tools are absolutely necessary for writing bots so get comforatable with them and sifting through HTTP headers to find the necessary data. The principles illustrated here will work universally this is just a basic example but you can use these methods to register accounts, send messages, login and scrape through restricted content, etc...
Code:
Please, Log in or Register to view codes content!
This will save a .html file that you can open locally in your browser and it should show you signed into your account:

v5HaCeM.png
 
Top Bottom