Hi, I am having some trouble with the images that I upload through the browser using a php script. They go into the directory fine, and are sitting there, but when I try to display the image in an html page it doesnt show up. Oh i should add that I have other images in the same directory that were uploaded through ftp, and they show up fine, in html. I also noticed that if I download the image off of the server, its icon is a dreamweaver icon, and the rest of my images have the photoshop icon, so I'm wondering if maybe something gets screwed up in how the file is read when it gets sent through the form. Here is the code i used to upload the image. [code] <?php $upload_tmp_dir = "/tmp"; $uploadedfile = "images/products/{$_FILES['uploadedfile'] ['name']}"; $size = getimagesize($_FILES['uploadedfile']['tmp_name']); if($_FILES['uploadedfile']['type'] == "image/png" || $_FILES['uploadedfile']['type'] == "image/jpg" || $_FILES['uploadedfile']['type'] == "image/jpeg" || $_FILES['uploadedfile']['type'] == "image/pjpeg" || $_FILES['uploadedfile']['type'] == "image/gif") { if(move_uploaded_file ($_FILES['uploadedfile']['tmp_name'], $uploadedfile)) { echo "File successfully uploaded"; } else { echo "Failure to upload"; } } else { echo "invalid filetype"; } ?> [/code] Does anything look wrong with this? Thanks folks.