- Menggunakan PHP header("location: http://whatever.com/thankyou.php");
- Menggunakan Javascript location.href = 'http://whatever.com/thankyou.php';
- Bila diletakkan di tag HTML
<script>location.href = 'http://whatever.com/thankyou.php';</script>
- Bila diletakkan di script PHP
echo("<script>location.href = 'http://whatever.com/thankyou.php';</script>");
- Menggunakan tag HTML Bila diletakkan di script PHP
echo( '<meta http-equiv="refresh" content="1;http://www.yourdomain.com/" />');
- Content = 1 –> nilai 1 mewakili dari 1 detik, semakin besar nilai ini maka semakin lama pula URL akan di alihkan.
No comments: