title: Can people write a .php file to my chmod 777 folder
body: <p>Is it possible for hackers ( or other ) to upload/write a php file to a folder on my site that has chmod 777?</p>
  
  <p>Example:</p>
  
  <p>I have a folder that has chmod 777.
  That folder contains images.
  I use .htaccess to block indexing the folder.</p>
  
  <p>Reformed question:
  Can people write a .php file to my folder that has chmod 777 by using a PHP script on their website? For example , to list all the images in that folder</p>
  
  <p>( I'm familiar with the right chmod for uploading folder etc .. , just asking it hypotheticaly )</p>