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.




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.

You can easily encrypt your passwords in MD5 thanks to this site:

More info on Flex HttpService can be found here:


  1. Thank you very much.

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

  3. photo tagging code with demo with database

  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


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