when visitor click on Browse not aalow to him to see only files with gif extension
Not sure if that's possible with PHP...
only upload images so , the visitor cant upload anything else
Let them upload a file, and then check the mime type of the image.
<?php
if(preg_match("/image\/gif/", mime_content_type($_FILES['myimage']['tmp_name'])) == 1){
// continue with the upload
}
else{
// Display an error page
}
?>
~Brett