Re: URL hiding

From: Date: Wed, 27 Nov 2002 00:53:56 +0000
Subject: Re: URL hiding
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-126219@lists.php.net to get a copy of this message
There may be an easier way, but I usually use sessions when I want to pass variables around that I want to remain hidden, but want to use links. Best Regards Bob Irwin Server Admin & Web Programmer Planet Netcom ----- Original Message ----- From: "Kris" <kreid2@bigpond.net.au> Cc: "PHP-General" <php-general@lists.php.net> Sent: Wednesday, November 27, 2002 10:39 AM Subject: Re: [PHP] URL hiding > I already use POST as the form method. > I know > www.whatever.com/index.php?uName=Kris can be the same as > www.whatever.com?uName=Kris > > I just want to get rid of the ?uName=Kris part on the end > I still need the variables to be passed I just don't want the user to be > able to see them. > > Thanks for your help > > Kris > > ----- Original Message ----- > From: "Marco Tabini" <marcot@inicode.com> > To: "Kris" <kreid2@bigpond.net.au> > Cc: "PHP-General" <php-general@lists.php.net> > Sent: Wednesday, November 27, 2002 9:12 AM > Subject: Re: [PHP] URL hiding > > > > If index.php is the index page of your website, then you do not need to > > specify it at all. > > > > i.e. www.whatever.com/index.php?uName=Kris > > > > is functionally equivalent to www.whatever.com?uName=Kris > > > > A way to get rid of the variables passed in the query string is to use > > POST instead of GET as the method of your HTML form. > > > > > > Hope this helps, > > > > > > Marco > > -- > > ------------ > > php|architect - The magazine for PHP Professionals > > The first monthly worldwide magazine dedicated to PHP programmers > > > > Come visit us at http://www.phparch.com! > > > > > -------------------------------------------------------------------------- -- > ---- > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > Scanned by PeNiCillin http://safe-t-net.pnc.com.au/ > > Scanned by PeNiCillin http://safe-t-net.pnc.com.au/ >

« previous php.general (#126219) next »