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

13 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
  9. Thanks for the blog. You must learn to manage the homework done by you online. The accounting homework help is available which would solve all your problems.

    ReplyDelete
  10. research critique is a most difficult task to write as it requires best writing. Managing data and figures in best possible scientific way is really need of times.
    http://www.critiquingqualitativeresearch.com/how-we-provide-research-critique-help/

    ReplyDelete
  11. The tour will be in Ohio the next two weeks for the Jamie Farr Classic in Sylvania and Wendy's Championship in Dublin. LPGA Tour leaders: Victories, Sorenstam, 4. But let's be honest: The slender, short heel doesn't often flatter a woman's profile. We try to forget the days in the early 2000s when kitten heels were added to sandal and flip flop silhouettes. Martens was produced on April 1, 1960.

    Second, you get full 6 axis motion tracking. Gear VR, for Ray Ban Outlet example, does Jordan Shoes For Sale a fairly good job MK Outlet Online of following rotational movement in any direction, but does Coach Outlet Clearance Sale not Coach Outlet Online have any way to track translation moving side to side, Cheap Michael Kors Handbags closer or further, Nike Air Force 1 Cheap Outlet or higher or lower. Third you get some better controllers (an Best Yeezys Xbox controller and a simple remote for the Rift, and Touch controllers for the Vive)..

    ReplyDelete
  12. It is a good post, thanks for sharing this. It is helpful and informative.

    ReplyDelete
  13. We highly appreciate you for writing this informative blog.
    Construction Management assignment help : Our Construction Management assignment help professionals are highly skilled and have the expertise needed to ensure successful project completion. They assist businesses by providing valuable knowledge and analysis of the construction process to ensure that projects are completed within time and budget constraints.

    ReplyDelete

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