Zubrag.com :: Forum

zubrag.com => cPanel Scripts => Topic started by: jesi on November 16, 2006, 10:50:35 AM



Title: cpanel/whm account creator. <please help me>
Post by: jesi on November 16, 2006, 10:50:35 AM
how do i lock the link so that the customer can only view one time to create the a/c and the next time it will expire


Title: Re: cpanel/whm account creator. <please help me>
Post by: zubrag on November 16, 2006, 12:03:07 PM
It is possible to change the script to run WHM Account Creator only once from the same ip.

BUT the problem is I could not find any info on how to make script know for sure if account was really created or error occurred. cPanel may say Account Created even if no account created.

Will try to workaround it.


Title: Re: cpanel/whm account creator. <please help me>
Post by: zubrag on November 22, 2006, 02:28:31 PM
Think we'll go with this:
1. check if account already exists (issue error if it does exist)
2. create account
3. check if new account exists (issue error if it doe not exist)

This will slow down script, especially if users base is large, so will make checking tunable in script settings.

Hope to have that done in two weeks.