简体   繁体   中英

store user info in wp database and separate database on registration

I'm working on a site for company that is already using a program for scheduling clients, and keeping their information. This program also allows web access to the database. On the site I've chosen to use Wordpress due to some of their requirements.

My problem is they want to allow people to register online. So if I create a custom registration form, how can I store some data in the wordpress database, and the rest in another database?

I'm also planning on calling the programs database to display additional information about the user on the site, such as their schedule. Am I going in the wrong direction, will this cause problems in the future?

Additional info:

  • The program they use is called Links Modular Solutions

You will have to specify two connections for different databases and store what you what and where you want.

eg algorithm as follows:

# connect to db1 host
# select db1
# query/insert db1
# connect to db2 host
# select db2
# query/insert db2

Needless to say that you will need both db access data and access to the PHP scripts/server

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM