I think you would have to use JavaScript to extract an anchor value and send
the information to Cake through AJAX. I could be mistaken but as far as I
know, the anchor portion of a request URL is not even passed to the server.

Rhett
-----Original Message-----
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of aranworld
Sent: Wednesday, February 21, 2007 8:26 PM
To: Cake PHP
Subject: Extracting Anchor string from URL


I am familiar with CakePHP's $params array which can give me the GET
values from a URL.

However, does CakePHP keep track of the "anchor" text in a URL?

For example, if my URL is:

http://www.usa.gov/billofrights/#amend10

Referring to the in-page anchor named "amend10", can I access this
information anywhere from withint CakePHP?

It doesn't appear as if the $params array keeps track of this
information.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to