Reply to Re: OT: Php hash

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 07/13/07 02:52

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.

You should have: <a name="fragg"></a> or <div id="fragg">
somewhere in ululation.php, right? S'far as I know, it should jump
right to that part of the page.

--
-bts
-Motorcycles defy gravity; cars just suck

[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

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