I have a site that uses phpbb3 as our base for registration. I would like to create a simple registration script, that I can then embed into other pages.
For example, I want to have a page that works as follows.
"Sorry you must be logged in to view this page. Please register below.
It must work with phpbb3 password encryption, and anything else I may be overlooking of phpbb3 forums registration.
I would like it so that this script is built in a way that I can call to it in other scripts. For example, it would be something like this..
if user != registered,
include registration script
and so forth.....
I would like this script to automatically log in the user after they have submitted the form, and refresh the page (or update it using ajax) with the content that they are now able to view.