MGHosted.net
10-02-2004, 05:31 AM
Hi All,
How can I make a script use my cPanel logins??
What do I need to access to do it??
How can I make a script use my cPanel logins??
What do I need to access to do it??
![]() | View Full Version : Intergrating cPanel logins MGHosted.net 10-02-2004, 05:31 AM Hi All, How can I make a script use my cPanel logins?? What do I need to access to do it?? Burhan 10-02-2004, 06:40 AM Please give more details : 1. Script is doing what? 2. What logins do you need? Email, or control panel MGHosted.net 10-02-2004, 07:22 AM The script is just a PHP script that I've made, members area. Instead of creating a username and password for every user, I want it to use their cPanel ones I need the control panel ones. So that when they change their cPanel password, there members area password is also changed. Burhan 10-02-2004, 08:48 AM You need to lookup the accounting module programming code. Its available on the server that has cpanel installed, and also on the cpanel website (http://www.cpanel.net/remoteaccess-php.html). MGHosted.net 10-02-2004, 10:04 AM I don't see what I do with this code..... I don't have root access to the server, but might be able to get it. Roy@ENHOST 10-03-2004, 02:32 AM That is not going to help at all. He wants a login script. Originally posted by fyrestrtr You need to lookup the accounting module programming code. Its available on the server that has cpanel installed, and also on the cpanel website (http://www.cpanel.net/remoteaccess-php.html). ANMMark 10-03-2004, 03:08 AM That is not going to help at all. Actually it will, because he's going to have to do this backwards. He's 1st going to need a script that obtains this information on signup, and enters it into a database. Then he'll need a login script that pulls from that data. He'll then need a member area script, etc for whatever functions he's planning to use this for. Inside the member area type script, will of course be a profile updater, which will include the changing of a password. When the user changes the password within the member's area, it will update the database with the new password, and a function will update the password for CPanel. It more than likely won't work the other way around however...(changing the pass in CPanel, to update the dbs) |