Hello, Please tell me how can I hide Get variables.. I have the link check.php?name=john&age=18 I would like that those variables not show Thank you!
simply you can use post method or if you are sending these variables through link than you can create a form including these variables and can submit on click of that link. I think it will help you.
I have a login script with 3 files: 1. form (post with username and password)..here I send the username variable to the checking file 2. check the username and password.. (and if correct it set the header to the member area)..header("location:area.php); ..and here I want to send also the username to the member area. I have set: header("location:area.php?username=$username); and it is working but I don't want to appear the username up in the url in browser. I want to hide the username if it is possible. 3. member area
Nobody knows? this is what I use http://www.phpeasystep.com/phptu/6.html and I want to send the username to login_success.php without to see the username in the url
just change method=get to method=post on the form and then on the receiving page change $_GET to $_POST.