note 33134 added to features.file-upload
| From: | mitchy_AT_spacemonkeylabs_DOT_com at rack1 dot php dot net | Date: | Tue, 17 Jun 2003 14:29:06 +0000 |
| Subject: | note 33134 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50500@lists.php.net to get a copy of this message | ||
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/
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33134
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33134&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33134&report=yes