%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/at.nails.tv/js/jquery/uploadify_/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/at.nails.tv/js/jquery/uploadify_/check-exists.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'] . $_POST['folder'] . '/' . $_POST['filename'])) {
	echo 1;
} else {
	echo 0;
}

/*
$fileArray = array();
foreach ($_POST as $key => $value) {
	if ($key != 'folder') {
		if (file_exists($_SERVER['DOCUMENT_ROOT'] . $_POST['folder'] . '/' . $value)) {
			$fileArray[$key] = $value;
		}
	}
}
echo json_encode($fileArray);*/
?>

Zerion Mini Shell 1.0