Just put any number of handles behind the URL, like this:
Notice: Undefined variable: url in /home/vhosting/k/vhost0002407/domains/manabase.com/htdocs/www/subdomains/topcoder/graph_png.php on line 6
$id) { if (!$id) $id = $coder; if (!is_numeric ($id)) { $id = getID ($id); if (!$id) continue; } $events[$coder] = getEvents ($id); if (!$events[$coder]) continue; $minD = min (array_keys ($events[$coder])); $maxD = max (array_keys ($events[$coder])); $minR = min ($events[$coder]); $maxR = max ($events[$coder]); if (!isset ($minRating)) { $minDate = $minD; $maxDate = $maxD; $minRating = $minR; $maxRating = $maxR; } else { $minDate = min ($minDate, $minD); $maxDate = max ($maxDate, $maxD); $minRating = min ($minRating, $minR); $maxRating = max ($maxRating, $maxR); } } if (sizeof ($events) == 0) { die ("no coders specified"); } /* printf ("minRating = $minRating
\n"); printf ("maxRating = $maxRating
\n"); printf ("minDate = $minDate
\n"); printf ("maxDate = $maxDate
\n"); die(); */ /* $events1 = getEvents (19786437); $events2 = getEvents (8416646); */ /* $minDate = min (min (array_keys ($events1)), min (array_keys ($events2))); $maxDate = max (max (array_keys ($events1)), max (array_keys ($events2))); $minRating = min (min ($events1), min ($events2)); $maxRating = max (max ($events1), max ($events2)); */ $minRating -= $minRating % 100; $minRating -= 50; $maxRating -= $maxRating % 100; $maxRating += 150; $width = 640; $height = 480; $image = imagecreate ($width, $height); $white = imagecolorallocate($image, 255, 255, 255); imagecolortransparent ($image, $white); $blue = imagecolorallocate($image, 0, 0, 255); $red = imagecolorallocate($image, 255, 0, 0); $black = imagecolorallocate($image, 0, 0, 0); $green = imagecolorallocate($image, 0, 200, 0); $purple = imagecolorallocate($image, 160, 0, 200); $brightGray = imagecolorallocate($image, 200, 200, 200); $lightRed = imagecolorallocate($image, 255, 180, 180); $lightYellow = imagecolorallocate($image, 255, 255, 160); $lightBlue = imagecolorallocate($image, 180, 180, 255); $lightGreen = imagecolorallocate($image, 180, 255, 180); $lightGray = imagecolorallocate($image, 180, 180, 180); $orange = imagecolorallocate($image, 255, 153, 0); $dimensions = array ($minDate, $maxDate, $minRating, $maxRating); imagefilledrectangle ($image, 0, rating (2200), $width, rating (4000), $lightRed); imagefilledrectangle ($image, 0, rating (1500), $width, rating (2200), $lightYellow); imagefilledrectangle ($image, 0, rating (1200), $width, rating (1500), $lightBlue); imagefilledrectangle ($image, 0, rating (900), $width, rating (1200), $lightGreen); imagefilledrectangle ($image, 0, rating (0), $width, rating (900), $lightGray); imagefilledrectangle ($image, 0, rating (-200), $width, rating (0), $orange); for ($ratingLine = $minRating + 50; $ratingLine < $maxRating; $ratingLine += 100) { $y = rating ($ratingLine); imageline ($image, 0, $y, $width, $y, $black); } foreach (array (2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011) as $year) { foreach (array (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) as $month) { $x = timePos (mktime (0, 0, 0, $month, 1, $year)); imageline ($image, $x, 0, $x, $height, $brightGray); } } $graphColors = array ($blue, $red, $green, $purple, $black); $color = 0; foreach ($events as $graph) { drawGraph ($image, $graph, $dimensions , $graphColors[$color]); $color = ($color + 1) % sizeof ($graphColors); } header ("Content-Type: image/png"); imagepng($image); imagedestroy($image); /* ?> $rating) { ?>

Notice: Undefined variable: date in /home/vhosting/k/vhost0002407/domains/manabase.com/htdocs/www/subdomains/topcoder/graph_png.php on line 138

Notice: Undefined variable: rating in /home/vhosting/k/vhost0002407/domains/manabase.com/htdocs/www/subdomains/topcoder/graph_png.php on line 138
$rating) { $x = timePos ($date); $y = rating ($rating); if ($first) { $first = false; } else { imageline ($image, $prevX, $prevY, $x, $y, $color); } $prevX = $x; $prevY = $y; } } function timePos ($date) { global $width, $minDate, $maxDate; return $width * ($date - $minDate) / ($maxDate - $minDate); } function rating ($rating) { global $height, $minRating, $maxRating; return $height - 1 - $height * ($rating - $minRating) / ($maxRating - $minRating); } function getID ($handle) { $headers = get_headers('http://www.topcoder.com/tc?module=SimpleSearch&ha='. urlencode ($handle)); foreach ($headers as $header) { if (preg_match ('@^Location:.*cr=(\d+)$@', $header, $matches)) { return $matches[1]; } } return false; } ?>