Changeset View
Changeset View
Standalone View
Standalone View
fundraisers/randameetings2016/notify.php
1 | <?php | 1 | <?php | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | $do_debug = true; | 3 | $do_debug = true; | ||
4 | die("Donation to the Randa Meeting 2016 are not supported anymore. See <a href="/donations">Donnations</a>"); | ||||
4 | 5 | | |||
5 | // STEP 1: read POST data | 6 | // STEP 1: read POST data | ||
6 | 7 | | |||
7 | // Reading POSTed data directly from $_POST causes serialization issues with array data in the POST. | 8 | // Reading POSTed data directly from $_POST causes serialization issues with array data in the POST. | ||
8 | // Instead, read raw POST data from the input stream. | 9 | // Instead, read raw POST data from the input stream. | ||
9 | $raw_post_data = file_get_contents('php://input'); | 10 | $raw_post_data = file_get_contents('php://input'); | ||
10 | $raw_post_array = explode('&', $raw_post_data); | 11 | $raw_post_array = explode('&', $raw_post_data); | ||
11 | $myPost = array(); | 12 | $myPost = array(); | ||
▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines |