CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2004
    Location
    Holy Land
    Posts
    306

    how do i actively update a page???

    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.

  2. #2
    Join Date
    May 2003
    Location
    Denmark
    Posts
    1,315

    Re: how do i actively update a page???

    Please don't crosspost.
    The biggest problem encountered while trying to design a system that was completely foolproof,
    was, that people tended to underestimate the ingenuity of complete fools.
    Douglas Adams

  3. #3
    Join Date
    Aug 2002
    Posts
    879

    Re: how do i actively update a page???

    Will refresh or redirect to a page. The "10" in contend is the intervall in seconds.
    Code:
    <meta http-equiv="refresh" content="10;URL=file://c:/test/test.htm/">
    But in some cases a cron/cronjob can be more usefull.

  4. #4
    Join Date
    Jul 2004
    Location
    Holy Land
    Posts
    306

    Re: how do i actively update a page???

    what is a cron / cronjob???

    Thanks...

  5. #5
    Join Date
    Aug 2002
    Posts
    879

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured