I am looking for a sinple jQuery Mobile login page sample. It needs to use MySQL too. I have googled and found this: Sample Found but it's too involved and I need something more simple. Can anyone help please?
I am looking for a sinple jQuery Mobile login page sample. It needs to use MySQL too. I have googled and found this: Sample Found but it's too involved and I need something more simple. Can anyone help please?
Share Improve this question edited Dec 27, 2011 at 22:23 mac 43.1k27 gold badges124 silver badges132 bronze badges asked Apr 12, 2011 at 20:40 Satch3000Satch3000 49.4k90 gold badges224 silver badges349 bronze badges 4- 1 Can I ask why has my question been voted down? – Satch3000 Commented Apr 12, 2011 at 21:34
- my guess would be you aren't so much asking for help as asking someone to do the work for you. You say you know php so maybe a better question would be "how do i create a jquery mobile page" – Bruce Aldridge Commented Apr 12, 2011 at 21:47
- I understand. Thanks for the advice. I'm new here. On my defence I DID specify on the title that I needed a Jquery Mobile Login page. I have now modified my question. Thanks for your help. – Satch3000 Commented Apr 12, 2011 at 21:48
- This is a legit question. Probably down voters don't know what the challenge with jQuery Mobile is. Even the accepted answer below is unrelated to jQuery Mobile. I want to implement multiple pages web app using a single HTML. How do I implement ACL? I have some ideas but I would like to know what other guys have done. – Kenji Noguchi Commented Sep 15, 2012 at 23:22
2 Answers
Reset to default 1Any credentials-based authentication involving a database will be a bit involved but there are things you can do to make it simple without too great a cost on security. One thing to consider is to make this as simple as possible by removing AJAX from the equation. A simple form that posts back the data rather than trying to AJAX-load the results will simplify your project a bit.
Here's a very simple tutorial on making a login system using PHP and mySQL: http://www.phpeasystep./phptu/6.html
If you can get away with not having a form, you should look into doing a simple .htaccess file with server-side Basic Authentication. No database required for this solution. This would put up a form that asks the person to put in a username an password but wouldn't be styled like your website. If they fail to login, you can kick them to the page of your choice. Otherwise you would show them the website. Here is a link talking about how to set this on the server and generate the needed files: http://tools.dynamicdrive./password/
try this. http://www.tutorialized./tutorial/Multiple-admin-login-over-MySQL-database-table/64076
as for the jquery mobile part, you'll have to bake that in yourself.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742346525a4426655.html
评论列表(0条)