|
6 | 6 | <head> |
7 | 7 | <meta charset="UTF-8"> |
8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
9 | | - <title>System Info</title> |
| 9 | + <title>Get & Post Requests</title> |
10 | 10 | <link rel="stylesheet" href="css/style.min.css"> |
11 | 11 | </head> |
12 | 12 | <body> |
13 | 13 | <div class="container"> |
14 | 14 | <h1>$_SERVER Examples</h1> |
15 | 15 | <p>Project repository and changes tracked on <a rel="nofollow" target="_blank" href="https://github.com/devnetkc/lrnPHP" title="lrnPHP PHP Front to Back repository on GitHub">GitHub.</a></p> |
16 | | - <h2 class="pt-2">Server & File Info</h2> |
17 | | - <?php if ($server): ?> |
18 | | - <ul class="list-group"> |
19 | | - <?php foreach ($server as $key => $value): ?> |
20 | | - <li class="list-group-item"> |
21 | | - <strong><?php echo $key;?>: </strong> |
22 | | - <?php //echo $value; ?>erased for security purposes |
23 | | - </li> |
24 | | - <?php endforeach; ?> |
25 | | - </ul> |
26 | | - <?php endif; ?> |
27 | | - <h2 class="pt-2">Client Info</h2> |
28 | | - <?php if ($client): ?> |
29 | | - <ul class="list-group"> |
30 | | - <?php foreach ($client as $key => $value): ?> |
31 | | - <li class="list-group-item"> |
32 | | - <strong><?php echo $key;?>: </strong> |
33 | | - <?php echo $value; ?> |
34 | | - </li> |
35 | | - <?php endforeach; ?> |
36 | | - </ul> |
37 | | - <?php endif; ?> |
| 16 | + <div class="row"> |
| 17 | + <div class="col-12-sm col-6-md col-4-lg col-3-xlg"> |
| 18 | + <div class="container ml-3 my-card"> |
| 19 | + <form> |
| 20 | + <div class="form-group"> |
| 21 | + <label for="formInputEmail"> |
| 22 | + Email address |
| 23 | + </label> |
| 24 | + <input type="email" class="form-control" id="formInputEmail" aria-describedby="emailPrivacyNotice" placeholder="Enter email"> |
| 25 | + <small id="emailPrivacyNotice">We'll never share your email with anyone else</small> |
| 26 | + </div> |
| 27 | + <div class="form-group"> |
| 28 | + <label for="formInputPassword"> |
| 29 | + Password |
| 30 | + </label> |
| 31 | + <input type="password" class="form-control" id="formInputPassword" placeholder="password"> |
| 32 | + </div> |
| 33 | + <div class="form-group"> |
| 34 | + <input type="checkbox" class="form-check-input" id="formInputCheck1"> |
| 35 | + <label class="form-check-label" for="formInputCheck1">Select checkmark value</label> |
| 36 | + </div> |
| 37 | + <button type="submit" class="btn btn-secondary">Submit</button> |
| 38 | + </form> |
| 39 | + </div> |
| 40 | + </div> |
| 41 | + <div class ="col-12-sm col-6-md col-8-lg col-3-xlg"> |
| 42 | + |
| 43 | + </div> |
| 44 | + </div> |
38 | 45 | </div> |
39 | 46 |
|
40 | 47 | </body> |
|
0 commit comments