0

I have an url like index.php?c1=#reqid#&c2=#affid#&s2=#s2#&s5=#s5# and $_GET parameter did not get nothing. please, tell me why?

Nana Partykar
  • 10,556
  • 10
  • 48
  • 77
Ilya Repenko
  • 37
  • 1
  • 7

1 Answers1

5

The # character in a URL indicates the start of the fragment identifier (which is handled client side and never sent to the server).

If you want to include it as data you must encode it as %23.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335