Wait 3 seconds after click
Moderator: General Moderators
Wait 3 seconds after click
How do I let a user click on link and wait for like 3 seconds to run php code on same page?
Ah, that what I am looking for! Thanks!
I test it out and it work, but not what I thought what I need. I was try to do same thing like at Megaupload.com... for example, when user wait for timer finish and click on link and it popunder then wait like 3 seconds then it run php page. I think it have to do before php page run. Maybe html, css, or something.
Code: Select all
<?php
// Code goes here
if (sleep(3)){
include('download.php');
}
?>