Re: URL hiding

From: Date: Tue, 26 Nov 2002 23:39:14 +0000
Subject: Re: URL hiding
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-126211@lists.php.net to get a copy of this message
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

« previous php.general (#126211) next »