Total noob PHP and mysql question....

Associate
Joined
18 Oct 2002
Posts
158
Location
Manchester, UK
I have a site that I and a friend or 2 are looking into developing over summer whilst off uni (I'm not the person doing the coding, I'm just playing with the possibilites). I have gotten phpbb and gallery2 set up on some webspace and they both work fine independantly. The idea of the site though is to be able to register once, and use the facilities both these offer in conjunction with each other. Theyre running off 1 mysql database (its freebie webspace which is limited to 1 database), so I was wondering if it'd be possible to somehow connect the user accounts so that only 1 login is needed, or perhaps create a new register area that then automatically registers the user with both areas?

If anyone understands that, is it possible?

Ta :)
 
Yup it is possible. Pick one application which you want the user to register on. Find the code for the register routine, where it adds the user's details to the database. Create some new SQL queries just after that code which insert the user details into the other application's tables in the database.

Before doing this, you'll need to write down exactly what user details are available, and what user details are required by the 2nd application in the database.
 
Back
Top Bottom