title: Getting error with move_uploaded_file HTTP wrapper does not support writeable connections
body: <p>I am currently working on a project with php. Here I want to store the image into folder using <code>move_uploaded_file</code> but when I use the following code : </p>
  
  <pre><code>if (move_uploaded_file($_FILES['file_promo_image']['tmp_name'], $uploadfile))
      {
          echo "Le fichier est valide, et a été téléchargé avec succès.\n";
  
      }
  </code></pre>
  
  <p>I am getting the following error :</p>
  
  <pre><code>Warning:  move_uploaded_file(http://www.desgensbien.com/sites/bestinfo/images/news/CodeCogsEqn.gif) [function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections. in /homez.534/desgensb/www/sites/bestinfo/admin/record-news.php on line 73
  
  
  
  Warning:  move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpfCHv2s' to 'http://www.desgensbien.com/sites/bestinfo/images/news/CodeCogsEqn.gif' in /homez.534/desgensb/www/sites/bestinfo/admin/record-news.php on line 73
  </code></pre>
  
  <p>How can I resolve this issue</p>