Click to See Complete Forum and Search --> : On timeout=>location()


Extreme
07-13-2003, 11:53 AM
Let's say that there is a file called greeting.php. There is this code...
header("location: redirect.php");
Now, I would like to putt following code in the redirect.php

on timeout(let's say 10sec) header("location: www.page.com");

This I need so I can write on redirect.php the foolowing "you will now be redirected to..", so the visitor must be able to read this message and then, after 10 sec., the www.page.com opens...

Bootsman123
07-13-2003, 01:45 PM
Use this:


<META HTTP-EQUIV="Refresh" CONTENT="10; URL=url.php">