Hi Ok, This must be a fimiliar login script. I want to change the target of werk.htm in the header to a specific frame. How to do that? something like in html <a href="blabla.htm" target=_parent>
Danny FROM user WHERE username='$PHP_AUTH_USER' and password='$PHP_AUTH_PW'"; $result = mysql_query($sql); $num = mysql_numrows($result); if ($num != "0") { echo "<P>You're authorized!</p>"; header("Location: werk.htm"); echo "welocome $PHP_AUTH_USER"; exit; } else echo '<body bgcolor="99CC99"> you're not authorized'; exit; } } ?> --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php