From 6f965aeb27380b009a03564d1a438635e2bb3f67 Mon Sep 17 00:00:00 2001 From: Hao Jianjun <74537225+0xbitx@users.noreply.github.com> Date: Wed, 28 Aug 2024 21:22:56 +0000 Subject: [PATCH] Add files via upload --- index.html | 203 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..3a39b76 --- /dev/null +++ b/index.html @@ -0,0 +1,203 @@ + + + + + + + Sim Name Search + + + +
+

Sim Name Search

+
+
+ +
+ +
+ + 'Globe Telecom / TM', + '0905' => 'Globe Telecom / TM', + '0906' => 'Globe Telecom / TM', + '0915' => 'Globe Telecom / TM', + '0916' => 'Globe Telecom / TM', + '0917' => 'Globe Telecom / TM', + '0926' => 'Globe Telecom / TM', + '0927' => 'Globe Telecom / TM', + '0935' => 'Globe Telecom / TM', + '0936' => 'Globe Telecom / TM', + '0937' => 'ABS-CBN Mobile', + '0945' => 'Globe Telecom / TM', + '0955' => 'Globe Telecom / TM', + '0956' => 'Globe Telecom / TM', + '0965' => 'Globe Telecom / TM', + '0966' => 'Globe Telecom / TM', + '0967' => 'Globe Telecom / TM', + '0975' => 'Globe Telecom / TM', + '0976' => 'Globe Telecom / Gomo / TM', + '0977' => 'Globe Telecom / TM', + '0995' => 'Globe Telecom / TM', + '0996' => 'Cherry Prepaid', + '0997' => 'Globe Telecom / TM', + '09175' => 'Globe Postpaid', + '09176' => 'Globe Postpaid', + '09178' => 'Globe Postpaid', + '09253' => 'Globe Postpaid', + '09255' => 'Globe Postpaid', + '09256' => 'Globe Postpaid', + '09257' => 'Globe Postpaid', + '09258' => 'Globe Postpaid', + '0813' => 'Smart / TNT', + '0907' => 'Smart / TNT', + '0908' => 'Smart / TNT', + '0909' => 'Smart / TNT', + '0910' => 'Smart / TNT', + '0811' => 'Smart / TNT', + '0912' => 'Smart / TNT', + '0913' => 'Smart / TNT', + '0914' => 'Smart / TNT', + '0918' => 'Smart / TNT', + '0919' => 'Smart / TNT', + '0920' => 'Smart / TNT', + '0921' => 'Smart / TNT', + '0928' => 'Smart / TNT', + '0929' => 'Smart / TNT', + '0930' => 'Smart / TNT', + '0938' => 'Smart / TNT', + '0939' => 'Smart / TNT', + '0940' => 'Smart / TNT', + '0946' => 'Smart / TNT', + '0947' => 'Smart / TNT', + '0948' => 'Smart / TNT', + '0949' => 'Smart / TNT', + '0950' => 'Smart / TNT', + '0951' => 'Smart / TNT', + '0961' => 'Smart / TNT', + '0963' => 'Smart / TNT', + '0968' => 'Smart / TNT', + '0969' => 'Smart / TNT', + '0970' => 'Smart / TNT', + '0981' => 'Smart / TNT', + '0989' => 'Smart / TNT', + '0992' => 'Smart / TNT', + '0998' => 'Smart / TNT', + '0999' => 'Smart / TNT', + '0895' => 'Dito', + '0896' => 'Dito', + '0897' => 'Dito', + '0898' => 'Dito', + '0991' => 'Dito', + '0992' => 'Dito', + '0993' => 'Dito', + '0994' => 'Dito', + '0922' => 'Sun Cellular', + '0923' => 'Sun Cellular', + '0924' => 'Sun Cellular', + '0925' => 'Sun Cellular', + '0931' => 'Sun Cellular', + '0932' => 'Sun Cellular', + '0933' => 'Sun Cellular', + '0934' => 'Sun Cellular', + '0941' => 'Sun Cellular', + '0942' => 'Sun Cellular', + '0943' => 'Sun Cellular', + '0944' => 'Sun Cellular' + ]; + + $phone_number = preg_replace('/\D/', '', $_POST['phone_number']); + $found = false; + + foreach ($prefixes as $prefix => $isp) { + if (strpos($phone_number, $prefix) === 0) { + echo "
Sim name for number $phone_number is: $isp
"; + $found = true; + break; + } + } + + if (!$found) { + echo "
Sim name not found for number $phone_number.
"; + } + } + ?> +
+ +