$img = basename($_REQUEST['i']); $tail = substr($img,-3.3); if ($tail == "JPG" || $tail == "jpg") { print "
\n"; } else { print "
Nothing to see here.
\n"; } ?>
[show all]