Can I use relative paths in using
header("location: http://something.com/someotherthing");
in PHP
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.
The standard( http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 ) says the location header must be set to an absolute path, but most clients would still work with relative paths.