I am currently stuck at this PHP script. I need to open a website and emulate viewing it for 120 seconds.
For the rest of the script cURL is being used.
The problem comes that when waiting for a while, PHP decides to cut off the rest of the script. The page is not viewed for 120 seconds.
Oh, and this will also be a cron job, so I don't think you can just use JS to open a new window and wait at it for 120 seconds.
I don't care how this site it viewed, but it must register being viewed for 120 seconds.
//Not the actual code, but same results
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://example.com/page.shtml");
echo "Page viewed for 120 seconds";