Hello,
I have a simple page that has some conditional statements on it. What I want to do is, if a certain condition is true I want to redirect to another page. The trouble is, in order to do this I need to print the header first. Once I print the header the redirect code :print $query->redirect('http://www.mysite.com') doesn't work. Instead it just prints the usual "302 found location"
Does anyone know how to write this? If I remove the header the page doesn't load in the browser!
In reply to URL Redirect (header already there) by packetstormer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |