Jump to content

Recommended Posts

I have a minor issue and perhaps I am not looking close enough. I have this issue with a project where the guy installed all of these third party scripts, after examining the core structure of the databases there login systems use the following:

 

Script for email

table / user

userid

username

password

---------------------

community script

table / community_users

id

user

password

----------------------

News

table / tBlusers

 

userid

username

password

-----------------------

Bookmarks

table / Link_session

name

pass

------------------------

 

What would be the easiest way to integrate the login /slash registration systems on all of these different scripts so that I can finish this project quickly.... He doesnt want to integrate just integrate the login/ registration / logout system... But they all seperate databases...

I was thinking of using globals since they all use session... and designing a new registration system for all of them, but this would be a pain in the arse since I would have to delete every instance of login data on all of the scripts.... There has to be an easier way..

?

 

hmmm yeah I thought of that but that would imply that there is existing data in the tables, to which there is no data currently in the scripts. What I was kind of thinking was since these are third party scripts Ive noticed that almost every table is unique with the exception of the username and pass which is a little different, what I was thinking was just to copy the SQL tables into one master database, but this wont work I dont think.

This way you create one registration form with all the data that could be asked in the seperate login forms. Then log outs would fall under the same pretenses... However, since these different scripts are using different registration forms and different logins different log outs this may be a problem... However, I wouldnt have to edit a whole bunch of code since all the tables would be the same....

 

I.E each of these scripts have a config file for the database, so I can change this into one master database keeping only user and password as the new unique id's that will be added... Hmm? What do you think

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.