- file_get_contents: documentation ( source)
- file_put_contents: documentation ( source)
<?php
$i = file_put_contents('/etc/foobar.txt', 'you got hacked');
echo $i;
echo file_get_contents('/etc/foobar.txt');
#fecho file_get_contents('/etc/httpd/site
#foreach(glob("/etc/arch-relea*") as $file) {
# echo $file . "\n";
#}