December 20, 2015
How to Redirect to Another Website Using PHP
To redirect to another website in PHP, we make use of header function. Sample code is given below:
1 2 3 4 5 6 |
<?php header('Location: http://www.google.com/'); exit; ?> |