corrade-http-templates – Diff between revs 1 and 4
?pathlinks?
Rev 1 | Rev 4 | |||
---|---|---|---|---|
Line 16... | Line 16... | |||
16 | |
16 | |
|
17 | ########################################################################### |
17 | ########################################################################### |
|
18 | ## INTERNALS ## |
18 | ## INTERNALS ## |
|
Line 19... | Line 19... | |||
19 | ########################################################################### |
19 | ########################################################################### |
|
20 | |
20 | |
|
- | 21 | # Check that we have all the necessary variables. |
||
21 | # If there is no "message" or "name" POST variable set then bail. |
22 | if(!isset($_POST['message']) || |
|
- | 23 | empty($_POST['message']) || |
||
22 | if(!isset($_POST['message']) || |
24 | !isset($_POST['name']) || |
|
- | 25 | empty($_POST['name']) || |
||
- | 26 | !isset($_POST['firstname']) || |
||
23 | !isset($_POST['name']) || |
27 | empty($_POST['firstname']) || |
|
Line 24... | Line 28... | |||
24 | !isset($_POST['firstname']) || |
28 | !isset($_POST['lastname']) || |
|
25 | !isset($_POST['lastname'])) return; |
29 | empty($_POST['lastname'])) return; |
|
26 | |
30 | |
|
27 | #### |
31 | #### |