How?: External login for siteworx

Hi,

I was wondering if i could make an external login form for my customers to login to their siteworx control panel from my site.

So, i’ll set an example: I have my own “company” website, but i want my customers to login from my site into their siteworx account, instead of going to their control panel’s URL.

So i would make a login form, but what should i do next? What actions or tags do i need to use to get it working?

I’ve found a sample of a form like this, but with Plesk; check www.rodepanda.nl, and you’ll find the login form on the left of the top.

By the way; this is my first post :slight_smile:

Thanks in advance.
B4rr13

I think this would be a easy thing to do for just one server, but what if you have multiple servers? That is what I would like to know.

Well, you send them to the siteworx control panel; www.yoursite.com/siteworx

the “tag” ?domain=www.yourdomain.com fills in the domain name you have to give in. If a user goes to his control panel, they type: http://www.mydomain.com/siteworx/ and it’s output is: http://www.mydomain.com/siteworx/?domain=mydomain.com and it automatically fills in the domain name. So i need to know the following for the login and password!

Well, i found the solution!

Here’s the code, mind; it’s not valid XHTML.

<form action=“https://YOURWEBSITE:2443/siteworx/index.php?action=login” method=“post”>
<input type=“hidden” name=“uri” value="">
E-mail Adres:<br>
<input type=“text” id=“email” name=“email” size=“30”><br>
Wachtwoord:<br>
<input type=“password” name=“password” size=“30”><br>
Domein:<br>
<input class=“textbox” type=“domain” name=“domain” size=“30”><br>
<input type=“submit” name="submit"value=“Login”>
</form>

Greets!