Originally Posted by Chris_Seahorn
Well...I'm not tooting my own horn here because I wish there were hundreds of files to pick and choose from but I have one in the Exchange called "Loadvars Login w/SO" that is exactly what you want. It's in the misc section. It doesn't use http cookies to remember you...it uses a Shared Object (which works across browsers...http cookies don't).
The backend is commented where to change the username/pass and after that as long as they exist (THE SWF AND PHP FILE) in the same directory on your server it should definitely let you better understand how php and flash integrate.