diff options
Diffstat (limited to 'test/value')
-rw-r--r-- | test/value/index.php | 7 | ||||
-rw-r--r-- | test/value/no/index.html | 12 | ||||
-rw-r--r-- | test/value/yes/index.html | 12 |
3 files changed, 31 insertions, 0 deletions
diff --git a/test/value/index.php b/test/value/index.php new file mode 100644 index 0000000..3e9ef74 --- /dev/null +++ b/test/value/index.php @@ -0,0 +1,7 @@ +<?php + +if (isset($_COOKIE["_flmobile_test"])) { + header("Location: /test/value/yes"); +} else { + header("Location: /test/value/no"); +}
\ No newline at end of file diff --git a/test/value/no/index.html b/test/value/no/index.html new file mode 100644 index 0000000..36c09f1 --- /dev/null +++ b/test/value/no/index.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Title</title> +</head> +<body> + <form action="/test/cookie"> + <input type="submit" value="Click to test"> + </form> +</body> +</html>
\ No newline at end of file diff --git a/test/value/yes/index.html b/test/value/yes/index.html new file mode 100644 index 0000000..36c09f1 --- /dev/null +++ b/test/value/yes/index.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Title</title> +</head> +<body> + <form action="/test/cookie"> + <input type="submit" value="Click to test"> + </form> +</body> +</html>
\ No newline at end of file |