Posts Tagged ‘JAVASCRIPT’

In this tutorial I discuss how to page redirection by PHP and Javascript.

CODE:

<?php
$redirect = 'https://codehunterbd.wordpress.com';
?>
<SCRIPT LANGUAGE="JavaScript">
redirTime = "550";
redirURL = "<?php echo $redirect ?>";
function redirTimer() {
self.setTimeout("self.location.href=redirURL;",redirTime);}
</script>
<BODY onLoad="redirTimer()">
Advertisements