title: upload files using form Text input type
body: <p>Presently I am using , <code>type="file"</code>  for uploading files. But my use case is to upload from text box itself with given complete file path.</p>
  
  <pre><code>&lt;form action="upload_file.php" method="post" enctype="multipart/form-data"&gt;
  &lt;label for="file"&gt;Filename:&lt;/label&gt;
  &lt;input type="file" name="file" id="file"&gt;&lt;br&gt;
  &lt;input type="submit" name="submit" value="Submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>In submit form page: </p>
  
  <pre><code>&lt;?php move_uploaded_file($_FILES["file"]["tmp_name"],
        "upload/" . $_FILES["file"]["name"]);
        echo "Stored in: " . "upload/" . $_FILES["file"]["name"]; ?&gt;
  </code></pre>
  
  <p>I want to specify file path in a <strong>textbox</strong> , from there i want upload the image. How can i accomplish it ?</p>