href and download

From: Date: Sun, 12 Aug 2001 17:51:23 +0000
Subject: href and download
Groups: php.general 
Request: Send a blank email to php-general+get-62321@lists.php.net to get a copy of this message
Hi All, I'm trying to create a page where users can download files from. What i have discovered was that if you have a certain file type associated to a certain program and there is an href to download that type of file, what will happen is that it will automatically open the file with the associated program. for example: if i have mp3's asssociated to winamp...if there is a link <a href="song.mp3">download song</a> and i click it, it will open my winamp player and start playing the song rather than popping up the save as window so that i can save the file. my questions are: Is this discovery correct? and is there a way to prevent it from opening the associated program but rather popping up the save as window? If anyone has any clue please let me know! thanks! ===== Heidi Belal ICQ# 32127109 A bus stops at a bus station. A train stops at a train station. On my desk I have a work station... __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/

« previous php.general (#62321) next »