Jump to content

Same form but connect different databases


Tidus

Recommended Posts

Hi guys! I am new here also new in php  :)

 

I am working on some register script on phpbb.

 

What I need is take entered username,e-mail,password and send it to another database table when clicked confirm in phpbb register form.

I mean this:

 

There r 2 different databases and thoose dbs in different hosts.

When user writes his username , pass.. etc in the form, scripts takes this information write databases both phpbb and other db.

 

I can manage rows,passwords,usernames.. etc. I only wanted how to connect and write infos to different database in one form action

 

I am also working on phpbb's default registration script

I do not know the coding of phpbb (i dnt like pre-done stuff period) but the way to do it would be to check the page that is handling the POST request from the login/register page, then you would add code to that page to insert into the other database at the same time.

Archived

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

×
×
  • Create New...

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.