clearcart($cartid, $hmac)); //echo $_SESSION['cartitems']; $_SESSION['hmac'] = ""; $_SESSION['url'] = ""; $_SESSION['cartid'] = ""; header('location: '.$_SERVER['HTTP_REFERER']); ?>