Link to home
Start Free TrialLog in
Avatar of frankallen
frankallen

asked on

Sync phpbb ban table between many different mysql servers

I have many different phpbb forums using mysql to hold the data.  I frequently have to ban users or whole domains (e.g. youremailsoftware.org) which are used purely by spammers.

Of course it is not convenient to have to go to every individual forum and use the interface to add the new ban record.

What way can I keep one master copy and have each other forum somehow get an uptodate copy of the latest?

Avatar of NovaDenizen
NovaDenizen

Have each forum periodically download a copy of your master ban list.
The first things that come to mind are as NovaDenizen suggests having the other servers periodically download the ban list from your 'master' server.   Either, using remote connections to the MySQL server do access the data directly, or alternatively you could use a PHP page which simply outputs the ban list then the other servers can open that page, retrieve the list and process it themselves.

Cheers

Matt
Avatar of frankallen

ASKER

This is rather vague, little more than a restatement of the problem, I was hoping for something more specific.  
ASKER CERTIFIED SOLUTION
Avatar of Matt
Matt
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial