JPEG MAIS PLUS SAVOUREUX

This commit is contained in:
thaaoblues 2024-09-26 21:03:01 +02:00
parent 3926c3a226
commit 1a5b090f53

View file

@ -43,7 +43,9 @@ function checkFileTypeSecure($filePath) {
'pdf' => '25504446', // PDF files always start with "%PDF" in hex 'pdf' => '25504446', // PDF files always start with "%PDF" in hex
], ],
'image' => [ 'image' => [
'jpeg' => 'ffd8ffe0', // JPEG 'jpeg0' => 'ffd8ffe0', // JPEG
'jpeg1' => 'ffd8ffe1', // JPEG but different you know they like to stand out (exif)
'jpeg2' => 'ffd8ffe2', // NO SHIT ??? (jfif or spiff)
'png' => '89504e47', // PNG 'png' => '89504e47', // PNG
'gif' => '47494638', // GIF 'gif' => '47494638', // GIF
'bmp' => '424d', // BMP 'bmp' => '424d', // BMP