title: transfer image files from Android to a Linux server using PHP
body: <p>I'm working on a project to transfer image files from Android to a Linux server using PHP. </p>
  
  <p>In the Android application, it went smoothly, but the file was not created on the Linux server.</p>
  
  <p>Here is my PHP code. Is there a problem?</p>
  
  <pre><code> &lt;?
      $file_path = "/home/jinwoo/Pictures/Logo/";
      $file_path = $file_path . basename($_FILES['uploaded_file']['name']);
      if(move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $file_path)){
          echo "file upload success";
          echo $file_path;
      } else{
          echo"file upload fail";
      }
  ?&gt;
  </code></pre>
  
  <p>In addition, I changed the permissions of all folders in the path where the file will be created to 777.</p>
  
  <p>I'm sorry I used a translator because I am not good at English.</p>