//--------------------/* Show error if called directly */
if ( basename($_SERVER['PHP_SELF']) <> 'index.php')
{
echo 'Sorry, this page can\'t be served directly. ';
echo 'Try this instead.';
exit;
}
?>