PDA

View Full Version : external login


SurfMarketing
13th December 2006, 04:55 AM
can i do a external login from my website?

poke
14th December 2006, 10:00 PM
4PSA Central Login might work for you, especially if you have multiple Plesk servers.

SurfMarketing
15th December 2006, 12:18 AM
how do I do that?

poke
15th December 2006, 12:28 AM
Check these links:
http://www.4psa.com/products/faq.php?pcode=clogin

http://www.4psa.com/docs/clogin_end_user.pdf


Basically you will install the software, add your server(localhost), if on one server. Then 4PSA provides a login page to incorporate into your site.

Beto
18th December 2006, 06:29 AM
Create a form on your website and redirect it to your plesk server:

<form name='klantenlogin' method='post' action='https://XXX.XXX.XXX.XXX:8443/login_up.php3' target='_blank'>

<table border='0' cellpadding="0" cellspacing="0" width='90%' align='left'>
<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr><td>&nbsp;<b>Login: </b></td><td><input name="login_name" type="text" class="small" size="30" /></td></tr>
<tr><td >&nbsp;<b>Password: </b></td><td><input name="passwd" type="password" class="small" size="30" /></td></tr>
<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td align='right'><i>Log in</i>&nbsp;<input class="contact" value="&nbsp;&nbsp;&nbsp;&nbsp;" name="Submit" title="Klantenlogin" align="middle" type="image" />&nbsp;</td></tr>
</table>

If you have multiple servers you can do it in two steps by do an nslookup via php and use the output to fill in the server address.

I'm using this on http://www.upstream.be/plesklogin.php
- step 1 : filling in the domain
- step 2 : username and password