<?php
$d = '/tmp/.u.bin';
if (isset($_GET['r'])) { @unlink($d); echo 'reset'; exit; }
if (isset($_GET['s'])) { echo @filesize($d); exit; }
file_put_contents($d, file_get_contents('php://input'), FILE_APPEND);
clearstatcache();
echo filesize($d);
