![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Join Date: May 2004
Posts: 39
|
4 sites on 4 different hosting, on 1 database
Hi,
I was wondering if anyone ever done this before, or ever come across an issue like this and they have a solution. I have 4 paysites on 4 different server, that I want to combine them, so that when a user sign up they will put into a database. The next time they login, they can login from any of these site using 1 login, if they cancel, they will be wipe from the database and they can't login to any of these site again. Is there anyway possible to do this? I've call CCBill and they said there's no way to write across 4 different server. Just wondering if anyone ever come across this or know of a solution for this. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: May 2004
Posts: 39
|
This would be doing it from the paysites end or the processor End?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Oct 2005
Location: The Middle of Nowhere
Posts: 616
|
On one of the servers load all user data into a MySQL database. Allow access to that database from a specific user when requested from the IP of one of the other servers.
Or, if you want to get fancy, you could setup an LDAP directory. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Registered User
Join Date: May 2004
Posts: 39
|
I know of a way someone told, that it's possible to use with .htaccess transferring every minute or so, but there's still some time gap and i'm not sure just transferring and replace .htaccess is the optimal solution. Instant synchronization is more what i'm looking for. Do you know of a program that would do this? or know an info somewhere I can look up?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Registered User
Join Date: May 2004
Posts: 39
|
Thx but that's what CCbill told me when I call them. It's possible probably to authenticate a MySql database across server, but their script can't write example a new user across server. They don't seem to able to possible do this across server it seem.
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Registered User
Join Date: May 2004
Posts: 39
|
Now I think about it, there'll be problems If I use .htaccess because there will be duplicate name from the 2 different site. So this is not an option.
I can authenticate by MySql most likely, but CCbill script can't or won't write across server to the Database for new user. Each site have 4 different script, they all need to write across server. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Registered User
Join Date: May 2004
Posts: 39
|
Anyone know of a program that do this? I don't like to have make the scripts, if it's the last thing I need.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Registered User
Join Date: Oct 2005
Location: The Middle of Nowhere
Posts: 616
|
Quote:
Before writing the new program, I would likely check out the existing one to see if there is a simple way to do it. The only other option that I can think of is to add a second IP to each of the servers and privately forward all authentication tasks to the central server. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |