<?php
require_once('Auth/Auth-1.6.4/Auth.php');
class MyAuth extends Auth
{
function custom_login( $username = null, $status = null )
{
if( $status == AUTH_WRONG_LOGIN )
$status_msg = 'nameORpasswordWRONG';
else
$status_msg = '';
echo <<<LOGIN_FORM
LOGIN_FORM;
}
}
?>
I get the following error:
syntax error, unexpected $end
I got this error when I added the following lines:
echo <<<LOGIN_FORM
LOGIN_FORM;
I checked }, but they seem to correct. Can somebody help me?