http://www.zend.com/zend/trick/tricks-august-2001.php
the stuff he does with mime types and headers is all relevant to what you want to do... Justin on 07/09/02 1:56 AM, Alex Shi ([EMAIL PROTECTED]) wrote: > Thanks for your reply! Still have another question: How to use > header() to generate download link? > > Alex > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Alex Shi" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, September 06, 2002 7:27 AM > Subject: Re: [PHP] Link for downloading? > > >> Question 1: >> I think this has to do with how you attribute your file extensions in >> httpd.conf (Apache thing, not PHP), so check out the docs on apache.org >> >> Question 2: >> I woudl tend to believe it depends what kind of link it is... >> is it and HTTP downlaod site (which would use the windows "save file as" >> dialog, or is it a link to an FTP site, which may use your local FTP >> software... >> >> HTH >> -Brad >> >>> Hello, >>> >>> How to create a link that when click it will lauch file downloading at >>> client's end. >>> >>> And another question which might be biased from this topic, but >>> still related with the subject of this message: why some downloading >>> link will lauch a ftp client such as NetAnts or Download Accelerator >>> while other link will start a Window's builtin download window? >>> >>> Alex >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> >> >> >> >> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php