Update prof.php

Added regular-expression sanity check for professor ID