RE: [PHP-WIN] local drive
| From: | Sandeep Murphy | Date: | Thu, 21 Feb 2002 18:12:27 +0000 |
| Subject: | RE: [PHP-WIN] local drive | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12206@lists.php.net to get a copy of this message | ||
please, wud be grateful..:)
sands
-----Original Message-----
From: Olivier Hubert [mailto:raggart@colvir.net]
Sent: quinta-feira, 21 de Fevereiro de 2002 17:39
To: Sandeep Murphy; php-windows@lists.php.net
Subject: Re: [PHP-WIN] local drive
Hi,
Do you know the mime type of the document? If so, you could simply
send the file through HTTP e.g. when the user presses the button, instead
of accessing a web he/she accesses a script that will send the information
contained in the database field. If you like I could send you sample code
to do this.
HTH
Olivier
At 17:21 2002-02-21 +0000, Sandeep Murphy wrote:
>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