in reply to RE: RE: Re: File Upload Security Question
in thread File Upload Security Question
When you want to serve a file (I assume you mean over an HTTP connection), you can just set up a script to grab the filename from the db, grab the metadata, etc. I'm pretty sure you could then just issue the correct Content-Type, then open up the file and spit it out to the browser. Be sure to use binmode if you're running on a Windows machine (or one that makes a distinction between text and binary files).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: RE: Re: File Upload Security Question
by Ovid (Cardinal) on Jun 12, 2000 at 07:34 UTC | |
by btrott (Parson) on Jun 12, 2000 at 07:43 UTC |