diff options
| author | Adam Soltys <[email protected]> | 2012-11-06 20:59:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-11-06 22:56:57 -0800 |
| commit | 5f907fcf5b98c5be780bb0edfe830b96d068e585 (patch) | |
| tree | 6819e040a4bc8f41330103dd9cb54ba528c550d1 /record_transaction.php | |
| parent | 08f341f692688f077e9080bded2b14fdd5979c1e (diff) | |
| download | coinos-server-5f907fcf5b98c5be780bb0edfe830b96d068e585.tar.gz coinos-server-5f907fcf5b98c5be780bb0edfe830b96d068e585.zip | |
Use node and express
Diffstat (limited to 'record_transaction.php')
| -rw-r--r-- | record_transaction.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/record_transaction.php b/record_transaction.php deleted file mode 100644 index bd858b76..00000000 --- a/record_transaction.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -$file = 'transactions.json'; - -$transaction = array( - 'address'=> $_GET['address'], - 'date'=> $_GET['date'], - 'received'=> $_GET['received'], - 'exchange'=> $_GET['exchange'], - 'value'=> $_GET['received'] * $_GET['exchange'] -); - -$json = json_decode(file_get_contents($file)); -array_push($json->transactions, $transaction); -file_put_contents($file, json_encode($json)); - -?> |
