* Thus wrote Jasper Howard:
> try this, after you force download of the file, use:
>
> header("Location: close_window_script.php");
>
> where the only code in that file is something like this:
>
> <script language="javascript">
> <!--
> window.close();
> //-->
> </script>
>
>
> this is a total workaround, but since its the only thing in the document,
> its very possible that it'll work, it won't take any more time to load
> either because you're using the header() function to forward, so the user
> has to download the same amount of info.
This will *not* work. you can't send a file and close a window in
the same request.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php