Something like this should work:
if ($_SERVER['QUERY_STRING'])
{
$qsCheck = explode('=',$_SERVER['QUERY_STRING']) ;
if ($qsCheck[0] == 'showtopic')
{
$redirURL = 'www.hardmods.net/modules/ipboard/index.php?' . $_SERVER['QUERY_STRING'];
header('Location:$redirURL');
exit;
}
}
amc