Posted By

resting on 11/30/10


Tagged

apache


Versions (?)

Fix to remove apache owner directory files


 / Published in: PHP
 

URL: http://www.frihost.com/forums/vt-14867.html

Save in a php file and run in the directory. Remove directory files through ftp. Remove php file

  1. <?php
  2. system('./fixmod');
  3.  
  4. print "\n\nComplete!";
  5.  
  6. system('find . -type d -exec chmod 777 {} \; 2>&1');
  7. system('find . -type f -exec chmod 777 {} \; 2>&1');
  8.  
  9. print "\n\nComplete!";
  10. ?>

Report this snippet  

You need to login to post a comment.