Re: newbie.. $_GET & $_POST
| From: | Robby Russell | Date: | Mon, 03 Jan 2005 15:07:09 +0000 |
| Subject: | Re: newbie.. $_GET & $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205522@lists.php.net to get a copy of this message | ||
On Mon, 2005-01-03 at 10:54 -0300, Pablo D Marotta wrote:
> Hi there..
> I need to pass variables to a page through an html link.
> I do it like this:
>
> <A href="Extra/excelListing3.php?buildQuery=<?php echo $buildQuery
> ?>">Export</A>
>
> where 'buildQuery' is the variable I´m passing.
>
> In the destination page, I capture it with $_GET and that´s it.
>
> I want to know if there is any way of doing it without showing the variables in
> the direction bar.
>
> Thanks!
>
> Pablo
You can store it in POST, GET, in the SESSION, track the user in the
database... lots of ways to do it.
POST might be the easiest route without showing in the URL.
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | robby@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now supporting PHP5 ---
****************************************/