View Full Version : Different login\logout pages??
netmotiv8
03-16-2004, 03:38 AM
Hi,
This may sound like a stupid question :(
I want be able to have a directadmin use login link which I can integrate into the design of my web site front page as well as maintaining a seperate login page for users to access at the the normal login at the normal http://yourdomain:2222 location. And therefore also require seperate logout pages (e.g. the page they are returned to after they logout) as a result.
Have I made myself clear?
Neil
existenz
03-16-2004, 07:54 AM
If you search the forum you can find more information. You can also check out the API list
http://www.directadmin.com/api.html (http://directadmin.com/api.html)
You are interested in the: LOGOUT_URL, CMD_LOGIN and somehwere you can find the tag for login errors.
DirectAdmin Support
03-16-2004, 10:44 AM
http://www.directadmin.com/forum/showthread.php?s=&threadid=249&highlight=CMDLOGIN
netmotiv8
03-16-2004, 11:00 AM
perfect!
Thanks for pointing to me to that thread
Neil:D
netmotiv8
03-17-2004, 06:17 PM
Re: what existenz said:
You are interested in the: LOGOUT_URL, CMD_LOGIN and somehwere you can find the tag for login errors.
I cant find the error tags for logins. Where can I find them and also how do I use them my html login page. Below is the code i have used to create the login page:
<form action="http://195.82.99.114/CMD_LOGIN" method="POST">
<input type=hidden name=referer value="/">
<input type=hidden name="LOGOUT_URL" value="http://www.netmotivated.co.uk/support/logout_cp.html">
<tr><td align=right class=list><div align="left">Username:<br>
<input type=text name=username>
<br>
<br>
</div>
Neil :D
DirectAdmin Support
03-18-2004, 12:02 AM
You just add a token at the top of the page:
|?FAILEDLOGIN=<h1>Hey Smart Guy, WRONG Password!!</h1>|
http://www.directadmin.com/features.php?id=250
John
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.