I think this may be the right forum to post in: I would like to integrate login and accounts between two php programs that use Mysql. I would like it so that once someone login or registar, they login or register for the whole site. Would anyone know the steps to take or some tutorial about integrating php programs?
i found this page on the internet, have not tried it, but it looks like it could work http://www.free2code.net/plugins/articles/read.php?id=99 Basicaly what you do it use $_COOKIE["PHPSESSID"], when a user login, you add a line in a session table. When you load pages afterwards, you check the session table for a match. When user logout, you remove the line from the session table. The session table contains the above session cookie and userid, userid being linked to the user table. Search google for "login php script" and you will find a lot of exampels on this