d2tools/index.php
2021-03-20 21:10:59 -06:00

12 lines
186 B
PHP

<?php
$post = $_POST;
if (!empty($code)) { array_filter($_POST['code']);}
$post['code'] = $code[0];
require_once 'uniqueitems.php';
$fp = fopen($u, 'a+');
fputcsv($fp, $post, "\t");