Zubrag.com
May 16, 2012, 03:53:59 pm *
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 503 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
Pages: [1]
  Print  
 
Jump to:  

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