Jump to content

PHP Click bot?! Kind off...

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Edu

Edu

    Newbie

  • Members
  • Pip
  • 7 posts
Is it possible to create a bot in PHP that clicks on specific links in a specific website.
If so, could i be given an example of what to use or where to read a tutorial about it.

I would really appreciate it.

p.s I am not talking about ads on websites, just normal links.

#2
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
A click is a call for that page it links to, so if the site has normal links, just do file_get_contents() or use curl to access the files, and it will look like a click. Curl is probably best, as you don't need to download more than the header with right methods. The parameter to file_get_contents is the full url, but access to fetch urls can be turned off in php.ini, especially on shared hostings
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#3
Edu

Edu

    Newbie

  • Members
  • Pip
  • 7 posts
Thanks mate, you've been very helpful.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users