Re: catching URL#target params
| From: | Tom Meinlschmidt | Date: | Mon, 15 Mar 2004 14:00:04 +0000 |
| Subject: | Re: catching URL#target params | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180439@lists.php.net to get a copy of this message | ||
Hi,
it could be done only by parsing $_SERVER['QUERY_STRING'] variable ...
eg
$querystring = $_SERVER['QUERY_STRING'];
eregi("#([a-z0-9_.-]*)", $querystring, $arg);
$hashtarget = $arg[1];
/tom
On Mon, 15 Mar 2004 08:52:43 -0500
David T-G <davidtg-php@justpickone.org> wrote:
> Hi, all --
>
> I know that I can easily see
>
> http://URL?param=value
>
> and even
>
> http://URL?value
>
> but I haven't found any way to capture
>
> http://URL#target
>
> as one would use to jump to a certain location in a plain HTML file.
> When I try this in a PHP file and run phpinfo, I see nothing that
> includes that target.
>
> Is there a var that will work for me?
>
>
> TIA & HAND
>
> :-D
> --
> David T-G * There is too much animal courage in
> (play) davidtg@justpickone.org * society and not sufficient moral courage.
> (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
> http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf
> Qrprapl Npg!
>
>
--