Hello
I recently installed xampp lite on my laptop running vista.
I get the following error when I attempt to run some php/html code:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
I'm learning PHP and this is the code that I'm running:-
<html>
<head>
<body>
<form action = index.php" method=POST>
Username:<input type=text name=user><br />
Password:<input type=password name=pass><br />
<input type=submit value="GO!"><p>
</form>
<?php
$user=$_POST['user'];
$pass=$_POST['pass'];
if(($user=="test")&&(pass=="test"))
echo "Access Granted!";
else echo "Access Denied!";
?>
</head>
</body>
</html>
I've made sure that I have full control rights to the directory, xampp, so that i should be able to read and write to it.
Can anyone help me with suggestions on how to solve this?
Thanks