title: access session whmcs in php
body: <p>I have a nulled WHMCS script which I have used it on my hosting site.<br>
  When I add products to cart products added to cart in WHMCS page, but in that same domain I have created my own pages. For that reason being I want to use that session generated by WHMCS should be available on my page. but I am unable to do so.</p>
  
  <p>Here is my code </p>
  
  <pre><code>$cartitems = count ($_SESSION['cart']['products']) 
      + count ($_SESSION['cart']['addons']) 
      + count ($_SESSION['cart']['domains']);
  </code></pre>