Search This Blog

Friday, February 18, 2011

Flash Builder, Flex, PHP + MySQL login/authentication page

This example is based on corlan’s post. I simplified it and added connection to MySQL and password encryption in MD5.

Basically this examples shows how easily we can implement logging in Flash Builder / flex. GUI is displayed in flash and it connects to PHP server that stores passwords in MySQL database. Passwords are encrypted using MD5.

 

Login

 

Below you can find Flash Builder project, scripts in PHP to put in your Apache WWW directory in location: localhost/user_auth. The third file is MySQL database export.

http://sites.google.com/site/bkosarzyckiaboutme/User_auth_FlashBuilderProject.rar

http://sites.google.com/site/bkosarzyckiaboutme/user_auth_PHP_Scripts_PutInApacheDirectory.rar

http://sites.google.com/site/bkosarzyckiaboutme/wirtlab.sql.zip

You can easily encrypt your passwords in MD5 thanks to this site:
http://www.adamek.biz/md5-generator.php

More info on Flex HttpService can be found here:
http://www.flexafterdark.com/docs/Flex-HttpService

9 comments:

  1. Thank you very much.

    ReplyDelete
  2. thanks great project. what is the code to navigate to the next webpage after a valid user name and password is entered. Thanks

    ReplyDelete
  3. photo tagging code with demo with database
    http://www.lessonwithdemo.com/205/ajax/photo-tagging-like-facebook-without-page-refresh-with-ajax-without-jquery.php/

    ReplyDelete
  4. You share very important things. Very great post. I am waiting for your next post. To know about oracle sql assignment help click here

    ReplyDelete
  5. Thanks Bartosz Kosarzycki for this post.All the teachers of either should give more attention to the pupils inside the classroom. It is necessary that they should consider these innocent children as their own and put aside all other factors, and realize their mission.http://www.bibwriter.com/

    ReplyDelete
  6. If you want to understand the nature of the language you should to read this kind of the stuff. It is so important to understand the nature of the language but I prefer this corporate finance services which is easy to manage. Your stuff is so great and this one is so informative for me.

    ReplyDelete
  7. I was assigned with an assignment on coding languages. Thanks for sharing this informative article it will be helpful to how to write a best essay for me.

    ReplyDelete
  8. To be able to have an understanding of the type of your expressions make sure you to read simple things these types of a information my blog. Its hence essential to have an understanding of the type of your expressions nonetheless I favor the following corporation funding expert services that is certainly effortless cope with. A person's information is very superb this some may be hence enlightening to do.

    ReplyDelete

If you like this post, please leave a comment :)