You are here: Re: OT: Php hash « HTML « IT news, forums, messages
Re: OT: Php hash

Posted by Neredbojias on 07/13/07 05:54

Well bust mah britches and call me cheeky, on Fri, 13 Jul 2007 03:38:47
GMT Jonathan N. Little scribed:

> 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.

That is exactly the effect I am experiencing, but....

The server *has to* receive it somehow, not so?, for how else does it get
to the visitor's userAgent?

--
Neredbojias
A self-made man who worships his creator

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация