Dopo aver creato una semplice pagina di login, vado ad aprirla ed esce questo:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Warning: Unknown: Failed opening '/Users/SimoZa/Sites/imp_edil/index.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in Unknown on line 0
Il codice viene usato nell'index.php che permette il login:

Codice PHP:
<?php
session_start
();
if (
$verified_user == ''header("Location: log-in.php");
session_register("verified_user");
?>
<html>
<head>
<title>Index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css">
</head>
<body>

[url="log-in.php"]Log in[/url] - [url="index.php"]Index[/url] - [url="log-out.php"]Log out[/url]


Welcome!

</body>
</html>