'; $html_output .= 'File Name: '.$HTTP_POST_FILES['userfile']['name'].'
'; $html_output .= 'File Size: '.$HTTP_POST_FILES['userfile']['size'].' bytes
'; $html_output .= 'File Type: '.$HTTP_POST_FILES['userfile']['type'].'
'; $image = $HTTP_POST_FILES['userfile']['name'] ; }else{ $html_output = 'Upload failed!
'; if(!is_writeable($path)) { $html_output = 'The Directory "'.$path.'" must be writeable!
'; }else{ $html_output = 'an unknown error ocurred.
'; } } }else{ $html_output = 'The file already exists
'; } }else{ $html_output = 'Wrong file type
'; } }else{ $html_output = 'The file is too big
'; } } }else{ $html_output = '
'; $html_output .= ''; $html_output .= ''; $html_output .= '
'; } echo 'Uploader'; echo $html_output; echo ''; ?>