ISPConfig Users PHP

Discussion in 'Developers' Forum' started by alexillsley, Apr 29, 2007.

  1. alexillsley

    alexillsley New Member

    Hi,
    I want to add a new ispconfig login user through php, i was just wondering how would i get the next doc_id? Would i just get the last used do_cid from the sys_users add add a 1 or is there table with the next doc_id it in it?

    Also would i only have to modify the sys_users table for it to work?

    Thanks,
    Alex
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The doc_id columns are auto increment columns. You dont have to set themy, they are set automatically by the database when you add a new record to the database table.
     
  3. alexillsley

    alexillsley New Member

    Thanks -----
     
    Last edited: Nov 15, 2010

Share This Page