howto: bridge multiple user accounts between different scripts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GFED
    Confirmed User
    • May 2002
    • 8121

    #1

    howto: bridge multiple user accounts between different scripts?

    I've got a few scripts running on a single domain and would like to have a single login to access each script. Does anyone have any links or a tutorial to achieve this?

    I'm assuming it's as simple as choosing a main script to redirect all signups to then fetching variables from mysql database to assign to the other scripts.


    Thanks
    https://www.flow.page/savethechildren
  • sarettah
    see you later, I'm gone
    • Oct 2002
    • 14297

    #2
    Originally posted by GFED
    I've got a few scripts running on a single domain and would like to have a single login to access each script. Does anyone have any links or a tutorial to achieve this?

    I'm assuming it's as simple as choosing a main script to redirect all signups to then fetching variables from mysql database to assign to the other scripts.


    Thanks
    Depends on the scripts.

    Each script will probably have it's own user table (and related tables) so you either have to modify each one to read from one common user table, covering all vars from each table in the one. Or you need to modify the main sign up script to populate all the individual user tables from the initial sign up.

    The first method, modifying all to use one is probably the better bet maintenance wise.

    How easy it would be to do can't be called until you have examined each one to see what all has to change.

    Hope that helps.



    .
    All cookies cleared!

    Comment

    • GFED
      Confirmed User
      • May 2002
      • 8121

      #3
      Originally posted by sarettah
      Depends on the scripts.

      Each script will probably have it's own user table (and related tables) so you either have to modify each one to read from one common user table, covering all vars from each table in the one. Or you need to modify the main sign up script to populate all the individual user tables from the initial sign up.

      The first method, modifying all to use one is probably the better bet maintenance wise.

      How easy it would be to do can't be called until you have examined each one to see what all has to change.

      Hope that helps.



      .
      Thanks, the only thing I've managed to bridge before is CPG and phpBB but it was just a plugin. I'm pretty much cut and paste when it comes to programming or need a book/website open. Haven't programmed since learning BASIC on my Commodore 64. Checking out php.net to see if I can find something.
      https://www.flow.page/savethechildren

      Comment

      Working...