Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 268) sorted by relevance

1234567891011

/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/
H A DClientTest.php270 $this->assertSame(9200, $host->getPort());
291 $this->assertSame(9200, $host->getPort());
312 $this->assertSame(9200, $host->getPort());
330 $this->assertSame(9200, $host->getPort());
345 $this->assertSame(9200, $host->getPort());
360 $this->assertSame(9200, $host->getPort());
374 $this->assertSame(9200, $host->getPort());
387 $this->assertSame(9200, $host->getPort());
402 $this->assertSame(9500, $host->getPort());
430 $this->assertSame(9200, $host->getPort());
[all …]
/plugin/authfacebook/lib/Url/
H A DFacebookUrlDetectionHandler.php101 $host = $elements[count($elements) - 1];
102 } elseif (!$host = $this->getHeader('HOST')) {
103 if (!$host = $this->getServerVar('SERVER_NAME')) {
104 $host = $this->getServerVar('SERVER_ADDR');
110 $host = strtolower(preg_replace('/:\d+$/', '', trim($host)));
122 return $host . $appendPort;
176 $host = $elements[count($elements) - 1];
178 …return preg_match("/^([a-z\d](-*[a-z\d])*)(\.([a-z\d](-*[a-z\d])*))*$/i", $host) //valid chars che…
179 && 0 < strlen($host) && strlen($host) < 254 //overall length check
180 && preg_match("/^[^\.]{1,63}(\.[^\.]{1,63})*$/", $host); //length of each label
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
H A DClientBuilder.php555 foreach ($hosts as $host) {
556 if (is_string($host)) {
557 $host = $this->prependMissingScheme($host);
558 $host = $this->extractURIParts($host);
559 } elseif (is_array($host)) {
560 $host = $this->normalizeExtendedHost($host);
582 $host['scheme'] = 'http';
585 $host['port'] = 9200;
587 return $host;
595 $parts = parse_url($host);
[all …]
/plugin/evesso/phpoauthlib/src/OAuth/Common/Http/Uri/
H A DUriFactory.php26 $host = $this->detectHost($_server);
31 return $this->createFromParts($scheme, '', $host, $port, $path, $query);
49 * @param string $host
57 …public function createFromParts($scheme, $userInfo, $host, $port, $path = '', $query = '', $fragme… argument
62 $uri->setHost($host);
120 $host = isset($_server['HTTP_HOST']) ? $_server['HTTP_HOST'] : '';
122 if (strstr($host, ':')) {
123 $host = parse_url($host, PHP_URL_HOST);
126 return $host;
H A DUri.php30 private $host; variable in OAuth\\Common\\Http\\Uri\\Uri
90 $this->host = $uriParts['host'];
173 return $this->host;
217 $authority .= $this->host;
232 $authority .= $this->host;
386 * @param string $host
388 public function setHost($host) argument
390 $this->host = $host;
/plugin/oauth/phpoauthlib/src/OAuth/Common/Http/Uri/
H A DUriFactory.php26 $host = $this->detectHost($_server);
31 return $this->createFromParts($scheme, '', $host, $port, $path, $query);
49 * @param string $host
57 …public function createFromParts($scheme, $userInfo, $host, $port, $path = '', $query = '', $fragme… argument
62 $uri->setHost($host);
120 $host = isset($_server['HTTP_HOST']) ? $_server['HTTP_HOST'] : '';
122 if (strstr($host, ':')) {
123 $host = parse_url($host, PHP_URL_HOST);
126 return $host;
H A DUri.php30 private $host; variable in OAuth\\Common\\Http\\Uri\\Uri
90 $this->host = $uriParts['host'];
173 return $this->host;
217 $authority .= $this->host;
232 $authority .= $this->host;
386 * @param string $host
388 public function setHost($host) argument
390 $this->host = $host;
/plugin/html2pdf/html2pdf/html2ps/classes/org/active-link/net/
H A DSocket.php36 var $host; variable in Socket
44 * @param host
47 function Socket($host, $port) { argument
48 $this->host = $host;
60 $this->connectionID = fsockopen($this->host, $this->port, $errorID, $errorDesc, $connectTimeout);
148 function setHost($host) { argument
149 $this->host = $host;
/plugin/onlinenumber/
H A Dsyntax.php38 function plugin_online_check_online(& $count, $host = '') argument
65 if (! $found && $matches[1] == $host) $found = TRUE;
72 if (! $found && $host != '') ++$count; // About you
79 function plugin_online_sweep_records($host = '') argument
100 $matches[1] == $host) {
106 if ($host != '' ) {
108 array_unshift($lines, strtr($host, "\n", '') . '|' . UTIME . "\n");
159 $host = & $_SERVER['REMOTE_ADDR'];
161 $host = '';
165 if ($this->plugin_online_check_online($count, $host)) {
[all …]
/plugin/elasticsearch/vendor/guzzlehttp/ringphp/tests/Client/
H A DCurlMultiHandlerTest.php14 'headers' => ['host' => [Server::$host]],
34 'headers' => ['host' => ['localhost:123']],
60 'headers' => ['host' => [Server::$host]],
83 'headers' => ['host' => [Server::$host]],
109 'headers' => ['host' => [Server::$host]],
130 'headers' => ['host' => [Server::$host]],
144 'headers' => ['host' => [Server::$host]],
155 'headers' => ['host' => [Server::$host]],
170 'headers' => ['host' => ['127.0.0.1:123']],
H A DCurlFactoryTest.php104 'headers' => ['host' => [Server::$host]],
214 'headers' => ['host' => ['foo.com']],
224 'headers' => ['host' => ['foo.com']],
235 'headers' => ['host' => ['foo.com']],
251 'headers' => ['host' => ['foo.com']],
261 'headers' => ['host' => ['foo.com']],
272 'headers' => ['host' => ['foo.com']],
288 'headers' => ['host' => ['foo.com']],
549 'host' => [Server::$host],
585 'host' => [Server::$host],
[all …]
/plugin/cli/
H A Dcli-examples.txt14 user@host:~/somedir $ ls # List current directory
19 user@host:~/somedir $ ls \
28 user@host:~/somedir $ dosemu
52 user@host:~/somedir $
63 user@host:~/somedir $ ls \
72 user@host:~/somedir $ dosemu
96 user@host:~/somedir $
234 user@host:~/somedir $
264 user@host:~/somedir $
296 user@host:~/somedir $
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
H A DCssRewriteFilter.php40 list($host, $path) = explode('/', $url, 2);
42 $host = $scheme.'://'.$host.'/';
47 $host = '';
70 … $content = $this->filterReferences($asset->getContent(), function ($matches) use ($host, $path) {
78 return str_replace($matches['url'], $host.$matches['url'], $matches[0]);
89 foreach (explode('/', $host.$path.$url) as $part) {
/plugin/html2pdf/html2pdf/html2ps/
H A Dfetcher.url.class.php14 var $host; variable in FetcherUrl
135 $this->host,
157 $this->host,
164 $fp = @fsockopen("ssl://$this->host", $this->port, $errno, $errstr, 5);
168 $this->host,
201 return $this->protocol."://".$this->host.$location;
204 return $this->protocol."://".$this->host.$this->path.$location;
239 $this->host = 'localhost';
260 $this->host = "";
325 $header .= "Host: ".$this->host."\r\n";
[all …]
/plugin/openid/Auth/OpenID/
H A DURINorm.php197 list($_whole, $userinfo, $host, $port) = $authority_matches;
203 if (strpos($host, '%') !== -1) {
204 $host = strtolower($host);
205 $host = preg_replace_callback(
207 'Auth_OpenID_pct_encoded_replace', $host);
211 $host = strtolower($host);
224 $authority = $userinfo . $host . $port;
H A DTrustRoot.php134 $host = strtolower($parts['host']);
135 $hostparts = explode('*', $host);
145 $host = $hostparts[1];
151 if (strpos($host, ':') !== false) {
155 $parts['host'] = $host;
286 $host = $url_parsed['host'];
288 substr($host, -(strlen($host_tail))) != $host_tail &&
289 substr($host_tail, 1) != $host) {
/plugin/fedauth/Auth/OpenID/
H A DURINorm.php197 list($_whole, $userinfo, $host, $port) = $authority_matches;
203 if (strpos($host, '%') !== -1) {
204 $host = strtolower($host);
205 $host = preg_replace_callback(
207 'Auth_OpenID_pct_encoded_replace', $host);
211 $host = strtolower($host);
224 $authority = $userinfo . $host . $port;
H A DTrustRoot.php134 $host = strtolower($parts['host']);
135 $hostparts = explode('*', $host);
145 $host = $hostparts[1];
151 if (strpos($host, ':') !== false) {
155 $parts['host'] = $host;
286 $host = $url_parsed['host'];
288 substr($host, -(strlen($host_tail))) != $host_tail &&
289 substr($host_tail, 1) != $host) {
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/Connections/
H A DConnectionTest.php29 $host = [
36 $host,
49 $host = [
56 $host,
72 $host = [
78 $host,
/plugin/commonmark/vendor/league/commonmark/src/Extension/ExternalLink/
H A DExternalLinkProcessor.php50 $host = parse_url($link->getUrl(), PHP_URL_HOST);
51 if (empty($host)) {
56 if (self::hostMatches($host, $internalHosts)) {
110 * @param string $host
117 public static function hostMatches(string $host, $compareTo) argument
121 if (preg_match($c, $host)) {
124 } elseif ($c === $host) {
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/
H A DSMTP.php37 protected $host; variable in Tx\\Mailer\\SMTP
99 * @param string $host server
104 public function setServer($host, $port, $secure=null) argument
106 $this->host = $host;
109 if(!$this->ehlo) $this->ehlo = $host;
172 $this->logger && $this->logger->debug("Connecting to {$this->host} at {$this->port}");
173 $host = ($this->secure == 'ssl') ? 'ssl://' . $this->host : $this->host;
174 $this->smtp = @fsockopen($host, $this->port);
/plugin/directions/
H A Daction.php203 $host = $_SERVER['REMOTE_ADDR'];
229 //echo $ip_banned . "=" . $host;
230 if (strcmp($host, $ip_banned) == 0)
232 //echo "Banned: " . $host . "!!!";
244 //echo $users_banned . "=" . $host;
247 //echo "Banned: " . $host . "!!!";
270 …//$logline = "$host - $user $timestamp \"$method $page $protocol\" $status \"$referer\" \"$agent\"…
/plugin/authshibboleth/plugin/authshibboleth/
H A Daction.php75 protected function mkUrl($host, $path, $params = array(), $ssl = true) argument
77 …return sprintf("%s://%s%s%s", $ssl ? 'https' : 'http', $host, $path, $this->mkQueryString($params)…
85 $host = $urlParts['host'];
87 $host .= ':' . $urlParts['port'];
93 return $this->mkUrl($host, $urlParts['path'], $query, $ssl);
/plugin/icalevents/vendor/sabre/uri/tests/
H A DParseTest.php49 'host' => 'example.org',
75 'host' => 'ftp.example.org',
90 'host' => 'example.org',
102 'host' => null,
166 'host' => 'example.org',
/plugin/etherpadlite/externals/etherpad-lite-client/
H A Dexample_big.php21 $host = "http://beta.etherpad.org"; variable
74 $newlocation = "$host/p/$padID"; // redirect to the new padID location
142 echo "<h1><a href=$host/p/$padUrl>$padname</a></h1>";
146 echo "<h3><a href=$host/p/$padUrl>Edit Pad</a></h3>";
149 echo "<h3><a href=$host/ro/$readOnlyID>Read only view</a>";

1234567891011