GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   howto: bridge multiple user accounts between different scripts? (https://gfy.com/showthread.php?t=1048460)

GFED 12-04-2011 04:02 PM

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

sarettah 12-04-2011 04:13 PM

Quote:

Originally Posted by GFED (Post 18606692)
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.



.

GFED 12-04-2011 04:44 PM

Quote:

Originally Posted by sarettah (Post 18606711)
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.


All times are GMT -7. The time now is 02:38 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc