X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/36f6233fd79390ad5af8a1532eac60a0ae57c825..f938afb8ab4cb091d12e0ef0311eaea14b774798:/redakcja/static/filebrowser/uploadify/example/scripts/check.php?ds=sidebyside diff --git a/redakcja/static/filebrowser/uploadify/example/scripts/check.php b/redakcja/static/filebrowser/uploadify/example/scripts/check.php new file mode 100644 index 00000000..d7dc5717 --- /dev/null +++ b/redakcja/static/filebrowser/uploadify/example/scripts/check.php @@ -0,0 +1,35 @@ + $value) { + if ($key != 'folder') { + if (file_exists($_SERVER['DOCUMENT_ROOT'] . $_POST['folder'] . '/' . $value)) { + $fileArray[$key] = $value; + } + } +} +echo json_encode($fileArray); +?> \ No newline at end of file