Tag Archive: rediret

PHP Redirect

February 7, 2012 6:21 pm Published by Leave your thoughts

PHP Redirect to Self (refresh) Header('Location: '.$_SERVER['PHP_SELF']); Exit(); // if more than one header, you will get "header already sent" error if don't exit out PHP Redirect to other page header( 'Location: http://www.example.com/other_page.html' ) ; Why you should avoid using.....