From 5f907fcf5b98c5be780bb0edfe830b96d068e585 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 6 Nov 2012 20:59:25 -0800 Subject: Use node and express --- record_transaction.php | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 record_transaction.php (limited to 'record_transaction.php') 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 @@ - $_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)); - -?> -- cgit v1.2.3