Alright, I know my way around PHP pretty damn well, it could be because it's 2AM and I'm tired as hell, but I'm trying to figure out if this is possible. Use cURL to take user/pass from a form, and login to squirrelmail and see if it was successful, if it is, take them to the inbox like if they would have logged in, if not, return them to a custom error page. Am I barking up the wrong tree trying to figure this out, or is it possible? And if so, how do I go about doing that? Thanks in advance for anyone who's trying to help.