avatar
PHP redirect Page [duplicate]

orellabair 247 25th Jan, 2019

                                           
                         Header function.
header("Location: http://www.yourwebsite.com/user.php"); /* Redirect browser */
exit();
It is a good practice to call exit() right afterwords so that code below it does not get executed.
                      
                                       
To share this paste, please copy this url and send to your friends.
RAW Paste Data