Php file upload form to flash?

I have a simple html form and php script for loading images to my server…I’m wondering if it’s possible to do this in flash? like using a submit button and loadVars to communicate with the php file, but i don’t know how to make a button with the browse file option…or if it’s even possible…anyone know about this?