Jump to content


This topic is now archived and is closed to further replies.


Link to remote database

Recommended Posts

  I'm trying to use the database of another website to authenticate users in my website.  This way the users at the other websites won't have to register at my website, all I would need to do is verify their name and password using the other website's database.  Is this possible, and if so where do I begin to work on it.

Share this post

Link to post
Share on other sites
you connect to it the same way as you connect to your own, except for instead of using 'localhost' you would use the target host's name instead. This does involve having a valid database name, username and password, along with knowing the table and fieldnames for that database, for that other site though..

Share this post

Link to post
Share on other sites
He's right,

If you mean you want to authenticate your users with google for example,
forget it. But if want to use another site that you own or have administrator
access to, that should work fine with the method posted earlier.

If your looking for a site to unify your log-ins, I remember reading of an
open source project, which was rather mature, that 'unified' the way sites
logged users on. I'm sure, if this is the route you want to take, you could
find the project via google or sf.net.

Hope that helps.

Share this post

Link to post
Share on other sites


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.