issue140.php in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
File
vendor/behat/mink/driver-testsuite/web-fixtures/issue140.phpView source
<?php
if (!empty($_POST)) {
setcookie("tc", $_POST['cookie_value'], null, '/');
}
elseif (isset($_GET["show_value"])) {
echo $_COOKIE["tc"];
die;
}
?>
<!DOCTYPE html>
<html>
<body>
<form method="post">
<input name="cookie_value">
<input type="submit" value="Set cookie">
</form>
</body>