$str = "blablab/wp-forum.php?link";
$find = "blablab/wp-forum.php";
$position = strpos($str, $find);
if($position !== FALSE) // !== operator to check the type as well. As, strpos returns 0, if found in first position
{
echo "String contains searched string";
}