I have just publish a working PHP / Flex login/Registration component to my blog. You can right click to view the source. It is fully commented and includes lots of features like client side validation and a remember username feature for creating cookies on the client computer. Hope that this helps someone comments and suggestions welcome.
Link to the site: ;http://www.betadesigns.co.uk/index.php/blog/ Enjoy Anthony

