Is there any way to do a redirect in my PHP that is an if statement. So.. only redirect if such and such conditions are true? Also, could I pass variable through that URL for a GET request?
Share
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.
Put this before you output anything on the page. Replace url with the url you wish you redirect to. You an add GET variables the standard way (url?var1=x&var2=y).