diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-18 21:33:50 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-18 21:33:50 +0200 |
commit | bcd9b38f79dd624b6cf11246229656080c3a46cc (patch) | |
tree | 219ac0e770cea688eb857ae94cedc60c0699b458 | |
parent | f964f1648692a59a8e3c07c9d12fbfd567b973df (diff) | |
download | merchant-bcd9b38f79dd624b6cf11246229656080c3a46cc.tar.gz merchant-bcd9b38f79dd624b6cf11246229656080c3a46cc.tar.bz2 merchant-bcd9b38f79dd624b6cf11246229656080c3a46cc.zip |
fix php syntax
-rw-r--r-- | src/frontend/fake_wire_transfer.php | 4 | ||||
-rw-r--r-- | src/frontend/index.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/fake_wire_transfer.php b/src/frontend/fake_wire_transfer.php index 8618c7e2..64231da7 100644 --- a/src/frontend/fake_wire_transfer.php +++ b/src/frontend/fake_wire_transfer.php @@ -39,8 +39,8 @@ <?php // Evaluate form -$reserve_pk = $_POST['reserve_pk]; -$kudos_amount = $_POST['kudos_amount]; +$reserve_pk = $_POST['reserve_pk']; +$kudos_amount = $_POST['kudos_amount']; // pack the JSON $json = json_encode (array ('reserve_pub' => $reserve_pk, diff --git a/src/frontend/index.html b/src/frontend/index.html index b46f768c..add5d3b4 100644 --- a/src/frontend/index.html +++ b/src/frontend/index.html @@ -79,7 +79,7 @@ into the subject area for your wire transfer instead of into this form. </p> - <form id="reserve-form" name="tform" action="fake_wire_transfer.php" method="POST"> + <form id="reserve-form" name="tform" action="/fake_wire_transfer.php" method="POST"> <div class="participation" id="fake-wire"> <br> Paste your reserve public key here (right-click, "paste"): @@ -105,7 +105,7 @@ accepting KUDOS right here into this page.</p> <p>Please choose a project and the amount of KUDOS you wish to donate.</p> - <form name="tform" action="checkout.php" method="POST"> + <form name="tform" action="/checkout.php" method="POST"> <div class="participation" id="fake-shop"> <br> <input type="radio" name="group0" value="Taler" checked="true">Taler</input> |