REDIRECT KE PAGE DENGAN HTML, JAVASCRIPT DAN PHP



1. dengan html

<meta http-equiv=”Refresh” content=”[masa]; URL=[url]“>

contoh:

<meta http-equiv=”Refresh” content=”5; URL=http://underdeathrevenge.blogspot.com“>


2. dengan menggunakan javascript

<script language=javascript>
setTimeout("location.href='[url-tujuan]'", [waktu]);
</script>


contoh:

<script language=javascript>
setTimeout("location.href='http://underdeathrevenge.blogspot.com'",5);
</script>


3. dengan php



<?php
header("location: [url-tujuan]");
?>

contoh:


<?php
header("location: http://underdeathrevenge.blogspot.com");
?>


thumbnail
About The Author

[ EXPLORING KNOWN AND THE UNKNOWN ]

0 comments