Re: catching URL#target params
| From: | Tom Meinlschmidt | Date: | Mon, 15 Mar 2004 14:04:05 +0000 |
| Subject: | Re: catching URL#target params | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180442@lists.php.net to get a copy of this message | ||
BACK BACK BACK. I'm a stupid fool ...
#something is NOT send to the server, so it's unable to track it ...
sorry
/tom
request was a.php?aasdf=1234a#greetz
and from apache log
someip - - [15/Mar/2004:15:01:37 +0100] "GET /~znouza/a.php?aasdf=1234a HTTP/1.1" 200 3325
On Mon, 15 Mar 2004 15:00:04 +0100
Tom Meinlschmidt <tomas@meinlschmidt.org> wrote:
> 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!
> >
> >
>
>
> --
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--