Hi,
I'm trying to figure out if I can get a redirect page to work, without needing to use the header("Location: page.php"); command.
I know with asp, there is a response.redirect for redirecting pages, but, with the header, I can only use this, if there is no output before calling the command.
Is there any method that can be used where I can process some code, if output is required, and depending on processing on the page, redirect it to another page, using a command similar to response.redirect?
I have seen the http_redirect, but I can only see this working with clearing buffers etc. I have also a redirect_to("page.php"); command, but I cannot get this to work.
I am using php 5.
Any help would be appreciated.
Thanks.