All pastes #544419 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-06 12:50 UTC
rendered paste body
$fileext = file_extension($_FILES['uploaded']['name']);


$fileexto = strtoupper($fileext);
echo '|'.$fileexto.'|';

$exclude = array('ZIP' , 'RAR' , 'GIF' , 'PNG' , 'JPG' , 'BMP' , 'TXT' , 'HTM' , 'HTML' , 'VTF' ,  'VMT' , 'EXE' , 'DLL' , 'CFG');


if (in_array($filexto, $exclude))
{