Redirct Script HTML, PHP, JavaScript

redirct script

Inwepo Tutorial –  Berikut ini membuat script redirct menggunakan HTML, PHP ataupun JavaScript

1. HTML Redirct Script

<meta http-equiv=”REFRESH” content=”0;url=http://www.inwepo.co“>

Ganti angka 0 dan url link  untuk mengubah waku dan alamat web yang diinginkan.

2. PHP Redirct Script

<?php
   header( ‘Location: http://www.inwepo.co‘ ) ;
?>

Menggunakan waktu


<?php
sleep(10);
header(“Location:http://www.inwepo.co“);
?>

3. JavaScript Redirct Script

<script type=”text/javascript”>
window.location = “http://www.inwepo.co
</script>

Menggunakan waktu


<script type=”text/JavaScript”>
setTimeout(“location.href = ‘http://www.inwepo.co‘;”,5000);
</script>

Ubah url link dan waktu 5000 sesuai keinginan.

2 Comments

2 Comments

  1. Anonymous

    February 12, 2013 at 20:23

    thanks

    • Inwepo™

      February 12, 2013 at 20:24

      ya 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

Trending Minggu Ini

To Top