The Flash-db is what I based what I did on.

ok so you upload those files (the .swf, html and the php) to your server and it doesn't work? The important line in the php is this

move_uploaded_file($_FILES['Filedata']['tmp_name'], "./images/".$_FILES['Filedata']['name']);

where "images" is a folder I created to keep all my images.

If it doesnt work on one server, and you have access to another try another server, because sometimes servers don't allow you to use that php function.