FILEUP



LOG | FILES | OVERVIEW


F diff --git a/loggedin.php b/loggedin.php --- a/loggedin.php +++ b/loggedin.php
</div>
- <form id="upload_form" style="display:none;" action="php/upload.php" method="post">
+ <form id="upload_form" style="display:none;" action="php/upload.php" method="post" enctype="multipart/form-data">
<input id="filename" name="filename">
<input type="file" name="the_file" id="the_file">
</form>
F diff --git a/php/upload.php b/php/upload.php --- a/php/upload.php +++ b/php/upload.php
exit(1);
}
+ echo "adsf";
+
$file = $_FILES["the_file"];
$filename= $_POST["filename"];