mots/load.php

6 lines
149 B
PHP

<?php
if(empty($_POST['hash'])) exit;
$hash = substr($_POST['hash'],1);
if (is_readable('saved/'.$hash)) {
echo file_get_contents('saved/'.$hash);
}