note 48298 deleted from function.move-uploaded-file by tularis
| From: | tularis@php.net | Date: | Sat, 18 Dec 2004 09:28:39 +0000 |
| Subject: | note 48298 deleted from function.move-uploaded-file by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81968@lists.php.net to get a copy of this message | ||
Note Submitter: thiwankalk at gmail dot com
----
Simple File Upload Programm
First u have to input Field Field to Frunt-end
$_Files[fField]['name'] that part get ur only Fiel Name.
$File = "up1/";
$FilePath = $File . $_Files['fField1']['name'];
Print ("Total File Path ". $FilePath);
if (move_uploaded_file($_Files['fFiled1']['temp_name'] , $FilePath))
{
Print (" Oook");
}
else
{
Print (" Error Upload");
}
good Luck
If u have a somting problem please email me, i will send total code.
----
Reason: useless example