Bot That can Click On Links In EMail

Discussion in 'PHP' started by locpicker, Oct 9, 2011.

  1. #1
    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.
     
    locpicker, Oct 9, 2011 IP
  2. HuggyEssex

    HuggyEssex Member

    Messages:
    297
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    45
    #2
    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.
     
    HuggyEssex, Oct 9, 2011 IP
  3. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #3
    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
     
    Vooler, Oct 10, 2011 IP