note 48829 deleted from ref.http by tularis

From: Date: Sat, 08 Jan 2005 00:13:12 +0000
Subject: note 48829 deleted from ref.http by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-82939@lists.php.net to get a copy of this message
Note Submitter: ianweir at NOSPAMshaw dot ca ---- Regarding the above notes about redirects, refreshes etc. using meta tags, and/or javascript, the below code makes more sense, saves space, etc. <?php header('refresh: 5;http://www.example.com/'); ?> That code has the exact same effect as the meta tag, only it isn't a meta tag. Uses the same format as well. The 5 is the number of seconds to wait before redirecting/refreshing, (leave out the ; and everything after it to simply refresh the page), and the url is where to redirect to.. Relative urls are also supported.

« previous php.notes (#82939) next »