title: PHP header function not working
body: <p>I used to use this function to redirect from one php page to another:</p>
  
  <pre><code>header( 'Location: student.php?cnp='.$_REQUEST['name']) ;
  </code></pre>
  
  <p>In my localhost it does work, but if testing it in internet, it doesn't redirect.
  I've also tried to give the full path (like <code>http://.../student.php?...</code>) but still it doesn't work. Does anyone know why and what should I do?</p>