PHP download problem IE5 on mac

From: Date: Thu, 14 Nov 2002 14:13:56 +0000
Subject: PHP download problem IE5 on mac
Groups: php.general 
Request: Send a blank email to php-general+get-124428@lists.php.net to get a copy of this message
I'm using this code to various files for download via a http header - $filename = basename($filepath); header("Content-type: unknown/unknown"); header("Content-Disposition: attachment; filename=$filename"); readfile($filepath); works fine in most cases - the save dialogue appears. However - IE on a MAC loads the file inline rather than throwing the save prompt. Any ideas? Javier _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

« previous php.general (#124428) next »