How to Open a new webpage in new window after 10 seconds in php?
It is like if i am browsing http://xyz.com , then after 10 seconds a new window open with the url http://abc.com
I use this in one of my scripts
$refreshtime = 600; #10 minutes
$header = 'refresh: '.$refreshtime.'; url=http://www./path/to/page.php';
Can’t remember how it works
How should basically we have to implement this code?
What problem are you having with it?
It will open the new page in the same window , i belieive.
But i want the new page to be open in new window.
Modufy the address here
To any address you like
Use window.onload, window.setTimeout and window.open functions.