in reply to CGI Form File Upload Read Problem

Sorry, I should've given the form HTML as well.
<html><body><h3>hi!</h3><br><br> <form enctype="multipart/form-data" method="POST" action="./cgi-bin/up +load.pl"> Upload a picture: <input type="file" name="photo"><br> <input type="submit" name="submit" value="GO FOR IT"> </form> </body></html>
I changed >> to > so it's not just appending, but that wouldn't have mattered since that file was made when I used > the first time.