Yes using PHP. This will upload the files to URL.com/uploads and limit the max file size (you can change that) to 10MB:
uploader.html:
upload.php:
< ?php
$target_path = "uploads/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
if(move_uploaded_file($_FILES['uploade... $target_path)) {
echo "The file ". basename( $_FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
?>
** if the code doesn’t show right, send me an email (gorringeja4@hotmail.com) and i will send u it in aan email. Hope this helps.
Yes using PHP. This will upload the files to URL.com/uploads and limit the max file size (you can change that) to 10MB:
uploader.html:
upload.php:
< ?php
$target_path = "uploads/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
if(move_uploaded_file($_FILES['uploade... $target_path)) {
echo "The file ". basename( $_FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
?>
** if the code doesn’t show right, send me an email (gorringeja4@hotmail.com) and i will send u it in aan email. Hope this helps.