Re: page redirecting

From: Date: Wed, 28 Jun 2006 10:25:47 +0000
Subject: Re: page redirecting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-238778@lists.php.net to get a copy of this message
If the content of that variable is secret please don`t use GET or POST method to send it in CLEAR. beacuse somebody who know a little bit PHP or can break your code. You can hide that by hashing it, or crypt it with password. or something... using POST method.. of course. kristianto adi widiatmoko wrote: > HI folks, > > i need to redirecting page, it could be done by using header function like this > > header("Location : page2.php?var1=foo"); > > but i need to hide variable from being displayed by browser since the content of variable is > secret. > > I guess i need POST method instead of GET for redirecting that page. > > Does any one have an idea?? > Send instant messages to your online friends > http://uk.messenger.yahoo.com

« previous php.general (#238778) next »