I used to use this function to redirect from one php page to another:
header( 'Location: student.php?cnp='.$_REQUEST['name']) ;
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 http://.../student.php?...) but still it doesn't work. Does anyone know why and what should I do?