<?php
////////////////////////////////////////////////////////////////////////
// Breeze Website Builder
// Copyright Silver Dolphin Solutions, LLC, Edward Lemmers, P.E.
// For licensing, see license.txt.
// Created:	3/9/2013	ELL

include ("check_session.php");

$file_name = $_POST['file_name'];
$folder = $_POST['folder'];
	
$document_root = $_SERVER['DOCUMENT_ROOT'];
$path = $document_root . "/" . $folder;
$file_path = $path . $file_name;
	
if (file_exists($file_path))
	print "1";
else
	print "0";
	
	
?>