Click to See Complete Forum and Search --> : how do i actively update a page???


gilly914
April 10th, 2005, 08:58 AM
Howdy Folks,

My question is:
I am writing my website in PHP, and I am getting some data from an XML sheet from another site. How can I get the site to automatically update the data from the XML sheet every minute or whatsoever???
(by an interval that i declare)
(if u don't know a thing in XML thn Ignore the XML part... just How can i get the site to update every minute?)

Thanks alot in advance,
Gilly B.

khp
April 10th, 2005, 12:15 PM
Please don't crosspost.

blueday54555
April 11th, 2005, 03:27 AM
Will refresh or redirect to a page. The "10" in contend is the intervall in seconds.
<meta http-equiv="refresh" content="10;URL=file://c:/test/test.htm/">

But in some cases a cron/cronjob can be more usefull.

gilly914
April 12th, 2005, 05:01 AM
what is a cron / cronjob???

Thanks...

blueday54555
April 12th, 2005, 05:31 AM
http://ccfaq.valar.co.uk/modules.php?name=News&file=article&sid=280
http://en.wikipedia.org/wiki/Cronjob
http://www.scrounge.org/linux/cron.html