All pastes #352208 Raw Edit

Someone

public php v1 · immutable
·published 2007-02-12 17:38 UTC
rendered paste body
  function setblogvalues($blog) {    global $blogtitle, $blogname, $blogloginboxtitle, $blogfooter;    if ($blog == "") {      print "fuxarolfuxarol";      $blogtitle = "It's Blog Town, Everyone";      $blogname = "Blog Town";      $blogloginboxtitle = "Hurry. Log in";      $blogfooter = "(c) Eric Burton 2007";    } else {      # SQL SHIT GOES HERE BOI    }  }### end index.php clip -- what follows is from included file HEADER.php<head><title><?=$GLOBALS['blogtitle']?></title></head>### when I include() this file I see <title></title> even though i call setblogvalues("") ... is there a problem with my string comparison? it doesn't work with if (!$blog) either. very scared and confused