I'm having this problem when I upload binary data to a MySQL table. When I upload an image, the results is a corrupted image (which can be seen here: [a href=\"http://americanmachineryhawaii.com/agriculture/equipmentdb/index.php?id=10036)\" target=\"_blank\"]http://americanmachineryhawaii.com/agricul...x.php?id=10036)[/a]. The weird this is that I uploaded this image before I uploaded the image that was supposed to be shown (instead of the corrupted file). Do you know what is causing this and how to fix it? I have tried dropping the table and recreating it, and dropping the database and recreating it. I also tried "FLUSH", but nothing happened.