RE: [PHP] UPLOAD_TMP_DIR

From: Date: Tue, 02 Oct 2001 20:13:11 +0000
Subject: RE: [PHP] UPLOAD_TMP_DIR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69634@lists.php.net to get a copy of this message
Hi, You might want to check out http://phpclasses.upperdesign.com. There are a number of useful classes there, including "Metabase" and "HTML Mime Mail". I recently got a notice that the following "Upload" class is also now available. I haven't tried it yet, though. There are other upload classes available there as well. Maybe you could try a couple and write back to this mailing list the ones you liked best? -Joe --- Name: Upload Author: chris <chris@sloppycode.net> Description: The Upload class is a wrapper for uploading files using html forms. The form should have the 'enctype="multipart/form-data"' attribute for this the files to be uploaded properly. The Class should be created by passing $HTTP_POST_FILES as the only argument for the constructor (e.g. $upload = new Upload(&$HTTP_POST_FILES)), and also by reference (the & indicates this). See http://www.sloppycode.net/sloppycode/PHP/cm13.html for the manual. URL: http://phpclasses.upperdesign.com/browse.html/package/348 > -----Original Message----- > From: Henning Støverud [mailto:henning@stoverud.com] > Sent: Tuesday, October 02, 2001 12:58 PM > To: php-general@lists.php.net > Subject: [PHP] UPLOAD_TMP_DIR > > > Hi > > I've made an upload system at my ISP's webserver, but it > seems like they > have done something with the UPLOAD_TMP_DIR cause I get this > error message: > > PHP Warning: File upload error - unable to create a temporary file in > Unknown on line 0 > > Can I set the UPLOAD_TMP_DIR myself inside a PHP script, or > is it only the > sysadmin who can do that? > If I can't do anything about this problem, is it another way to upload > files? > > Regards, > -- > Henning Støverud (henning@stoverud.com) > http://www.stoverud.com > Tlf: +47 91 68 05 68 > Fax: +47 85 02 16 31 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#69634) next »