Header() to a different browser instance
| From: | eric | Date: | Sat, 08 Jul 2000 05:41:55 +0000 |
| Subject: | Header() to a different browser instance | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-5508@lists.php.net to get a copy of this message | ||
Hello List,
I've got some javascript that pops up a new browser window. From within
that browser I call a php script that does some sql, and then does a
Header redirect back to the original page (browser instance).
However, with the Header() redirect my original page just gets created
inside the second instance popped-up browser.
Alternatively, the following just closes the window, and the php script
is never called from the form.
<input type="submit" name="Submit"
value="Add"onClick="closeWindow()">
Can anyone share with me whether it is possible to do what I want to do
(essentially close a popped up browser and redirecting the original
browser instance), and give some advice on how to do it.
Many Thx. - Eric