There is a bot configuration file that any well behaved webbot will look for before starting to crawl through a website. This file can specify not to search certain sections of a site, so presumably anything containing 'showprofile.php' in the URL could be excluded (I didn't check).

Google's Web Crawler FAQ