Ah, okay... then I have some good news and some bad news for you. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />
Good news number one - the new login code can automagically redirect you back to where you came, as long as you're on the same domain name.
Good news number two - you can still just include main.inc.php to get the environment, as well as everything you need to authorize the user, etc.
Which is the bad news - the code is now much more intrusive, and will try to reconfigure some PHP settings on the fly, and do some other things that might not play well with your existing code. But that is sort of to be expected.
Last edited by Charles Capps; 11/09/2004 6:05 PM.