Re: [PHP] More on "JS alert that links to file"

2009-07-27 Thread tony mount
Thanks very much to all the he's and any she's who answered this. Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] More on "JS alert that links to file"

2009-07-27 Thread tony mount
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

[PHP] Help with file downloads.

2009-07-19 Thread tony mount
Hi, My first post. Been writing php from scratch for about 12 months, mainly with what I learnt from the web. Have a problem trying to download multiple files. I'm using the following code: if (file_exists($file)) { header('Content-Description: File Transfer'); header('Content-Type: applica