Posts: 730
Name: John
Location: United States of America, California
|
How do I upload a file to a folder outside the document root without moving files and have a maximum size of 700 Mb and the upload in this location outside the document root is /home/forbushj/uploaded/ when the document root is /home/forbushj/public_html/?
Those are the two absolute paths in bold.
HTML Code:
<form action="http://www.technologyforever.com/somescript.php" method="post" enctype="multipart/form-data" name="form1">
<p>Upload Form</p>
<p>
<label>Upload
<input type="file" name="file" id="file">
</label>
</p>
<p>
<input type="submit" name="button" id="button" value="Submit">
</p>
</form>
|