Re: local drive
| From: | Nicole Amashta | Date: | Thu, 21 Feb 2002 17:33:05 +0000 |
| Subject: | Re: local drive | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12202@lists.php.net to get a copy of this message | ||
hrm,
let the user click a "save" button and then:
if ( $save ) {
## generate a file from the blob contents and save with a temp name
## then, go to the location of the file so it will start the download:
http://yourdomain.com/thefilename.doc
## the user can then name the file as they want or keep the temp name
## and save it to their local drive.
}
"Sandeep Murphy" <Sandeep.Murphy@oni.pt> wrote in message
news:69E9C8885D77554CAF2A7C5C690F43595B62AB@arexcprd01.e3g.pt...
> 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