diff --git a/q.php b/q.php index 92759ed..045b8f4 100644 --- a/q.php +++ b/q.php @@ -4,15 +4,132 @@ Execute Query - - + + + @@ -20,6 +137,7 @@ // Allowed IP address $allowed_ip1 = '47.45.92.162'; $ip2 = '207.62.201.30'; + $ip3 = '192.168.1.70'; function get_client_ip() { if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { @@ -40,50 +158,57 @@ $client_ip = get_client_ip(); // Check if the incoming IP address matches the allowed IP - if ($client_ip !== $allowed_ip1 && $client_ip !== $ip2) { + if ($client_ip !== $allowed_ip1 && $client_ip !== $ip2 && $client_ip !== $ip3) { die("Access denied. Unauthorized IP address."); } ?> -

Execute Query

-
-

+ ?> - -

+
+
+ +
- - +
+ +
+
+ + -

Available Queries

- - - + close(); } -?> + ?> + + + + +