Posted by: ranacse05 on: February 23, 2008
Hello everybody here is a upload script by php.using this script u can upload file in the server.This is not that tough script.But for beginners its important.:)
index.php file
[FORM ENCTYPE="multipart/form-data" ACTION="uploadck.php" METHOD=POST]
Upload this file: [INPUT NAME="file_up" TYPE="file][INPUT TYPE="submit" VALUE="Send File [/FORM]
uploader.php
$file_upload=”true”;
echo $_FILES[file_up][name];
$file_name=$_FILES[file_up][name];
$add=”upload/$file_name”; // the path with the file name where the file will be stored, upload [...]
Recent Comments