This code changes file permissions
Mark E.
<?php
echo shell_exec('
#!/bin/bash
find $1 -type f -exec chmod 644 {} \;
echo " end"
');
?>
<?php
echo shell_exec('
#!/bin/bash
find $1 -type f -exec chmod 644 {} \;
echo " end"
');
?>