How can I build a bot that will click on links on webpages? Is this possible? I need to be able to put a partial link in the program and the bot will find the partial link and then click on it.
You need to first collect the source code of the page in question, then use CURL to execute the link. Google PHP CURL to find out more.
Your thread title says link in email, and post says links in a page. In both cases you first need to load the page. For loading form email use IMAP api in php, and for loading pages on http use CURL as mentioned above. Now when you say click, that means if you wish to simulate the real user click, you need to create an application that has embedded browser and invoke clicks, something in Microsoft Visual Basic or C++, or on Linux something in Gambas, in other case if you just need to hit the pages you can still use same CURL library. It iwll be long discussion explaining the whole procedure, I hope hints help. regards