Version 1
[yaffs-website] / vendor / behat / mink-browserkit-driver / tests / web-fixtures / cookie_page1.php
1 <?php
2     $resp = new Symfony\Component\HttpFoundation\Response();
3     $cook = new Symfony\Component\HttpFoundation\Cookie('srvr_cookie', 'srv_var_is_set', 0, '/');
4     $resp->headers->setCookie($cook);
5 ?>
6 <!doctype html public "-//w3c//dtd xhtml 1.1//en" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
7 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
8 <head>
9     <title>basic form</title>
10     <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
11     <script>
12     </script>
13 </head>
14 <body>
15     basic page with cookie set from server side
16 </body>
17 </html>