Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get cookie by name preg_match

$cookie_name = 'cookie_';
foreach ($_COOKIE as $name => $value) {
    if (stripos($name,$cookie_name) === 0) {
        $cookies[] = $name;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #cookie
ADD COMMENT
Topic
Name
3+9 =