|
|
|
|
![]() ![]() |
Dec 4 2005, 07:49 AM
Post
#1
|
|
|
{([Mod])} ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 710 Joined: 30-October 04 From: Texas Member No.: 2,058 |
I need some help on creating a timer that every thirty minutes, refreshes on a URL. I know how to get the page, but I have no idea how to create a timer that initiates it.
Could someone point me on a helpful direction? |
|
|
|
Dec 4 2005, 08:39 AM
Post
#2
|
|
|
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 6,561 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 ![]() |
this is the closest i got to finding what your looking for took about 3 pages worth of googling to find it but it should do the job. mind you i would get rid of the echo part since thats not needed at all.
CODE <?php // refresh / redirect to an internal web page // ------------------------------------------ header( 'refresh: 5; url=/webdsn/' ); echo '<h1>You will be re-directed in 5 seconds...</h1>'; // refresh / redirect to an internal web page // ------------------------------------------ header( 'refresh: 3; url=/' ); # redirects to our homepage echo '<h1>You will be re-directed in 3 seconds...</h1>'; // refresh / redirect to an external web page // ------------------------------------------ header( 'refresh: 0; url=http://www.example.net' ); echo '<h1>You won\'t know what hit you!</h1>'; ?> |
|
|
|
Dec 4 2005, 08:47 AM
Post
#3
|
|
|
{([Mod])} ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 710 Joined: 30-October 04 From: Texas Member No.: 2,058 |
Hmm, I guess this would work, even if not the way I wanted it to. Thanks, I'm going to get to work now
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 12th October 2008 - 03:31 AM |