Re: POST method for hyperlink
| From: | Chris Shiflett | Date: | Mon, 19 Jan 2004 05:11:10 +0000 |
| Subject: | Re: POST method for hyperlink | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174991@lists.php.net to get a copy of this message | ||
--- Richard Davey <rich@launchcode.co.uk> wrote:
> JH> I am curious if there is anyway to take a variable that is passed
> JH> via a URL by a reguler text hyperlink Ex:
> JH> http://localhost/Calendar/active_layout.php?d=2.1.2004
> JH> and hide it like you would do with the POST method using forms
>
> Not really, no. One solution might be to use mod_rewrite on Apache so
> at least it could look like:
>
> http://localhost/Calendar/active_layout/d/2.1.2004
Another option would be to just refer to $_SERVER['PATH_INFO'], in case
you don't have mod_rewrite but still want to have URLs like this.
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/