pass value from page to another in PHP

Posted by Piyush on Stack Overflow See other posts from Stack Overflow or by Piyush
Published on 2010-05-14T12:40:42Z Indexed on 2010/05/14 12:44 UTC
Read the original article Hit count: 182

Filed under:

I am sending login status = fail, back to my login page.Here is my code-

header("location:index.php?login=fail");

but that is sending through URL like-

http://localhost/303/index.php?login=fail

is there any way to pass value without showing in URL? And how to get this value on the second page?

© Stack Overflow or respective owner

Related posts about php