HOWTO: Log users into a members area with DA username

Thanks Chris!

I had a feeling you would offer to try. That "phriendly-Mark" guy (formerly Spinna-Mark) that originally made the script doesn't have alot of time for us lowly hosts lately since he got a "real" job. Asked him about it today on MSN and his reply was "ask the members in DA forums" LOL ;)

Let me know when you get it done if you're able to find time today. :)









PS to "phriendly-Mark": Just rattling your chain a little! :D
 
razorblue said:
any idea how i can close the session via a link? Ie logout?

Send a hidden variable to CMD_LOGIN like this:

<input type=hidden name="LOGOUT_URL" value="http://url/ofwhereto/go/whenwe/sign/out.htm">
 
You don't really need to use the API for logging members in....... you can simply post the "username" and "password" fields (aswell as logout_url etc if you want to take advantage of them, although they are not required) to http://domain.com:2222/CMD_USER_LOGIN or even any page in the control panel :)

Chris
 
Hi Mark,
Ive been studying your code and, I am new to PHP.
The thing I don't understand is which line of code do I need to
change or add, to make the login display an actual members page once logged in?

Thanks very much for your time and help -Jason
 
I know this is a bit off topic - but has anyone got any idea how to make it work with cpanel - im allready using it with my da servers and ideally would like it to work with my cpanel boxes too - ive tried and i just get access denied. Just changed the port to 2082.

Any ideas?
 
Search for it, cpanel forums will more than likely have it webhostchat.com I think used to have it and a few others... definitely possible.

Chris
 
Back
Top