Posted By: Anonymous
How can i select the fragment after the ‘#’ symbol in my URL using PHP?
The result that i want is "photo45".
This is an example URL:
If you want to get the value after the hash mark or anchor as shown in a user’s browser: This isn’t possible with “standard” HTTP as this value is never sent to the server (hence it won’t be available in
If it’s only about parsing a known URL from whatever source, the answer by mck89 is perfectly fine though.