Sani
public php v1 · immutable<?php $allowedexts = array("rpm", "gz", "tar", "bz2"); if (in_array($fileext, $allowedexts)) { print "File is trusted."; } else { print "File not trusted!"; }?><?php $allowedexts = array("rpm", "gz", "tar", "bz2"); if (in_array($fileext, $allowedexts)) { print "File is trusted."; } else { print "File not trusted!"; }?>