note 41968 deleted from ref.http by sobak

From: Date: Tue, 22 Nov 2016 03:51:51 +0000
Subject: note 41968 deleted from ref.http by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207458@lists.php.net to get a copy of this message
Note Submitter: ---- in reference to toashwinisidhu's and breaker's note, a more effective way would be to use meta-tag redirect, for example. <?php $url = "http://somesite.com/index.php"; // target of the redirect $delay = "3"; // 3 second delay echo '<meta http-equiv="refresh" content="'.$delay.';url='.$url.'">'; ?> The meta goes in the head of the HTML. This method does not require javascript and is supported by most browsers and is rarely, if ever, filterd out.

« previous php.notes (#207458) next »