PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi All,
I am a PHP newbie. For years I've been working with Microsoft technology. I'm currently working on a web app using PHP and MySQL. I'm quite embarrassed to say that I can't figure out how to redirect to other url's based. I've seen the Header() function but that only works at load time. I need to find something that works like the Redirect method of the Response object in ASP. That way, I can redirect users to different url's depending on what parameters are passed.
like processing half of the page and then giving control to another script?
with ob_start() and include() this can be be (almost) done.
Apache sub-requests are also nice.