How to upload hard coded image in php
<p>I want to upload a particular image without using upload controls. My problem is that I am not able to pass the hard coded image path to <code>upload.php</code>.</p>

<p>upload.php:</p>

<pre><code>&lt;?php

  //i want to assign my image path here can any one tell me how to do that
  echo "Upload: " . $_FILES["file"]["name"] . "&lt;br /&gt;";
  echo "Type: " . $_FILES["file"]["type"] . "&lt;br /&gt;";
  echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb&lt;br /&gt;";
  echo "Stored in: " . $_FILES["file"]["tmp_name"];

?&gt;
</code></pre>
