Hey again
That script added users to the database, this script verifys the login (its the end bit)
if($num != 0)
{
session_start();
$msg = "<meta http-equiv=\"refresh\" content=\"0; url=./secure/index.php?usn=$username&(SID)\">"; } //This doesnt Work
else
{ $msg = "<meta http-equiv=\"refresh\" content=\"0; url=./denied.php\">"; }
?>
<html>
<head><title>Log-In Authentication...</title>
<?php echo($msg); ?>
</head>
<body> <?php echo(SID); ?> </body> </html> //This works
I want it to refresh to page "./secure/index.php" which it does, i also want it to send the username which it does, i want it to send the PHP_SESSID, which it doesnt, but it echos it at the bottom as a test that it works.
I dont know how to get it to send the PHP_SESSID, ive had an attempt, but it just comes out with
"./secure/index.php?usn=Matt&(SID)"
Can some one tell me whats wrong with that line of code.
Thanks very much
Matt