Hello, I'm designing my own website, I want to create online assignment submission system which allows to students to upload their assignment through this webpage,and receive feedback immediately via the browser.The teacher can recieve student documents and grade the student for his assignment.
Since Im working on my localhost(XAMMP), let say now Im the student and teacher(Admin) at same time because the work will done in my localhose.
so far I just was able to upload file using this php code.
<form action="upload.php" enctype="multipart/form-data" method="post">
<p>
Type some text (if you like):<br>
<input type="text" name="textline" size="30">
</p>
<p>
Please specify a file, or a set of files:<br>
<input type="file" name="file" id = " file" size="40">
</p>
<div>
<input type="submit" id ="u_button" name = "u_button" value="Send">
</div>
</form>
I know this code simple for uploading file . I have to code " upload.php" inorder to send the uploaded file to my server(XAMMP), How can this be done? and How can I create in my database online submission system for student and teacher that I described above.