Reply to Re: OT: Php hash

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на 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

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