NYCPHP Meetup

NYPHP.org

[nycphp-talk] Getting fragment - after the hashmark

Adam Maccabee Trachtenberg adam at trachtenberg.com
Sat Jun 25 10:04:08 EDT 2005


On Sat, 25 Jun 2005, Tom Melendez wrote:

> I tried this myself, with no luck.
>
> I passed ?foo=bar#tomfrag to a file with a phpinfo call, and the
> fragment never appears. Weird.

http://www.w3.org/TR/webarch/#media-type-fragid

Interpretation of the fragment identifier is performed solely by the
agent that dereferences a URI; the fragment identifier is not passed
to other systems during the process of retrieval. This means that some
intermediaries in Web architecture (such as proxies) have no
interaction with fragment identifiers and that redirection (in HTTP
[RFC2616], for example) does not account for fragments.

-adam

-- 
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list