0

I've got a flash file (that I can't edit) that is making erroneous requests to a file ending in a #. So the link where the file is being accessed is /files/flash/, so the requests are being made for /files/flash/#

Is there any way for me to detect the # in the link so that I can have those pages not load?

Citizen
  • 12,430
  • 26
  • 76
  • 117
  • Duplicate: http://stackoverflow.com/questions/940905/can-php-read-the-hash-portion-of-the-url – Gordon Mar 02 '10 at 18:48

1 Answers1

7

The fragment is not sent to the server, and therefore cannot be accessed via PHP.

In case you are unsure:

scheme://host.tld/file/path/filename.ext?uri#fragment

The only way to access the fragment is through Javascript or another client-side script.

MC Emperor
  • 22,334
  • 15
  • 80
  • 130
Tyler Carter
  • 60,743
  • 20
  • 130
  • 150