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?
One page to run another
Moderator: General Moderators
- ambivalent
- Forum Contributor
- Posts: 173
- Joined: Thu Apr 14, 2005 8:58 pm
- Location: Toronto, ON
Re: One page to run another
I think you're looking for header()