PHP CODE:
<?php
$referrer = $_SERVER['HTTP_REFERER'];
if (strpos($referrer, "bonaca.net46.net") === FALSE
|| !($_POST['pass'] == 1405 || $_POST['pass'] == 999)
{
header('Location: index.php');
};
?>
What I need:
If user comes from another page than bonaca...
OR he typed wrong pass (correct pass are 1405 or 999) he should be redirected.
What I got:
Parse error: syntax error, unexpected '{' in... on line 5