in reply to Upload Using CGI

Make sure you have the enctype set properly in your form tag:
<form enctype="multipart/form-data" method="post" ....>