title: Add a field "CREATE AN ACCOUNT" using prestashop
body: <p>I am very newbie  for prestashop. my image name is saving perfectly in databse. but while during image uploading create error <code>warning failed to open stream: HTTP wrapper does not support writeable connections in /opt/lampp/htdocs/xyz.com/shop/controllers/AuthController.php on line 427</code>.
  i am using the code for uploading    </p>
  
  <pre><code>   $customer-&gt;profile_image = $this-&gt;uploadProfileImage(); // call function
  
      public function uploadProfileImage() { // this is function
      if(isset($_FILES['profile_image'])){
          $target_file = "http://192.168.1.10".__PS_BASE_URI__.'upload';
          $fileName = str_replace(" ", "-", $_FILES["profile_image"]["name"]); 
          $name = pathinfo($fileName, PATHINFO_FILENAME);
          $extension = pathinfo($fileName, PATHINFO_EXTENSION);
          $increment = '';
          while(file_exists($target_file.$name . $increment . '.' .$extension)) {
                  $increment++;
          }
          $basename =$name.$increment.'.'.$extension;  
  
          $filen = $_FILES['profile_image']['tmp_name']; 
          move_uploaded_file($filen, $target_file.$basename );
          return $basename;
      }  
  
  }
  </code></pre>
  
  <p>I am using  1.4.3.</p>