[snip] I think that's pretty much your only option. You could use javascript to redirect if you wanted. > is there any way other than > > header("Location: http://www.php.net/"); > > to redirect to another page. [/snip]
Using the switch() function that I showed before here is what I have done... login.php has the login form with an action of login1.php which is script containing the case statement. It is just a script with no output until it reaches its chosen header info. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php