I am using AJAX with hash in URL with prototypejs.
When I use following URL:
http://example.com/#/example/104?v=0&d=a&rpp=10
print_r( $_GET ); // output: array()
When I use following URL:
http://example.com/example/104?v=0&d=a&rpp=10
print_r( $_GET ); // output: Array ( [v] => 0 [d] => a [rpp] => 10 )
So my question why I am not able to get URL params when using hash in URL. How can I get it.
Thanks
The part after the
#doesn’t get sent to the server.(Its original purpose was to refer to a piece of the document, so that a URL could load a document and then scroll to a particular section. You can see how sending it to the server would be irrelevant in that case.)