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?

1

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

@jek: Depending on what is generating the URL :)
Yes true true smiles again :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.