mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 09:16:18 +00:00
17 lines
412 B
PHP
17 lines
412 B
PHP
|
<?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;
|
||
|
}
|
||
|
?>
|