htdocs/_test/test-as-array.php 1 location
|
@@ 103-112 (lines=10) @@
|
| 100 |
|
$status = $form->Check(); |
| 101 |
|
|
| 102 |
|
// What to do if the form was submitted? |
| 103 |
|
if($status === true) { |
| 104 |
|
$form->AddOUtput("<p><i>Form was submitted and the callback method returned true.</i></p>"); |
| 105 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
// What to do when form could not be processed? |
| 109 |
|
else if($status === false){ |
| 110 |
|
$form->AddOutput("<p><i>Form was submitted and the Check() method returned false.</i></p>"); |
| 111 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
?> |
| 115 |
|
|
htdocs/_test/test-creditcard-checkout.php 1 location
|
@@ 186-195 (lines=10) @@
|
| 183 |
|
$status = $form->Check(); |
| 184 |
|
|
| 185 |
|
// What to do if the form was submitted? |
| 186 |
|
if($status === true) { |
| 187 |
|
$form->AddOUtput("<p><i>Form was submitted and the callback method returned true.</i></p>"); |
| 188 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 189 |
|
} |
| 190 |
|
|
| 191 |
|
// What to do when form could not be processed? |
| 192 |
|
else if($status === false){ |
| 193 |
|
$form->AddOutput("<p><i>Form was submitted and the Check() method returned false.</i></p>"); |
| 194 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
$columns = isset($_GET['cols']) && $_GET['cols'] == 2 ? 2 : 1; |
| 198 |
|
?> |
htdocs/_test/test-file-upload.php 1 location
|
@@ 47-56 (lines=10) @@
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
// What to do if the form was submitted? |
| 47 |
|
if($status === true) { |
| 48 |
|
$form->AddOUtput("<p><i>Form was submitted and the callback method returned true.</i></p>"); |
| 49 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
// What to do when form could not be processed? |
| 53 |
|
else if($status === false){ |
| 54 |
|
$form->AddOutput("<p><i>Form was submitted and the Check() method returned false.</i></p>"); |
| 55 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
?> |
| 59 |
|
|
htdocs/_test/test-multiple-checkbox.php 1 location
|
@@ 48-57 (lines=10) @@
|
| 45 |
|
$status = $form->Check(); |
| 46 |
|
|
| 47 |
|
// What to do if the form was submitted? |
| 48 |
|
if($status === true) { |
| 49 |
|
$form->AddOUtput("<p><i>Form was submitted and the callback method returned true.</i></p>"); |
| 50 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
// What to do when form could not be processed? |
| 54 |
|
else if($status === false){ |
| 55 |
|
$form->AddOutput("<p><i>Form was submitted and the Check() method returned false.</i></p>"); |
| 56 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
?> |
| 60 |
|
|
htdocs/_test/test-part5.php 1 location
|
@@ 67-76 (lines=10) @@
|
| 64 |
|
$status = $form->Check(); |
| 65 |
|
|
| 66 |
|
// What to do if the form was submitted? |
| 67 |
|
if($status === true) { |
| 68 |
|
$form->AddOUtput("<p><i>Form was submitted and the callback method returned true.</i></p>"); |
| 69 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
// What to do when form could not be processed? |
| 73 |
|
else if($status === false){ |
| 74 |
|
$form->AddOutput("<p><i>Form was submitted and the Check() method returned false.</i></p>"); |
| 75 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
?> |
| 79 |
|
|
htdocs/_test/test-part6.php 1 location
|
@@ 67-76 (lines=10) @@
|
| 64 |
|
$status = $form->Check(); |
| 65 |
|
|
| 66 |
|
// What to do if the form was submitted? |
| 67 |
|
if($status === true) { |
| 68 |
|
$form->AddOUtput("<p><i>Form was submitted and the callback method returned true.</i></p>"); |
| 69 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
// What to do when form could not be processed? |
| 73 |
|
else if($status === false){ |
| 74 |
|
$form->AddOutput("<p><i>Form was submitted and the Check() method returned false.</i></p>"); |
| 75 |
|
header("Location: " . $_SERVER['PHP_SELF']); |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
?> |
| 79 |
|
|