The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 2 of 2

Thread: Header: Opening URL in New Window

  1. #1

    Header: Opening URL in New Window

    Here's what I would like to do - open a new window with one URL and update the current window with another:

    Code:
        if (@mail($to, $subject, $body, $header))
            {
    
        header('Location: http://www.mydomain.com/thanks.html');
        header('Location: http://www.myshoppingcart.com/category.sc?categoryId=2; Window-target: _blank');
    
            }
    Doesn't work, of course. The second header is the one that works, but it simply updates the current window (no new window opens).

    Thanks for any help.

  2. #2
    You can't get there from here. That's what I've learned. A new window object would have to be created first (with javascript).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012