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.

I need custom cpanel script

Discussion in 'cPanel Developers' started by cvhsoftwares, May 21, 2011.

Thread Status:
Not open for further replies.
  1. cvhsoftwares

    cvhsoftwares Registered

    Joined:
    May 21, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    \\\\\\\\\\\\\\\
    draft started


    Explanation
    I own the dedicated server underpricedhost.com

    Whenever any person becomes reseller , i upload the replica of my website into their hosting account manually.

    Before uploading i manually replace in the website

    your name ---- with reseller's name

    bestpricedhost.com ---- with reseller's domain name

    ---- with reseller's paypal email address

    i do that manually and upload on to reseller's hosting account.
    --------------
    I want to automate the above.

    here's how


    Let we create a php file at
    /http://www.underpricedhost.com/folder/createyourresellersite.php

    On that file there will be below form


    Pls fill all details

    ---------------------
    Profile

    Your Name
    as you want to appear
    on your reseller site ____________________

    Your Paypal email address
    as you want to appear
    on your reseller site ____________________

    Your domain name ________________
    ------------------------------------------------------
    server details

    FTP server address or IP: ___________________________
    (Example: ftp.server.com,
    208.75.23.227)

    Username: __________________
    Password: _____________________

    Initial directory: _________________
    (keep blank
    to install
    on main site)
    __________________________________


    ================
    Create My reseller site. - SUBMIT BUTTON
    ================

    Once we click submit,
    we should connect to his hosting account
    and then copy the "index.htm"
    present in
    /http://www.underpricedhost.com/folder/index.htm

    and place it into his hosting account

    and then replace the variables of
    /http://www.underpricedhost.com/folder/index.htm

    with that of what he filled in the above form in profile.



    and then show him the messages


    "Your reseller site "his entered domain name" is ready.




    \\\\\\\\\\\\\\\
    draft closed
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cvhsoftwares,

    The Developer Discussion forums does not host solicitation threads.

    Anyone looking for developer services should consult the Dev & Sys Admin Services section in the cPanel application catalog.

    Regards,
    -DavidN
     
Loading...
Thread Status:
Not open for further replies.

Share This Page