First of all, this:
$handle = fopen($url, "r");
$contents = file_get_contents($url);
fclose($handle);
is redudandtly redudant. [man]file_get_contents/man does use a previously opened handle, so all you need is this:
$contents = file_get_contents($url);
Second of all, you need to know more about Perl's regular expression syntax, as all of the preg_ functions use it, including [man]preg_match[/man]. The warning you're getting is due to the fact that you have unescaped delimiter (more than one, actually) in your pattern. For your pattern, it might be easier to simply use a different delimiter, such as the @ symbol, like so:
$temp_pattern = "@<p align=\"center\"><a href=\"/board/register.php\">Join Up!</a> <br>([0-9]*) members and counting!</p>@";
Don't forget, if the structure of that part of the page changes any, even a tiny bit, it'll most likely break your pattern and cause errors again.