Zubrag.com
June 18, 2019, 11:19:23 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: cPanel/WHM Account Creator  (Read 6791 times)
whatinspiresu
Newbie
*
Posts: 2


« on: June 24, 2007, 12:09:55 AM »

This is such an awesome script, and I got it working VERY easily, THANK YOU!

Can I recode the script, instead of having them type the Plan/Package in, having a pull down so they can choose?

Ive tried a few things, should be simple php, unfortunately i dont know how to set up variables and parameters.

Anyone know how to code this to get it to work???

Thanks,
Trisha

Logged
whatinspiresu
Newbie
*
Posts: 2


« Reply #1 on: June 24, 2007, 12:24:17 AM »

ya know what, i figured this out, and it works better this way.

I added 3 versions of the script, so they are directed to the exact form after payment, without them typing or being able to change a package.

I changed the package field in the actual form to the following from:

<tr><td>Package:</td><td><input name="package" size="30"></td><td>Package (hosting plan) name. Make sure you cpecify existing package</td></tr>

To:
<input name="package" type="hidden" value="nameofpackage">

this totally works better.
Thanks!!!
Logged
EvilHomeR
Newbie
*
Posts: 3


« Reply #2 on: October 04, 2007, 03:02:59 AM »

any chance I could get a copy of 3 scripts looks like u got what i need
Logged
zubrag
Administrator
Hero Member
*****
Posts: 788


WWW
« Reply #3 on: October 04, 2007, 04:40:04 AM »

If you want a list of packages instead of the package input field then replace

<input name="package" size="30">

with (add as many <option>...</option> as you need)

<select name="package">
<option value="name_of_the_package">package title for user</option>
<option value="unix100">Unix Hosting, 100Mb of disk space</option>
<option value="unix500">Unix Hosting, storage 500Mb</option>
</select>


If you want hard coded package instead of the package input field then replace

<tr><td>Package:</td><td><input name="package" size="30"></td><td>Package (hosting plan) name. Make sure you cpecify existing package</td></tr>

with

<input name="package" type="hidden" value="name_of_the_package">


Create as many files as you need, one per package. Files will only differ with package names (marked with green color above)
Logged
Pages: [1]
  Print  
 
Jump to:  

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