zMagenta
Posting Freak
- Jul 15, 2011
- 1,414
- 682
Hey there, I've started to do the index page for ChinkCMS. But one error, but I get this error;
But I've searched my index, I can't find the problem? Here's line 50-70;
Thanks,
Jamie.
PHP:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\xampp\htdocs\12345tr\index.php on line 64
But I've searched my index, I can't find the problem? Here's line 50-70;
PHP:
if (strlen($_POST['credentials_username']) < 1)
{
$errors[] = "Please enter your user name";
}
if (strlen($_POST['credentials_password']) < 1)
{
$errors[] = "Please enter your password';
}
if (count($errors) == 0)
{
if ($users->ValidateUser($credUser, $credPass))
{
if (isset($_POST['page']))
{
$reqPage = filter($_POST['page']);
$pos = strrpos($reqPage, WWW);
if ($pos === false || $pos != 0)
{
Thanks,
Jamie.