I still have problems with
my Authenticate system, using
index.php & val.php...
(Index = Login&Password page)
(Val = The sequred page).
Anyways, my Index.php
is having a Form (Login&Pass)
when submitted, it verifyes the Login&Pass
from DataBase, and then Shuffle over to
next page (if acess is granted).
But now to the errors.. My val.php looks like this (look below), anyways. The val.php
Don´t even start looping because it doesn´t feel the Submit is done.
Therefore I only get a blank page
while shooting val.php. WHAT TO DO?
<?php
if ($submit) {
if ($REQUEST_METHOD != 'POST') {
?>
<head><title>Inloggad</title></head>
<body>
<h2>Vad vill du göra?</h2><p>
<a href="komm.htm">Mata</a> in ett kommando till DB?<br>
<a href="store.php">Infoga</a> en fil till DB?<br>
<a href="getdata.php">Mata</a> ut en fil från DB?<br>
<a href="input.php">Skriva</a> in en text till DB?<br>
<?
exit();
}
else {
echo 'Sorry, Illegeal request';
}
}
?>
</body>