SYAlam
06-04-2002, 06:14 PM
By any chance does anyone know how to "auto-login" to a user CP? I am trying to implement a system on my site to allow my clients to auto-login to their CP via my site, by entering their UN/PW. Is there any way to do it in PERL or PHP?
Neo3Net
06-04-2002, 07:58 PM
Well if you have cpanel. Then you could setup a script that inserts the user/pass into a url and then forwards the user to that url.
In Cpanel you can do this and login: http://user:pass@address.com:2082
So just make a php to convert the username and password that was entered into the form and just send it to that page.
Hope this helps.
Thanks
TheException
06-04-2002, 09:15 PM
Originally posted by Neo3Net
Well if you have cpanel. Then you could setup a script that inserts the user/pass into a url and then forwards the user to that url.
In Cpanel you can do this and login: http://user:pass@address.com:2082
So just make a php to convert the username and password that was entered into the form and just send it to that page.
Hope this helps.
Thanks
Seems to me like that would cause a security issue... maybe I am wrong...
FDrive
06-04-2002, 11:26 PM
Originally posted by TheException
Seems to me like that would cause a security issue... maybe I am wrong...
No, you're right, it is a security issue. But it's the only way to do it.
Neo3Net
06-05-2002, 06:54 PM
It does, but like it was said above its the only solution. (That I can think of at least)
Thanks