summaryrefslogtreecommitdiff
path: root/doc/niels-diplom/Dateistruktur/admin/upload.php
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-30 15:43:52 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-30 15:43:52 +0100
commit8ea6ea6db019f68436a69f36aae55a9f205efa35 (patch)
tree5c367520523c42b1935491d199b4e8f3c17b4708 /doc/niels-diplom/Dateistruktur/admin/upload.php
parentec6e82dbcdc153b9973240cdff91a03b6d2dc886 (diff)
downloadsqltutor-plugin-8ea6ea6db019f68436a69f36aae55a9f205efa35.tar.gz
sqltutor-plugin-8ea6ea6db019f68436a69f36aae55a9f205efa35.tar.bz2
sqltutor-plugin-8ea6ea6db019f68436a69f36aae55a9f205efa35.zip
doc: Nils Weber doesnt have an 'e' in his firstname
Diffstat (limited to 'doc/niels-diplom/Dateistruktur/admin/upload.php')
-rwxr-xr-xdoc/niels-diplom/Dateistruktur/admin/upload.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/doc/niels-diplom/Dateistruktur/admin/upload.php b/doc/niels-diplom/Dateistruktur/admin/upload.php
deleted file mode 100755
index 1ef34c3..0000000
--- a/doc/niels-diplom/Dateistruktur/admin/upload.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?
-
-$uploadDir = '/usr/local/apache/htdocs_ssl/dipl/admin/LIST/';
-$uploadFile = $uploadDir . $_FILES['userfile']['name'];
-
-print "<pre>";
-if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadFile))
-{
- print "File is valid, and was successfully uploaded. ";
- print "Here's some more debugging info:\n";
- print_r($_FILES);
-}
-else
-{
- print "Possible file upload attack! Here's some debugging info:\n";
- print_r($_FILES);
-}
-print "</pre>";
-?>
-
-<form enctype="multipart/form-data" action="upload.php" method="post">
- <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
- Choose a file to upload: <input name="userfile" type="file" />
- <input type="submit" value="Upload File" />
-</form>