mardi 28 juillet 2015

Login form in same url as web application

On my server I have two folders. One is for login system (login, registration, forget password etc.) and second is for web application that i am developing. Both folders have index.php. I want that when the user visit my site (mydomain.com), he must logged in to be allowed to use the application. I need to stay on url mydomain.com. Not mydomian.com/app.

I was thinking about moving the applications files in the www/ folder and load the login form with iframe, but in my opinion it is not the right solution.

For example, Instagram.com has exactly what I want. You must login to see photos, but you stays on the instagram.com




Aucun commentaire:

Enregistrer un commentaire