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?
Asked
Active
Viewed 56 times
0

Nana Partykar
- 10,556
- 10
- 48
- 77

Ilya Repenko
- 37
- 1
- 7
-
have a look at http://stackoverflow.com/questions/2317508/get-fragment-value-after-hash-from-a-url-in-php – Varun Garg May 31 '16 at 10:04
1 Answers
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