Bootstrap templates
- event mockup - login page
This commit is contained in:
16
bootstrapTemplates/perfectum_dashboard_1_0_5/misc/check-exists.php
Executable file
16
bootstrapTemplates/perfectum_dashboard_1_0_5/misc/check-exists.php
Executable file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/*
|
||||
Uploadify
|
||||
Copyright (c) 2012 Reactive Apps, Ronnie Garcia
|
||||
Released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
|
||||
*/
|
||||
|
||||
// Define a destination
|
||||
$targetFolder = '/uploads'; // Relative to the root and should match the upload folder in the uploader script
|
||||
|
||||
if (file_exists($_SERVER['DOCUMENT_ROOT'] . $targetFolder . '/' . $_POST['filename'])) {
|
||||
echo 1;
|
||||
} else {
|
||||
echo 0;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user