On Tue, 31 Aug 2004 16:56:18 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote: > Indeed, it didn't work. Anymore suggestions?
I've got a couple of ideas, but I really think you're making life too hard for yourself. You might want to rethink what you're trying to do rather than creating a clunky solution. Anyways, on with my ideas... * Send the file as the first part of a multipart response. The second part would be an HTML page which uses Javascript to close the window. I have no idea if this would work. * I'm guessing the window you want to close was created by the main window. If this is the case you could use Javascript to start the file downloading in the main window from the popup and then close the popup. e.g. opener.location.href = 'thedownload.file'; window.close();. This should work. -- Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php