•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 391,616 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,673 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 3360 | Replies: 1
![]() |
•
•
Join Date: Aug 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hey I have a website ( http://www.ppltalkin.com/ ) and the administration panel is powered by cPanel.
I want my members to be able to apply for an email address and have one automatically created for them on the spot!
I have squirrel mail installed and I have a cPanel password changer plug-in installed for squirrel mail.
I have tried to copy the code from the plug-in, change it a little and use it on a PHP/HTML page, however the script was heavy made to be integrated with squirrel mail, and sense my knowledge of PHP isn't that great, I'm having a hard time redesigning the script
Here's what the script does:
if I open my web browser and login to my cpanel account, then type in the address bar, I have just created the email account user1, with the password 123testing and 25MB of mail space.
the script does the same thing accept instead of creating an email account, it will change the password of an existing account.
cPanel is located in a password protected directory of the server, so if I enter
in the address bar with out logging in first it will prompt me for a user name and password, and if I submit the username and password it will do the same has if I was logged in.
So what I need is a page that is a PHP html mix, that has a field for the new account name a password field, a password confirm field and a submit button.
The the php script would just collect the info from the fields, some how send to the site and login.
However I'm not sure how to submit to the site without actually taking the user to the site and I'm also not sure how to login with the php script.
HERE is the cPanel password changer plug-in http://www.squirrelmail.org/countdl....1.3-1.3.tar.gz (it is written in PHP)
Any and all help would be greatly appreciated!
Thanks,
Holiday.
I want my members to be able to apply for an email address and have one automatically created for them on the spot!
I have squirrel mail installed and I have a cPanel password changer plug-in installed for squirrel mail.
I have tried to copy the code from the plug-in, change it a little and use it on a PHP/HTML page, however the script was heavy made to be integrated with squirrel mail, and sense my knowledge of PHP isn't that great, I'm having a hard time redesigning the script
Here's what the script does:
if I open my web browser and login to my cpanel account, then type
http://ppltalkin.com:2082/frontend/x3/mail/dopasswdpop.html?email=user1&domain=ppltalkin.com&password=123testing"a=25
the script does the same thing accept instead of creating an email account, it will change the password of an existing account.
cPanel is located in a password protected directory of the server, so if I enter
http://ppltalkin.com:2082/frontend/x3/mail/dopasswdpop.html?email=user1&domain=ppltalkin.com&password=123testing"a=25
So what I need is a page that is a PHP html mix, that has a field for the new account name a password field, a password confirm field and a submit button.
The the php script would just collect the info from the fields, some how send
http://ppltalkin.com:2082/frontend/x3/mail/dopasswdpop.html?email=user1&domain=ppltalkin.com&password=123testing"a=25
However I'm not sure how to submit
http://ppltalkin.com:2082/frontend/x3/mail/dopasswdpop.html?email=user1&domain=ppltalkin.com&password=123testing"a=25
HERE is the cPanel password changer plug-in http://www.squirrelmail.org/countdl....1.3-1.3.tar.gz (it is written in PHP)
Any and all help would be greatly appreciated!
Thanks,
Holiday.
•
•
Join Date: Aug 2006
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
I'm using one php script to create email accounts on my cpanel. It does not have user interface, anyway it is easy to use. I'm running it from browser:
cpemail.php?user=newuser&pass=password"a=50
Here is the script:
http://www.zubrag.com/scripts/cpanel...il-account.php
cpemail.php?user=newuser&pass=password"a=50
Here is the script:
http://www.zubrag.com/scripts/cpanel...il-account.php
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
advertisment blog browser cell competition daniweb email encryption eu eudora firefox gentoo gmail google imap linux microsoft mobile mozilla news onecare open source opinion outlook penelope phishing phones php professional research scam security spam spammers spamming stocks technology thunderbird virus web webmail
- Automatic email creation in cpanel ----PHP (PHP)
- iPanel 2.11.2 - Auto Account Creation and Billing Script with Forced Ads (Websites for Sale)
- question about connecting odbc to sql through php script (PHP)
Other Threads in the PHP Forum
- Previous Thread: 'Lock Down' a form
- Next Thread: GD lib using PHP


Linear Mode