Hi to all PHP sifu and guru,
I would like to know how i can give description to a file and upload the file onto a server folder. I am using HTM to interface with the PHP. Below is the HTM script:-
<HTML>
<HEAD>
<TITLE>Upload file</TITLE>
</HEAD>
<BODY>
<form action="uploadit.php" method="post" enctype="multipart/form-data">
Select File to Save : <input type="file" name="thefile"><br>
<hr>
Department : <select size="1" name="Deparment">
<option>Diffusion</option>
<option>Implant</option>
<option>CMP</option>
<option>Q.A</option>
</select>
<p>Description : <input type="text" name="description" size="20"></p>
<p>
<input type="submit" value="Upload"> <b><a href="index.htm">CANCEL</a></b>
</p>
</form>
</BODY>
</HTML>
Can someone please teach me on the uploadit.php side or you can give me some example that you have done that simillar to this one. I really appriciate your knowledge for this..
regards,
Alfy Merican