Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    3

    Default script to login to cpanel & create DB

    I know this has to be possible, and have pretty much everything figured out but a few things, and just need to be pointed in a general direction.

    Basically, what I want to do is write a script that logs into cPanel, and creates a database (using the "adddb.html?db=db_name").

    If you're wondering why I don't write a script to do this for me, it's because I don't have permission since I am on a shared server. The only way to create a database is to use cPanel's method.

    I know this has to work, I just need a little shove in the right direction.

    If it matters, this must be done using PHP.

    Any helpful insight is much appreciated!

    -jamslam

  2. #2
    Registered User
    Join Date
    Feb 2004
    Posts
    3

    Default

    Nevermind, I figured it out by using the "exec" function

Similar Threads & Tags
Similar threads

  1. create database without login to cpanel
    By ibnuyahya in forum cPanel Developers
    Replies: 5
    Last Post: 07-13-2011, 11:33 PM
  2. Replies: 3
    Last Post: 02-25-2011, 12:44 AM
  3. Replies: 1
    Last Post: 09-17-2008, 07:19 PM
  4. how to create cpanel or webmail login script with multiple domain
    By arif_ceo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-23-2004, 12:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube