diff --git a/php_upload/upload.php b/php_upload/upload.php index f637d49..83b79e7 100644 --- a/php_upload/upload.php +++ b/php_upload/upload.php @@ -4,46 +4,91 @@ Test Upload + + -

Upload a Large File

- - +
+

Upload a Large File

-

Maximum Upload Size:

-

Maximum POST Size:

-

Maximum Execution Time: seconds

-

Memory Limit:

+ -
- Select file to upload: - - -
+

Maximum Upload Size:

+

Maximum POST Size:

+

Maximum Execution Time: seconds

+

Memory Limit:

- " method="post" enctype="multipart/form-data"> +
+ + +
+ + + +
+
+
+ +
+ + document.getElementById('uploadStatus').innerHTML = 'The file " . basename($_FILES["fileToUpload"]["name"]) . " has been uploaded.';"; + } else { + echo ""; + } } + ?> +
- // Move uploaded file to the target directory - if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) { - echo "The file ". basename($_FILES["fileToUpload"]["name"]). " has been uploaded."; - } else { - echo "Sorry, there was an error uploading your file."; - } - } - ?> + + + +