I have a problem with header() function.Am setting up a redirectory to another page(not approved page) once someone registers.Its quite well working in localhost but not working in online hosting.It brings a blank page when someone logs in instead of taking him to not approved page.Kindly someone to help how to fix it.Here is the code
Code:
<?php
session_start(); // Starting Session
$error=''; // Error