Results 1 to 2 of 2

Thread: page redirect incrementally every 5 seconds

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    447

    page redirect incrementally every 5 seconds

    I have pages:
    page00001.php
    page00002.php
    page00003.php
    page00004.php
    page00005.php
    ...
    page00009.php
    page00010.php
    ...
    page00099.php
    page00100.php
    ...


    I want to make the page redirect incrementally every, let's say 5 seconds.
    How would I be able to achieve this?
    Once the number reaches 10 and 100 I have to drop a "0" from "page0000". $i represents the number of page to be changed incrementally.
    PHP Code:
    require_once('class_http.php');
    $h = new http();
    $i=2;
    $link "http://.../new/page0000".$i.".htm";
    if (!
    $h->fetch($link)) {
      echo 
    "<h2>There is a problem with the http request!</h2>";
      echo 
    $h->log;
      exit();
    }
    $result $h->body
    Compare bible texts (and other tools):
    TheWheelofGod

  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: page redirect incrementally every 5 seconds

    i understand what you are trying to do, but why do you want to do it that way?
    My usual boring signature: Something

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