I have a webpage, where I want the ability to log in and see some user stuff. To log in, you have to click on a link, and then a jQuery modal window, is appearing. My question is now, how to I implement the login form, so the user actually can log in?
Right now, it is only input fields, without any php, since the modal is JavaScript generated.
Should I add the login-PHP on every single pages on my site, or should I add an iframe in the modal, linking to the login.php file, or should I use AJAX to send the username and password to an external site, or something else?
Some one who please can help me? :)