Web Analytics Made Easy -
StatCounter Automatic change page within specified time frame - CodingForum

Announcement

Collapse
No announcement yet.

Automatic change page within specified time frame

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Automatic change page within specified time frame

    Hi All,

    I have 2 or more php pages.
    I want to show all multiple pages in one place (php page) one by one within specified time frame
    For example I have ...

    Page 1
    Page 2
    Page 3

    Page will show first after 5 seconds Page 2 will show than Page 3

    Any help will be highly appreciable

    Regards

  • #2
    you would use a meta redirect:
    on page 1 put
    PHP Code:
    <meta http-equiv="refresh" content="5;url=http://yourdomain.com/page2"
    etc.
    There are 10 types of people on CodingForum,
    Those who understand Binary and those who dont.
    Get Cloud Hosting now from only£59 / month

    Comment


    • #3
      Is it OK if someone goes back to any of the pages using their browser history, or should they be "protected" so they can only be displayed once. What kind of specifications do you have in regards to security, time-outs, and possibly people needing to log-in? I ask these questions because there are various ways to do what you want. Meta redirect will allow someone to view any of the pages using their browser history (or back buttons).

      Comment

      Working...
      X