Sha256: 71735593692a7b9714a3bac7aec0a25f7f0b226dc03f0f75cc92a6ec9e9d0dc6

Contents?: true

Size: 342 Bytes

Versions: 6

Compression:

Stored size: 342 Bytes

Contents

<?php
/*
UploadiFive
Copyright (c) 2012 Reactive Apps, Ronnie Garcia
*/

// 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;
}
?>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
redde-0.0.8 lib/generators/redde/layout/templates/assets/images/admin/uploadifive/check-exists.php
redde-0.0.7 lib/generators/redde/layout/templates/assets/images/admin/uploadifive/check-exists.php
redde-0.0.6 lib/generators/redde/layout/templates/assets/images/admin/uploadifive/check-exists.php
redde-0.0.5 lib/generators/redde/layout/templates/assets/images/admin/uploadifive/check-exists.php
redde-0.0.4 lib/generators/redde/layout/templates/assets/images/admin/uploadifive/check-exists.php
redde-0.0.3 lib/generators/redde/layout/templates/assets/images/admin/uploadifive/check-exists.php