Note that if you don’t want to go through the process of making sure that there is no output before you send a header, you can use <?php ob_start(); ?> at the beginning of your page. This starts the output buffer, which allows you to send headers whenever you feel like it. Make sure that […]