I have both WordPress and Drupal installed on two domains. I want the users that register via WordPress to be stored in Drupal’s user table. Also, any login attempts should be checked against Drupal’s database.
I don’t have a lot of experience with either (though I’m fairly confident in my PHP skills). I am not looking for a way to mirror the users, but to actually tell WordPress to use Drupal’s database.
I think I have to rewrite the login and register methods on WordPress. Am I wrong? And what’s the best way to do this? (what files do I need to go into)?
Personally, I’d use the hook Register Form (run at the end of the default rego form) to capture the data then
POST
the data to a Drupal page and/or run the mysql query ond the Drupal database.