title: PHP session won't work after updating PHP version
body: <p>After moving my website from older to new version of PHP my login session show the following message undefined Function Session_Register but before upgrading this script work </p>
  
  <p>Here is my login script</p>
  
  <pre><code>if($count=1)
  {
      session_register('username');
  
      header("location:authorized.php");
  }
  </code></pre>