Location: PHPKode > projects > Kwalbum > kwalbum/ajax/joinValidate.php
<?php // Kwalbum 2.0, 0.9.0
// for AJAX in join mode

require_once pathinfo(__FILE__, PATHINFO_DIRNAME).'/../include/JoinValidate.php';
$validator = new JoinValidate();

$response =
	'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
	.'<response>'
	.'<result>'
	.$validator->validateAJAX($_POST['inputValue'], $_POST['fieldID'])
	.'</result>'
	.'<fieldid>'
	.$_POST['fieldID']
	.'</fieldid>'
	.'</response>';
if (ob_get_length()) ob_clean();
header('Content-Type: text/xml');
echo $response;
?>
Return current item: Kwalbum