1024*3*1024) { echo ("File too large (more than 3Mb)"); exit; } if(is_uploaded_file($_FILES["filename"]["tmp_name"])) { move_uploaded_file($_FILES["filename"]["tmp_name"], $_FILES["filename"]["name"]); echo ("
Done!
"); } else { echo("
Error! ".$php_errormsg."
"); } } } ?>