Update prof.php

Uses regular expression to sanity-check the given prof ID