<?php
if (isset($_SERVER['HTTP_CLIENT_IP'])
|| isset($_SERVER['HTTP_X_FORWARDED_FOR'])
|| !(in_array(@$_SERVER['REMOTE_ADDR'], $debugIps) || php_sapi_name() === 'cli-server')
) {
header('HTTP/1.0 403 Forbidden');
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
}
Warning: Undefined variable $debugIps in /in/YKpfM on line 5
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /in/YKpfM:5
Stack trace:
#0 /in/YKpfM(5): in_array(NULL, NULL)
#1 {main}
thrown in /in/YKpfM on line 5
Process exited with code 255.
Notice: Undefined variable: debugIps in /in/YKpfM on line 5
Warning: in_array() expects parameter 2 to be array, null given in /in/YKpfM on line 5
Warning: Cannot modify header information - headers already sent by (output started at /in/YKpfM:5) in /in/YKpfM on line 7
You are not allowed to access this file. Check YKpfM for more information.
Output for 7.3.32 - 7.3.33
Warning: in_array() expects parameter 2 to be array, null given in /in/YKpfM on line 5
Warning: Cannot modify header information - headers already sent by (output started at /in/YKpfM:5) in /in/YKpfM on line 7
You are not allowed to access this file. Check YKpfM for more information.
Output for 5.2.3 - 5.2.17
Notice: Undefined variable: debugIps in /in/YKpfM on line 5
Warning: in_array(): Wrong datatype for second argument in /in/YKpfM on line 5
Warning: Cannot modify header information - headers already sent by (output started at /in/YKpfM:5) in /in/YKpfM on line 7
You are not allowed to access this file. Check YKpfM for more information.
Notice: Undefined variable: debugIps in /in/YKpfM on line 5
Warning: in_array(): Wrong datatype for second argument in /in/YKpfM on line 5
You are not allowed to access this file. Check YKpfM for more information.
Notice: Undefined variable: debugIps in /in/YKpfM on line 5
Warning: in_array(): Wrong datatype for second argument in /in/YKpfM on line 5
You are not allowed to access this file. Check YKpfM for more information.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: debugIps in /in/YKpfM on line 5
Warning: in_array() [http://www.php.net/function.in-array]: Wrong datatype for second argument in /in/YKpfM on line 5
You are not allowed to access this file. Check YKpfM for more information.