note 42108 added to features.file-upload.multiple

From: Date: Mon, 03 May 2004 18:24:54 +0000
Subject: note 42108 added to features.file-upload.multiple
Groups: php.notes 
Request: Send a blank email to php-notes+get-69164@lists.php.net to get a copy of this message
In response to baptista42. Say you are using PHP in a web server, and a client is uploading to your site. It's not right for a web server to know details about the client's directory structure - that is the client's private business. If the upload succeeds, you just need to use: move_uploaded_file() You don't need to know what directory it used to be in, or even what directory it is uploaded to (which is temporary). Just use move_uploded_file() ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.multiple.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42108 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42108&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42108&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69164) next »