Here's what I do, maybe this will help to give you an idea... --snip-- <? if ($_REQUEST['dw'] == 0) { session_start(); $_SESSION['username'] = ****; //Wherever you got the username from... $_SESSION['password'] = ****; //Wherever you got hte password from... } else if ($_REQUEST['dw'] ==1) { //blah blah } ?> <form *** action="page1.php?dw=0"> <a href="page1.php?dw=1"> --snip-- "Andy B" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [snip] > You can use the HTTP Authentication instead for username and password. > [/snip] > > no i cant this time because the people want the login form to follow their > color setup and stuff and with www-authenticate: box you cant do that...so > for this project its out of the question...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php