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" <[EMAIL PROTECTED]>
Cc: "PHP-General" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: "Kris" <[EMAIL PROTECTED]>
> Cc: "PHP-General" <[EMAIL PROTECTED]>
> 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/
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to