Chek if cookie enabled using php [example]

8/02/2022  •  218 views
 
<?php
if(count($_COOKIE) > 0) {
// nothing to do
} else {
header('Location: http://google.com');
exit;
}
?>
 English / Indonesian