title: get file from server using file url
body: <p>i try to store file on server "public/image" folder and it store the file. but when i try to read or check file is exist using  url:::"<a href="http://www.myapp.net/image/image_654391973.txt" rel="nofollow">http://www.myapp.net/image/image_654391973.txt</a>" it returns 
  not exist. and all permission of image folder and file are set to read and write("0777").</p>
  
  <p>here is my test code:</p>
  
  <pre><code> &lt;?php
  
      $FileName="/home/a/public_html/image/"."image_".rand().".txt";
      $binary="hello";
      $Event_file = fopen($FileName, "wb");
      fwrite($Event_file, $binary);
      fclose($Event_file);
      $Path=realpath($FileName);
  
   //get image file
      $get_path="http://www.myapp.net/image/image_654391973.txt";
  echo $get_path ."&lt;br&gt;";
     if(is_file($get_path))
  {
  echo "file exists on server";
  }
  else
  {
  echo "file not exists on server ";
  }
  ?&gt;
  </code></pre>
  
  <p>file is store on folder but it return  "file not exists on server"</p>