Methods for uploading files
| From: | Mike Flynn | Date: | Thu, 05 Apr 2001 00:29:31 +0000 |
| Subject: | Methods for uploading files | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6519@lists.php.net to get a copy of this message | ||
Hey all,
I would like to enable my users to upload binary data into the database -- into MySQL blobs. I/e they could upload images, or word documents, etc. However, my network administrators have told me that they have PHP file uploads disabled for security reasons.
My question to you is this: If the binary data (file) being uploaded is not going into a new file on the server but rather just funneled into the database, can I still allow users to upload files using those form file input fields? If not, is there any workaround?
They mentioned something about RFC1867 file uploads, specifically using a Perl/CGI implementation (see http://www.vivtek.com/cgi/getargs.html).
My question, then is: Can I still do this type of file upload feature for my users, either in PHP or with this Perl method, or are web-enabled uploads of files pretty much out of the question?
Thank you very much for all help!
-Mike Flynn
-=- Mike Flynn - Burlington, VT -=-mike@mikeflynn.net http://www.mikeflynn.net/ * Give blood * Born to see two thousand years
of man's effect upon the planet [Killing Joke]Extinction seems to be a plausible risk