I didn't think i should post in this thread considering that it's in the wrong category, but I didn't think it would be right to make another post about this same thing, so here it goes. I've been using Roundcube for about a month now for a free email site much like yahoo mail. I'm using the latest RC2 version, and I have a registration system. About the registrations system to start, how it works it it runs through two files, the first is the data gathering section (form), the second is the data processing section (form processor). The form section gathers the appropriate information such as "Username" and "password" as well as a javascript password validation. The form processing section takes the form data and creates a new account through cpanel, with this method everything worked great but there was one problem, the users that registered had no way of knowing if they were registered, if there username was already taken, or if the server had an error. So I came up with a solution, the form processor would make the request to cpanel, and it would return the page contents, from there I added in a couple of these:
if (strpos($page, 'successfully') !== false) { echo '<center><h3>Registered</h3>Your account has been created, you may now login</center>'; }
and from there everyhting was working really smooth, the users liked it and I was happy. Now I've come accross this post and would like to implement this into my site but the problem is that theres no way for this form to tell weather the user was registered or not to log him in, how would I make it so that if the page returned successfully it sends the form to log in?
Thanks in advance,
John