From da1493b95a2f0b5000a487ae373c9318c58d0b2d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 24 Oct 2010 21:08:27 +0000 Subject: partial implementation of flash uploader --- vendors/uploadify/example/scripts/check.php | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 vendors/uploadify/example/scripts/check.php (limited to 'vendors/uploadify/example/scripts/check.php') diff --git a/vendors/uploadify/example/scripts/check.php b/vendors/uploadify/example/scripts/check.php new file mode 100644 index 000000000..d7dc57177 --- /dev/null +++ b/vendors/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 -- cgit v1.2.3