settin mine type while saving files

From: Date: Thu, 04 Nov 2004 16:50:45 +0000
Subject: settin mine type while saving files
Groups: php.general 
Request: Send a blank email to php-general+get-201190@lists.php.net to get a copy of this message
Hi there, I am creating pdf files inside my application and do save them to the server file system. Now I have sent some of the emails by the system via email and found that the mine type is not set. So the pdf file apears in the attachement, but one has to select the application from a list to display it. Is there a way to save the mime type with the file, so windows does know how to handle that file? Thanx for any help on that, Merlin

« previous php.general (#201190) next »