vigour wrote:How do I build a simple login page on my site? I need a way to login to my admin area in my webshop, so I can add, delete and edit things in mysql database. I don't need help with add, delete and change things, only the login thing. The users should not even know that there is a admin login page. The users don't login to shop, they just shop so I can't use the user login page because there is no such page. Can someone please give me some guidelines for this?
You find this tutorial informational:
http://www.zend.com/zend/tut/authentication.php
Also, so my users don't see a login button, and I don't have to use a bookmark or type a different link I use a goofy method. I get my IP in PHP and use an if statement to compare it to the known list of IPs I myself come from. If it matches, it gives me a little login link on the page, if not, no link.
I told you it was goofy. 😉