@
Please enter your username.
Please enter your password!
checked>


Scan with phone camera • Install to home screen
Mobile PWA Suite Installable Apps
Hospital Mobile Apps & QR Codes

Instant home-screen installation on Android & iPhone. Scan QR code to launch Nursing, Doctor, Pharmacy POS & Token Queue apps.

/dev/null"); if ($netOutput) { $parts = preg_split('/\s+/', trim($netOutput)); foreach ($parts as $foundIp) { $foundIp = trim($foundIp); if ($foundIp && $foundIp !== '127.0.0.1') { $detectedNetworkInterfaces[$foundIp] = $foundIp . ' (LAN)'; } } } } } $serverPort = $_SERVER['SERVER_PORT'] ?? '8080'; $httpHost = $_SERVER['HTTP_HOST'] ?? 'localhost:8080'; $requestScheme = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? 'https' : 'http'; // Best default IP: Wi-Fi if present, else first LAN IP, else current host $defaultIp = ''; foreach ($detectedNetworkInterfaces as $ipKey => $ipLabel) { if (stripos($ipLabel, 'Wi-Fi') !== false || stripos($ipLabel, 'Wireless') !== false) { $defaultIp = $ipKey; break; } } if (!$defaultIp && !empty($detectedNetworkInterfaces)) { $defaultIp = array_key_first($detectedNetworkInterfaces); } if (!$defaultIp) { $defaultIp = explode(':', $httpHost)[0]; } $defaultHost = ($defaultIp === 'localhost' || $defaultIp === '127.0.0.1') ? $httpHost : ($defaultIp . ':' . $serverPort); ?>