RE: [PHP] upload script

From: Date: Wed, 10 Dec 2003 21:45:40 +0000
Subject: RE: [PHP] upload script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172391@lists.php.net to get a copy of this message
Try this, its very very simple though $PicPath="Path/"; if(is_uploaded_file($_FILES['Photo']['tmp_name'])) { copy ($_FILES['Photo']['tmp_name'], $PicPath.$_FILES['Photo']['name']); } -----Original Message----- From: tony [mailto:awardd@essex.ac.uk] Sent: 10 December 2003 21:34 To: php-general@lists.php.net Subject: [PHP] upload script hi, I was wondering if anyonehad a script to upload files. Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#172391) next »