'; $html_output .= 'File Name: '.$_FILES['userfile']['name'].'
'; $html_output .= 'File Size: '.$_FILES['userfile']['size'].' bytes
'; $html_output .= 'File Type: '.$_FILES['userfile']['type'].'
'; $html_output .= 'File Path: '.$_FILES['userfile']['name'].'
'; $image = $_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 ''; ?>