Update prof.php

Uses regular expression to sanity-check the given prof ID
Merge pull request #4 from chrisforrence/patch-3

Update prof.php