<?php //w zmiennej $thefiles jest plik przeslany z formularza if (($thefiles_type <> \"image/pjpeg\") and ($thefiles_type <> \"image/jpeg\")) $Blad=(\"Fotografia nie jest plikiem tupu JPEG.<br>\"); if ($thefiles_size > (1024 * 200)) $Blad.=(\"Fotografia nie może przekraczać 200 kB.<br>\"); ?>