title: Header may not contain more than a single header, new line detected
body: <p>I making a login in codeigniter and just got an error </p>
  
  <pre><code>**A PHP Error was encountered
  Severity: Warning
  Message: Header may not contain more than a single header, new line detected
  Filename: helpers/url_helper.php
  Line Number: 540**
  </code></pre>
  
  <p>I opened up the url_helper.php &amp; these are the lines I got </p>
  
  <pre><code>switch($method)
  {
      case 'refresh':
         header("Refresh:0;url=".$uri);
         break;
      default:
         header("Location: ".$uri, TRUE, $http_response_code);
         break;
  }
  exit;
  }
  </code></pre>
  
  <p>Can anyone offer suggestion of what I need to do ??</p>