Yeshua, creo que tienes un error, tu estas poniendo:
<?php
if(!($_SERVER['HTTP_REFERER']==" ingreso.php")){
echo "No puedes entrar, debes registrarte";
?>
<html>
<head>
<META NAME = "ROBOTS" CONTENT = "NOARCHIVE">
<title>USER1</title>
</head>
<body>
Estas autentificado, este es tu espacio personal.
</body>
</html>
Pero descubri que en realidad se debia poner:
<?php
if(!($_SERVER['HTTP_REFERER'] == "http://localhost/Validar/ingreso.php")){
echo "No puedes entrar, debes registrarte";
} else {
?>
<html>
<head>
<META NAME = "ROBOTS" CONTENT = "NOARCHIVE">
<title>USER1</title>
</head>
<body>
Estas autentificado, este es tu espacio personal.
</body>
</html>
<?php } ?>
En fin, me funciono bien...