Submitting a file

I have this form:
<form method=“POST” action=“<?=$_SERVER[‘PHP_SELF’]?>” enctype=“multipart/form-data”>
<input type=“file” name=“data” size=“30”>

but after submiting:
******* $handle = file($_FILES[‘data’][‘tmp_name’]);

$handle is empty. It seems $_FILES is empty. what wrong I did? What should I look into to see why not working? Is there any setting in php.ini I should check too?

That would be

$handle = $_FILES['data']['name'];