chmod() is used to change permission of a file generally to public read (0644) or public read not (0640). If file is writeable/editable, its permission need be 0666.
Uploading PHP files to Web server by general public or users is dangerous.
`~@#\^%&*/\.<.\/-|+|_!:;..=?>
A small donation and a link back to you
Students' finances