cookie

this script's code

if (isset($_GET['src'])) {
    $source_value = htmlspecialchars($_GET['src'], ENT_QUOTES, 'UTF-8');
    $current_time = date('Y-m-d H:i:s');
    $cookie_value = $source_value . ' - ' . $current_time;
    setcookie('source_param', $cookie_value);
}
echo "<h2>cookie</h2>";
echo $cookie_value;