Reply
1 sql database - 2 scripts using it - need help
Old 10-01-2007, 10:47 PM 1 sql database - 2 scripts using it - need help
Novice Talker

Posts: 7
Hi

I was wondering how this can be done or a link to a website where I can read about it.

I want to use one sql database and have the members from 2+ scripts use the same database. I'm figuring I'll need to convert one of the sql databases to use the other one right?

For example a classifieds script and a gallery script, members can sign into either script and then be signed into both scripts.

Thanks for the help
GNR08 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-03-2007, 03:32 AM Re: 1 sql database - 2 scripts using it - need help
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Javascript alert
Posts: 13,688
Location: Blackpool. UK
Server side code question really;

Options:
Rewrite the scripts to use one membership table and login.

Write some code to log users in and call the login routines for each script from that.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-03-2007, 11:20 PM Re: 1 sql database - 2 scripts using it - need help
Novice Talker

Posts: 7
Hi chrishirst

I was thinking of going with option 1:
Rewrite the scripts to use one membership table and login.

Would you happen to know of a good tutorial I can read up on. I'm sure I modify it but having something to go by would help.

Thanks
GNR08 is offline
Reply With Quote
View Public Profile
 
Old 10-04-2007, 03:40 AM Re: 1 sql database - 2 scripts using it - need help
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Javascript alert
Posts: 13,688
Location: Blackpool. UK
It depends entirely on what the scripts are and what server side code they run on.

I doubt that you will find a detailed tutorial on what you need to do as it will need for someone to have done the exact same thing before and to have published it.
You may have to piece the bits together from support forums on the scripts (if there are any) or if the script programmers have commented the various bits of code that make up the login system.

It probably won't be a trivial task.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-04-2007, 10:23 AM Re: 1 sql database - 2 scripts using it - need help
Novice Talker

Posts: 7
Thanks for your help chrishirst

I'll take a stab at it and see how I do
GNR08 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to 1 sql database - 2 scripts using it - need help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.21158 seconds with 12 queries