芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/teafund.pulsehost.co.uk/api/add_user.php
prepare("INSERT INTO users (email, password_hash, role) VALUES (?,?,?)"); $stmt->execute([$email, $hash, $role]); header('Location: /admin/roles.php?ok=1'); exit; } catch (Throwable $e) { header('Location: /admin/roles.php?err=exists'); exit; } ?>