Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



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

Posts: 7
Trades: 0
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
 
 
Register now for full access!
Old 10-03-2007, 04:32 AM Re: 1 sql database - 2 scripts using it - need help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-04-2007, 12:20 AM Re: 1 sql database - 2 scripts using it - need help
Novice Talker

Posts: 7
Trades: 0
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, 04:40 AM Re: 1 sql database - 2 scripts using it - need help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-04-2007, 11:23 AM Re: 1 sql database - 2 scripts using it - need help
Novice Talker

Posts: 7
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.21902 seconds with 12 queries