Posted by Jonathan N. Little on 07/13/07 03:38
Neredbojias wrote:
> Suppose I have a normal link like:
>
> <a href="some/path/ululation.php#fragg">Click Dis</a>
>
> Now, in the target page, "ululation.php", I know how to get the pathname
> and I even know how to get a possible query name (-not shown here.)
>
> Does anyone know how to address the hash ("fragment" in php)? I've tried
> $_SERVER['PHP_SELF'] and $_SERVER['REQUEST_URI'] and things using referer -
> all to no avail.
The hash or fragment part of the URL is not sent to the server, but is
processed internally in the browser. You can only "capture" is with
client side.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|