i have been trying to do an upload file form in flash with the FileReference class, my problem is that flash gives no error and makes it look like it worked but the file isnt in the server, heres the actionscript
----------------- AS3 ------------------------
var file:FileReference = new FileReference();
var U:URLRequest = new URLRequest(“http://www.totalwebdata.com/File.php”);
btn.addEventListener(MouseEvent.CLICK, search);
file.addEventListener(Event.SELECT, up);
function search(e:MouseEvent)
{file.browse();}
function up(e:Event){
btn.visible = false;
file.upload(U);
}
and heres the php
---------------- PHP -------------------------
<?php
$place = “Files/”;
$place = $place . $_FILES[‘Filedata’][‘name’];
move_uploaded_file($_FILES[‘file’][‘tmp_name’],$place)
?>
hope someone can help