The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can anyone help me with this ? [moved]

Discussion in 'Database Discussions' started by phpfriend, Sep 12, 2006.

  1. phpfriend

    phpfriend Registered

    Joined:
    Sep 12, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    I am planning to make a site related to my hosting business.
    what I want to be done is , when people fill the form with their domain name , automatic account gets created in WHM , and a predefined PHP file gets uploaded to that domain's ftp. and that php file will be connected to a central database.
    I have been doing research and found WHMAP that does provide automatic creation of accounts in WHM.
    but my other problem still remains unanswered , can someone help ?
    Is there any option in cpanel for that
    Thanks
     
  2. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    I think you should probably just hire someone who can do it for you if you can't figure it out.

    If you have the php skills, search around here on how to use cpanel's api, you could do the account creation part easily. You could also place the php file you wanted to upload to the site in the default folder that cpanel uses and copies to the new user directory too. Having that php file connect to a "central database" using a mysql username and password, may not be a very smart thing to do.

    Well, good luck.
     
  3. moogle

    moogle Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    Preloading files? Use the skeleton directory. That's what it's made for :)
     
Loading...

Share This Page