HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/ehbo.today/vendor/behat/mink/driver-testsuite/web-fixtures/issue140.php
<?php
require_once 'utils.php';

if (!empty($_POST)) {
    setcookie("tc", $_POST['cookie_value'], null, '/');
} elseif (isset($_GET["show_value"])) {
    echo html_escape_value($_COOKIE["tc"]);
    die();
}
?>
<!DOCTYPE html>
<html>
<body>
    <form method="post">
        <input name="cookie_value">
        <input type="submit" value="Set cookie">
    </form>
</body>