I need to set the $_GET values; can I do this?
ie I have an empty $_GET array. How can make it nonempty with php?
Maybe with help of http headers?
Thank you in advance;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is three ways of doing this.
One:
In the php file:
Second:
Use a questionmark behind the url, like this:
http://domain.com/file.php?foo=bar&stack=overflow
Then:
Remember that your users easily can change the values of the variables.
Third: