Possible Duplicate:
Headers already sent by PHP
i want to redirect to some page so i tried like this.
www.example.com/logout.php?redirect=www.index-page.com/index.php
         echo $redirect = "'Location: http://".$_GET['redirect']."'";
       //redirects to index
       header($redirect);
But it is not working for me. is ther any suggestions.
 
     
     
     
     
     
     
     
    