Sending a File to User's Browser

From: Date: Sat, 27 Jul 2002 22:46:49 +0000
Subject: Sending a File to User's Browser
Groups: php.general 
Request: Send a blank email to php-general+get-110008@lists.php.net to get a copy of this message
Hello, I need a user to save an image file to their disk. Normally when someone clicks on an link to a .jpg file, the fil will display on the same browser window, since it is capable of displaying such files. Now, I don't want this to happen, I need to be able to show the user the "Save As.." dialog when they click the link. I know it can be done bc I've seen it in phpMyAdmin, when you want to save the database dump. If you dont click "Save as file" it just displays the text in your browser. Any ideas??.. :) Oscar.-

« previous php.general (#110008) next »