Simply put: you can’t! Browsers don’t send the fragment (the part of the URL after the hashmark) in their requests to the server. You must rely on some client-side javascript: perhaps you can rewrite the url before using it.
More Related Contents:
- two person chat room
- Run php script as daemon process
- Using a string path to set nested array data [duplicate]
- Laravel Eloquent Query Using WHERE with OR AND OR?
- What is Autoloading; How do you use spl_autoload, __autoload and spl_autoload_register?
- Delete multiple rows by selecting checkboxes using PHP
- PHP unserialize fails with non-encoded characters?
- How to make strpos case insensitive
- highlight the word in the string, if it contains the keyword
- Flatten multidimensional array concatenating keys [duplicate]
- SimpleXML how to prepend a child in a node?
- How to get the last n items in a PHP array as another array?
- PHPMailer generates PHP Warning: stream_socket_enable_crypto(): Peer certificate did not match expected
- Dynamic class method invocation in PHP
- How to use HTTP_X_FORWARDED_FOR properly?
- Authorization header missing in PHP POST request
- How to create a subquery using Laravel Eloquent?
- PHP how to get the base domain/url?
- How to get cookie’s expire time
- how to sort a multidemensional array by an inner key
- Display an array in a readable/hierarchical format [duplicate]
- XPath query with PHP
- Is it possible to capture search term from Google search?
- Recreate original PHP array from print_r output [duplicate]
- UNION syntax in Cakephp
- Open Download Dialog with PHP
- Filter rows of a 2d array by the rows in another 2d array
- How to make public folder as root in Laravel?
- Laravel: Validate maximum File size?
- How to do single sign-on with PHP? [closed]