summaryrefslogtreecommitdiffstats
path: root/uploadi/counter.php
diff options
context:
space:
mode:
Diffstat (limited to 'uploadi/counter.php')
-rw-r--r--uploadi/counter.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/uploadi/counter.php b/uploadi/counter.php
new file mode 100644
index 0000000..f93a91e
--- /dev/null
+++ b/uploadi/counter.php
@@ -0,0 +1,10 @@
+<?php
+
+ include_once ('../function.php');
+
+ $fn = $_GET['fn'];
+ $fn = str_replace ("'", "", $fn);
+
+ $result = sisplet_query ("INSERT INTO UlCounter (filename, timestamp) VALUES ('$fn', NOW())");
+ header ('location: ' .$site_url .'uploadi/editor/' .$fn);
+?> \ No newline at end of file