On Thursday 24 January 2002 21:33, Todd Cary wrote: > When the surfer presses a button, I want a pre-determined file to be > downloaded by the surfer - the box to come up on the surfer's browser: > "Open or save...".
Many ways to do this, one of which could be: <form action="download.php"> <input type="submit" name="submit" value="Download"> </form> Then in your file download.php, have a single statement using the header() function to redirect to the file that is to be downloaded. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Bore, n.: A person who talks when you wish him to listen. -- Ambrose Bierce, "The Devil's Dictionary" */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]