Zubrag.com
September 24, 2018, 11:43:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Auto Email Account Creation?  (Read 7536 times)
amsllc
Newbie
*
Posts: 1


« on: November 05, 2011, 10:32:07 AM »

I need help with setting up this script. Is there a newbie tutorial?

Thanks,
JOhn

Logged
jbird123
Newbie
*
Posts: 12


« Reply #1 on: November 25, 2011, 10:11:45 AM »

What exactly do you need help with? You can manually load www.yourdomain.com/cpemail.php?user=newuser&pass=password&quota=50 and it will create a new user called newuser and password of password.

Change it to cpemail.php?user=jbird123&pass=abc123&quota=50 and it will create a new user called jbird123 with the password abc123.

So, all you have to do is create a new page, call it whatever you want. Now add to that page a form including a field for username and a field for password (and a second password for field for validation). Then replace [newuser or jbird123] and [password or abc123] with $username and $password
Logged
DavidEvans
Newbie
*
Posts: 1


« Reply #2 on: January 05, 2012, 06:03:17 AM »

For the $cpuser should I include the www. - eg www.bluehost.com ?
Logged
jbird123
Newbie
*
Posts: 12


« Reply #3 on: January 05, 2012, 06:17:30 AM »

(from cpemail.php)

Code:
// cPanel info
$cpuser = 'userhere'; // cPanel username

So $cpuser is just the username you use to log into cpanel, nothing else.

EDIT: I looked up the wrong variable at first.. edited to answer your question.
Logged
karthik007
Newbie
*
Posts: 1


« Reply #4 on: February 13, 2014, 12:38:07 AM »

Hi,

With the recent changes to the CPanel, the current script does not work as it can't generate the "cpsess" which is part of the url now.

Any updates on this?


Regards,
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC