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 replies to this topic
#1
Posted 19 December 2011 - 06:41 AM
|
|
|
#2
Posted 19 December 2011 - 03:06 PM
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
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 20 December 2011 - 02:19 PM
Thanks mate, you've been very helpful.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









