Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Need Help With Php, GET function with timer
rejected
post 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?
Go to the top of the page
 
+Quote Post
Saint_Michael
post 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
T17 GFX Crew



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>';
?>
Go to the top of the page
 
+Quote Post
rejected
post 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 biggrin.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. PHP Function To Add Previous and Next Page Feature(5)
  2. Disabling Right Click Function(9)
  3. Building A Pc As A First Timer(21)
  4. Timer(6)
  5. Date Time Lights Temp And Timer, It's Go It All(0)
  6. Question Regarding Php Function(12)
  7. Getting List Of Directories And Files Using Php(6)
  8. How To Use A Link To Call Function In Php?(8)
  9. Include File.php?id=something(13)
  10. How Good Is This Data Cleaning Function?(2)
  11. Genuine Help With Smtp And Php Mail() Function(3)
  12. Creating A Timer Program(8)
  13. Endif function?(6)
  14. Timer Command In Dos(4)
  15. Php - Forms, Date And Include(0)
  1. User Permission Function [php](3)
  2. How To Check If Fsockopen Function Is Enabled?(2)
  3. Countdown Timer(0)
  4. Mail() Clone(5)
  5. Help: Disable All Buttons Inside A Div Element(8)
  6. Delphi(1)
  7. Inkscape, A Open Source Vector App That Support Lot Function.(0)
  8. Arrays Outside A Function(3)
  9. The Best Zip Function(1)
  10. Converting To Unix Timestamp(1)
  11. Problem With Where Clause And Max Function(2)
  12. Timer Control Key Press Every Minute Vb2005(0)
  13. Php Explode Function Help(4)
  14. [php](simple) Using Functions To Combine Values In A Form(2)
  15. Php - Randomize Web Title(5)


 



- Lo-Fi Version Time is now: 12th October 2008 - 03:31 AM