From b70aeacf036a6604f6b233576ca68152557189e4 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sat, 5 Dec 2015 17:27:54 +0000 Subject: Add files to allow search of blaupload.\n WIP. --- search.php | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 search.php (limited to 'search.php') diff --git a/search.php b/search.php new file mode 100644 index 0000000..8d027a0 --- /dev/null +++ b/search.php @@ -0,0 +1,40 @@ +filename, $search) !== false) { + $results[] = $config["url"] . "/" . $upload->filename; + } + } + + // Return results + if (empty($results)) { + echo "No results found\n"; + } else { + var_dump($results);die(); + } + +} catch (Exception $e) { + var_dump($e->getMessage());die(); +} \ No newline at end of file -- cgit v1.2.3