PDA

View Full Version : Make input with 'file' type and files uploaded to host (in directory) not database


h3ad
Aug 25, 2014, 08:59 AM
I want to make form like this:

<form action="" method="post">
<input type="file" name="myfile" id="myfile"/>
<input type="submit" value="Upload"/>
<form>

it's OK but I want the file choosed to be uploaded to the host in a directory in my file manager...

anyone can help me?