Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
HTTP /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
absoluteURI.inc
1.52
KB
-rw-r--r--
negotiateCharset2.phpt
1.28
KB
-rw-r--r--
negotiateCharset.phpt
1.28
KB
-rw-r--r--
negotiateLanguage.phpt
1.47
KB
-rw-r--r--
negotiateMimeType.phpt
2.08
KB
-rw-r--r--
test1a.phpt
1.63
KB
-rw-r--r--
test2a.phpt
1.57
KB
-rw-r--r--
test3a.phpt
1.48
KB
-rw-r--r--
test4a.phpt
1.45
KB
-rw-r--r--
test5a.phpt
1.39
KB
-rw-r--r--
test6a.phpt
1.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : absoluteURI.inc
<?php /** * Generates the output for absoluteURI-related tests * * This file is called by other phpt files to run the same tests on * different $_ENV settings. * * @category HTTP * @package HTTP * @author Philippe Jausions <jausions@php.net> * @version $Id: absoluteURI.inc,v 1.2 2008/02/09 07:46:32 jausions Exp $ */ require_once 'HTTP.php'; // For 4th argument of HTTP::absoluteURI() method if (!defined('HTTP_RELATIVETOSCRIPT')) { define('HTTP_RELATIVETOSCRIPT', true); } $tests = array( // page, protocol, port array(null, null, null), // Current full URI array('?new=value', null, null), // Append/replace query string array('#anchor', null, null), // Anchor target to URI array('/page.html', null, null), // Web root array('page.html', null, null), // Relative array('page.html', 'http', null), // Force HTTP array('page.html', 'http', 80), // Force HTTP / default port array('page.html', 'http', 8080), // Force HTTP / port 8080 array('page.html', 'https', null), // Force HTTPS array('page.html', 'https', 443), // Force HTTPS / default port array('page.html', null, 8080), // Switch port (same protocol) array('page.html', 'https', 8888), // Force HTTPS / port 8888 ); foreach ($tests as $test) { list($page, $protocol, $port) = $test; echo sprintf('%-20s', implode('|', $test)).' => ' .HTTP::absoluteURI($page, $protocol, $port, HTTP_RELATIVETOSCRIPT) ."\n"; } ?>
Close