You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
header('Access-Control-Allow-Origin: *'); // Allow requests from your frontend
$apiKey = '5fef6052508d9547b220620a3df90b6bf02db4d7743a0b646ecc4a84d18201c173b370fddbe26771'; // 🔒 Replace with your actual API key (store securely in production!)
// Get data from frontend
$ipAddress = $_POST['ipAddress'] ?? '118.25.6.39'; // Default IP if none provided
$maxAgeInDays = $_POST['maxAgeInDays'] ?? '90'; // Default 90 days