Opening another page in code
| From: | Nelson Goforth | Date: | Wed, 25 Jul 2001 13:30:03 +0000 |
| Subject: | Opening another page in code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59538@lists.php.net to get a copy of this message | ||
This seems simple, but for some reason I can't find what I'm looking for in books or the archive. Might just be looking for the wrong words.
I just want to open another page, sending some parameters, at a point in a script - without the user clicking on anything (I can do this in a form - I want to do it WITHOUT the form).
Like: if($test) {
GO_TO_PAGE (http://www.site.dom/page.php?id=838383);
}
Except with code that actually works, of course.
I tried "header (Location:...)" but got an error message that I can't add to the headers.
What have I missed?
Thanks,
Nelson
--