Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 45) sorted by relevance

12

/dokuwiki/lib/exe/
H A Dxmlrpc.php15 $server = new XmlRpcServer(); variable
/dokuwiki/inc/
H A Dfarm.php64 …$server = explode('.', implode('.', array_reverse(explode(':', rtrim($_SERVER['HTTP_HOST'], '.')))…
66 for ($j = count($server); $j > 0; $j--) {
67 $dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i));
H A Dcommon.php95 $user = $INPUT->server->str('REMOTE_USER');
156 if($INPUT->server->has('REMOTE_USER')) {
751 if($INPUT->server->str('REMOTE_USER')) {
785 $ip[] = $INPUT->server->str('REMOTE_ADDR');
786 if($INPUT->server->str('HTTP_X_FORWARDED_FOR')) {
789 if($INPUT->server->str('HTTP_X_REAL_IP')) {
971 if($INPUT->server->str('REMOTE_USER')) {
1180 $INPUT->server->str('REMOTE_USER'),
1516 if(!$INPUT->server->has('HTTP_REFERER')) {
1519 $url = parse_url($INPUT->server->str('HTTP_REFERER'));
[all …]
H A Dauth.php143 if (!$INPUT->server->has('REMOTE_USER')) continue;
228 $INPUT->server->set('REMOTE_USER', $user);
259 $INPUT->server->set('REMOTE_USER', $user);
292 $uid .= $INPUT->server->str('HTTP_USER_AGENT');
293 $uid .= $INPUT->server->str('HTTP_ACCEPT_CHARSET');
429 $INPUT->server->remove('REMOTE_USER');
466 if(!$INPUT->server->has('REMOTE_USER')) {
469 $user = $INPUT->server->str('REMOTE_USER');
474 if ($USERINFO && $user === $INPUT->server->str('REMOTE_USER')) {
1006 auth_setCookie($INPUT->server->str('REMOTE_USER'), $pass, (bool) $sticky);
[all …]
H A DMailer.class.php47 $server = parse_url(DOKU_URL, PHP_URL_HOST);
48 if(strpos($server,'.') === false) $server .= '.localhost';
50 $this->partid = substr(md5(uniqid(mt_rand(), true)),0, 8).'@'.$server;
53 $listid = implode('.', array_reverse(explode('/', DOKU_BASE))).$server;
63 $this->setHeader('X-DokuWiki-User', $INPUT->server->str('REMOTE_USER'));
65 $this->setHeader('X-DokuWiki-Server', $server);
644 'BROWSER' => $INPUT->server->str('HTTP_USER_AGENT'),
649 'USER' => $INPUT->server->str('REMOTE_USER'),
662 'BROWSER' => hsc($INPUT->server->str('HTTP_USER_AGENT')),
667 'USER' => hsc($INPUT->server->str('REMOTE_USER')),
H A Dpageutils.php38 $request = $INPUT->server->str('REQUEST_URI');
48 \dokuwiki\Utf8\PhpString::basename($INPUT->server->str('SCRIPT_FILENAME'));
50 }elseif($INPUT->server->str('PATH_INFO')){
51 $request = $INPUT->server->str('PATH_INFO');
52 }elseif($INPUT->server->str('SCRIPT_NAME')){
53 $script = $INPUT->server->str('SCRIPT_NAME');
54 }elseif($INPUT->server->str('DOCUMENT_ROOT') && $INPUT->server->str('SCRIPT_FILENAME')){
55 … $script = preg_replace ('/^'.preg_quote($INPUT->server->str('DOCUMENT_ROOT'),'/').'/','',
56 $INPUT->server->str('SCRIPT_FILENAME'));
H A DIXR_Library.php685 * @param string $server
690 function __construct($server, $path = false, $port = 80, $timeout = 15) { argument
694 $this->posturl = $server;
943 'Returns a struct describing the XML-RPC specifications supported by this server'
949 'Returns an array of available methods on this server'
1105 * @param string $server
1109 function __construct($server, $path = false, $port = 80) { argument
1110 parent::__construct($server, $path, $port);
/dokuwiki/inc/Action/
H A DAbstractUserAction.php20 if($INPUT->server->str('REMOTE_USER') === '') {
H A DDenied.php27 if (empty($INPUT->server->str('REMOTE_USER')) && actionOK('login')) {
H A DLogin.php28 if ($INPUT->server->has('REMOTE_USER')) {
H A DSubscribe.php87 $ok = $subManager->remove($target, $INPUT->server->str('REMOTE_USER'), $style);
89 $ok = $subManager->add($target, $INPUT->server->str('REMOTE_USER'), $style);
163 $INPUT->server->str('REMOTE_USER'),
H A DLogout.php38 if($lockedby == $INPUT->server->str('REMOTE_USER')) {
/dokuwiki/inc/Menu/Item/
H A DRegister.php17 if($INPUT->server->str('REMOTE_USER')) {
H A DResendpwd.php17 if($INPUT->server->str('REMOTE_USER')) {
H A DSubscribe.php17 if(!$INPUT->server->str('REMOTE_USER')) {
H A DProfile.php17 if(!$INPUT->server->str('REMOTE_USER')) {
H A DRevert.php21 if (!$REV || !$INFO['writable'] || $INPUT->server->str('REMOTE_USER') === '') {
H A DLogin.php19 if($INPUT->server->has('REMOTE_USER')) {
/dokuwiki/lib/plugins/authldap/
H A Dplugin.info.txt6 desc Provides user authentication against an LDAP server
/dokuwiki/inc/Subscriptions/
H A DSubscriptionSender.php31 $server = parse_url(DOKU_URL, PHP_URL_HOST);
32 $listid = join('.', array_reverse(explode('/', DOKU_BASE))) . $server;
H A DBulkSubscriptionSender.php45 $olduser = $INPUT->server->str('REMOTE_USER');
64 $INPUT->server->set('REMOTE_USER', $user);
89 ($INPUT->server->str('REMOTE_USER') === $rev['user'] ||
128 $INPUT->server->set('REMOTE_USER', $olduser);
/dokuwiki/inc/Action/Exception/
H A DActionException.php37 if(strtolower($INPUT->server->str('REQUEST_METHOD')) == 'post') {
/dokuwiki/inc/parser/
H A Dcode.php28 if(strpos($INPUT->server->str('HTTP_USER_AGENT'), 'Windows') !== false) {
/dokuwiki/inc/HTTP/
H A DHTTPClient.php183 $server = $uri['host'];
193 $server = $this->proxy_host;
209 $server = 'ssl://'.$server;
251 $connectionId = $this->uniqueConnectionId($server,$port);
261 $socket = @fsockopen($server,$port,$errno, $errstr, $this->timeout);
264 $this->error = "Could not connect to $server:$port\n$errstr ($errno)";
873 * @param string $server
877 protected function uniqueConnectionId($server, $port) { argument
878 return "$server:$port";
/dokuwiki/inc/Menu/
H A DMobileMenu.php65 if($INPUT->server->str('REMOTE_USER')) {

12