Changeset View
Changeset View
Standalone View
Standalone View
fundraisers/kdesprints2015/notify.php
1 | <?php | 1 | <?php | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | die("You can't donate for the KDE Sprints 2015 anymore"); | ||||
4 | | ||||
3 | $do_debug = true; | 5 | $do_debug = true; | ||
4 | 6 | | |||
5 | // STEP 1: read POST data | 7 | // STEP 1: read POST data | ||
6 | 8 | | |||
7 | // Reading POSTed data directly from $_POST causes serialization issues with array data in the POST. | 9 | // 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. | 10 | // Instead, read raw POST data from the input stream. | ||
9 | $raw_post_data = file_get_contents('php://input'); | 11 | $raw_post_data = file_get_contents('php://input'); | ||
10 | $raw_post_array = explode('&', $raw_post_data); | 12 | $raw_post_array = explode('&', $raw_post_data); | ||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |