PDA

View Full Version : External admin login?



skshost
04-21-07, 07:30 AM
I'm currently developing a custom backend for myself and employees. The purpose is to bring my live chat, company webmail, WHMcs, ect. into one login.

I have successfully put this user management/web host system site together except for 1 thing...

It wasn't the case with all the other scripts/apps I use, but I can't seem to login to WHMcs outside of "myhost.com/whmcs/admin/login.php".


<form method="post" action="http://myhost.com/whmcs/admin/dologin.php" name="frmlogin" target="_blank">
Username: <input type="text" name="username" size="30">


Password: <input type="password" name="password" size="30">


<input type="submit" value="Login" class="button"><input type="checkbox" name="rememberme"> Keep me logged in until I logout


Forgotten your password? Click Here (http://myhost.com/whmcs/admin/login.php?action=remind)
</form>

That doesn't even work, and now I'm starting to worry that I won't be able to do it. :cry:

Any help is appreciated.
Thanks!

skshost
04-21-07, 08:18 AM
Actually I just resorted to writing a form in the admin directory that's submitted onload, from there I used $_GET for the username and password. I assumed that I'd have to submit the form from within the WHMCS directory.

I love my new system, I login to my custom system and just click to open WHMCS, Roundcube, LiveChat, ect.. No need to login again!

Adamski
04-21-07, 09:27 AM
sounds like a good solution :)
what live chat do you usem btw?

Ad

skshost
04-21-07, 07:01 PM
I ripped Help Center Live apart and kind of made my own. I've also integrated skype into it too.

MACscr
04-21-07, 11:54 PM
I ripped Help Center Live apart and kind of made my own. I've also integrated skype into it too.

I must be one of the few people that find skype to be "hobbyish" and not for business use. I cant wait till chatstat integrates real voip (they have skype too).

skshost
04-22-07, 12:41 AM
"hobbyish"?
I get better quality on my skype than my lan line or cell phone. It's cheaper too. Makes sense.