More on "JS alert that links to file"

From: Date: Mon, 27 Jul 2009 12:24:44 +0000
Subject: More on "JS alert that links to file"
Groups: php.general 
Request: Send a blank email to php-general+get-295864@lists.php.net to get a copy of this message
I have a question that follows on from this discussion. I have a loop which creates a number of files. It first write each file to a server location then sets up the headers and asks the "Save As" question. This works OK once, but after the first download it exits without any errors or messages. If I remove the header() lines (ie just create the files on the server) no worries, it creates them all. (I start op buffer at the top of the code and flush the buffer on each loop). Anyone have any ideas please? Thanks Tony

« previous php.general (#295864) next »