note 33134 deleted from features.file-upload by betz
| From: | betz@php.net | Date: | Sat, 05 Nov 2005 09:31:36 +0000 |
| Subject: | note 33134 deleted from features.file-upload by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98114@lists.php.net to get a copy of this message | ||
Note Submitter: mitchy_AT_spacemonkeylabs_DOT_com
----
After hours of profanity-laced tirades and futility mixed with panic, I have found the solution to
my ills: HTTP_Upload, written by Thomas V.V. Cox, found at:
http://pear.php.net/HTTP_Upload
First, it is done in PEAR[1], and you all should use PEAR too. Second, it has many additions, like
creating unix-friendly filenames from those wacky Windows users (filenames with spaces, yuck!)...
I cut-n-pasted from the example page, and it just plain worked. No muss, no fuss, no messy
applicator brush!
[1]What is PEAR? It is a means for PHP developers to share and reuse code, usually reducing
development costs and efforts by an order of magnitude. Even more important, someone else figured
out that blasted library of functions that have had you stumped for days, and it is wrapped up in a
neat, easy-to-use object. With a simple command-line installer, PEAR makes getting PHP-based
add-ons and libraries as easy as apt-get! It is found at http://pear.php.net/