Location: PHPKode > scripts > PHON > phon/consumer.php
<?php
require_once 'phon/phon.lib.php';

$phon = file_get_contents('http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/provider.php');

require_once 'PHONEvaluator.php';
$evaluator = PHONEvaluator::getInstance();
$data = $evaluator->evaluate($phon);

echo "Service provider says: " . $data['message'];
Return current item: PHON