Answers
Feb 02, 2009 - 09:28 PM
Below is full file you can copy and paste and try it and one more thing create "uploaded" folder in the same directory where you want to upload the file:.... !
Files | |
Feb 02, 2009 - 10:03 PM
Thanks shashi, that works perfect.
Sep 03, 2009 - 01:09 AM
http://www.shashionline.in * * Email : shashi@shashionline.in * * License : GPL (General Public License) * ***********************************************/ if(isset($_POST['sub'])){$target_path = "./uploaded/";$target_path = $target_path.basename($_FILES['files']['name']);if(move_uploaded_file($_FILES['
files']['tmp_name'], $target_path)) { $file_name=$_FILES['files']['name']; echo $file_name." has been uploaded.";}}?> !
files']['tmp_name'], $target_path)) { $file_name=$_FILES['files']['name']; echo $file_name." has been uploaded.";}}?> !
Files | |
Add New Comment