RE: [PHP-WIN] local drive

From: Date: Thu, 21 Feb 2002 17:30:04 +0000
Subject: RE: [PHP-WIN] local drive
Groups: php.windows 
Request: Send a blank email to php-windows+get-12201@lists.php.net to get a copy of this message
Before sending the file, send the typical HTTP header information: Content-Disposition: attachment; filename=Fubar.txt. And the content type info: text/plain or whatever format that is suitable..... You can check www.w3.org for more details on exactly what you need in the header. Doing that should bring up an file download dialog box for the end user. >-----Original Message----- >From: Sandeep Murphy [mailto:Sandeep.Murphy@oni.pt] >Sent: Thursday, February 21, 2002 6:22 PM >To: php-windows@lists.php.net >Subject: [PHP-WIN] local drive > > >hi, > >I have a document (BLOB type) in a database which I hv >retrieved thru an sql >query... > >I need to allow the user to save this document to his local >hard drive upon >clicking a button... > >any ideas as to how I can achieve this??? > >TIA, > >sands > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#12201) next »