This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
filespread/res/php/fileexists.php
2016-04-06 17:30:05 +02:00

10 lines
161 B
PHP

<?php
# COPYRIGHT (c) 2016 Marcel Kapfer (mmk2410)
# MIT License
$file = "../../" . $_GET["file"];
if (file_exists($file)) {
echo 0;
} else {
echo 1;
}