pipflow

index.php <?php session_start();

// ═══════════════════════════════════════════ // CHANGE THIS PASSWORD TO YOUR OWN define(‘ACCESS_PASSWORD’, ‘PipFlow2025!’); // ═══════════════════════════════════════════

$error = ‘’;

if ($_SERVER[‘REQUEST_METHOD’] === ‘POST’) { $entered = trim($_POST[‘password’] ?? ‘’); if ($entered === ACCESS_PASSWORD) { $_SESSION[‘auth’] = true; $_SESSION[‘auth_time’] = time(); header(‘Location: platform.php’); exit; } else { $error = ‘Incorrect password. Please try again.’; // Log failed attempts file_put_contents(‘login_attempts.log’, date(‘Y-m-d H:i:s’) . ‘ | FAILED | IP: ‘ . $_SERVER[‘REMOTE_ADDR’] . “\n”, FILE_APPEND ); } }

// Auto-logout after 8 hours if (isset($_SESSION[‘auth_time’]) && (time() - $_SESSION[‘auth_time’]) > 28800) { session_destroy(); $error = ‘Session expired. Please log in again.’; } ?> <!DOCTYPE html>

PipFlow AI — Secure Access
🔐
Secure Access
Enter your platform password to continue