Page 1 of 1

One page to run another

Posted: Sun Mar 28, 2010 5:28 pm
by toucan
I have a php page that runs a few commands. At the end of it i just want it to close itself and open a new php page. What I don't want to do is use include or require as this causes errors on the next page.. something to do with modifying open headers etc. The next page works fine if i use an href to call it, but I want it to happen automatically at the end of the current page.

Probably really obvious solution here. Any ideas please?

Re: One page to run another

Posted: Sun Mar 28, 2010 5:45 pm
by ambivalent
I think you're looking for header()