Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 68) sorted by path

123

/dokuwiki/
H A Ddoku.php115 header('HTTP/1.0 404 Not Found');
H A Dfeed.php53 header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
54 header('Pragma: public');
55 header('Content-Type: ' . $options->getMimeType());
56 header('X-Robots-Tag: noindex');
59 if ($conf['allowdebug']) header("X-CacheUsed: $cache->cache");
/dokuwiki/inc/Action/
H A DExport.php106 header("$key: $val");
H A DPreview.php22 header('X-XSS-Protection: 0');
H A DSitemap.php53 header('Content-Type: ' . $mime);
54 header('Content-Disposition: attachment; filename=' . PhpString::basename($sitemap));
59 //use x-sendfile header to pass the delivery to compatible webservers
/dokuwiki/inc/
H A DAjax.php120 header('Content-Type: application/x-suggestions+json');
314 header('Content-Type: application/json');
H A DDifferenceEngine.php840 * @param string $header
842 function _start_block($header) { argument
843 echo $header;
1156 function _start_block($header) { argument
1157 print($header);
1273 function _start_block($header) { argument
1274 print($header."\n");
H A DJpegMeta.php935 header("Content-type: image/jpeg");
2455 $header = '';
2457 $header .= $data[$pos + $i];
2503 $this->_info['adobe']['raw'][$label]['header'] = $header;
2573 $this->_info['adobe']['raw']['8BIM_0x0404']['header'] = "Caption";
2587 $value['header'],
2602 * @param string $header
2607 function _write8BIM(&$data, $pos, $type, $header, &$value) {
2613 $len = strlen($header);
2604 _write8BIM(& $data, $pos, $type, $header, & $value) global() argument
[all...]
H A DMailer.class.php143 * Add an arbitrary header to the mail argument
145 * If an empy value is passed, the header is removed
147 * @param string $header the header name (no trailing colon!)
148 * @param string|string[] $value the value of the header
151 public function setHeader($header, $value, $clean = true)
153 $header = str_replace(' ', '-', ucwords(strtolower(str_replace('-', ' ', $header)))); // streamline casing
155 $header = preg_replace('/[^a-zA-Z0-9_ \-\.\+\@]+/', '', $header);
[all...]
H A DManifest.php80 header('Content-Type: application/manifest+json');
H A DTaskRunner.php43 header('Content-Type: text/plain');
79 header('Content-Type: image/gif');
80 header('Content-Length: ' . strlen($img));
81 header('Connection: Close');
H A Dactions.php36 * Send the given headers using header()
42 foreach ($headers as $hdr) header($hdr);
H A Dauth.php77 // Populate Basic Auth user/password from Authorization header
79 $header = $INPUT->server->str('HTTP_AUTHORIZATION') ?: $INPUT->server->str('REDIRECT_HTTP_AUTHORIZATION');
80 if (preg_match('~^Basic ([a-z\d/+]*={0,2})$~i', $header, $matches)) {
188 // see if header has token
189 $header = '';
193 if (isset($headers['authorization'])) $header = $headers['authorization'];
195 $header = $INPUT->server->str('HTTP_AUTHORIZATION');
197 if (!$header) return false;
198 [$type, $token] = sexplode(' ', $header, 2);
H A Dcommon.php1869 header('Refresh: 0;url=' . $url);
1871 header('Location: ' . $url);
2030 $content = preg_replace('/<\?xml .*?\?>/i', '', $content); // xml header
H A Dfetch.functions.php36 header("Content-Type: $mime");
57 header('Expires: ' . gmdate("D, d M Y H:i:s", $expires) . ' GMT');
58 header('Cache-Control: public, proxy-revalidate, no-transform, max-age=' . $maxage);
61 header('Expires: ' . gmdate("D, d M Y H:i:s", $expires) . ' GMT');
62 header('Cache-Control: private, no-transform, max-age=' . $maxage);
66 header('Expires: Thu, 01 Jan 1970 00:00:00 GMT');
67 header('Cache-Control: no-cache, no-transform');
81 header('Content-Disposition: attachment;' . rfc2231_encode(
86 header('Content-Disposition: inline;' . rfc2231_encode(
92 //use x-sendfile header t
[all...]
H A Dhttputils.php18 * @returns void or exits with previously header() commands executed
32 header("Last-Modified: $last_modified");
33 header("ETag: $etag");
52 header('HTTP/1.0 304 Not Modified');
63 * @returns void or exits with previous header() commands executed
71 //use x-sendfile header to pass the delivery to compatible web servers
73 header("X-LIGHTTPD-send-file: $file");
77 header("X-Sendfile: $file");
83 header("X-Accel-Redirect: $file");
107 header('Accep
[all...]
H A Dinit.php53 header('Vary: Cookie');
/dokuwiki/inc/HTTP/
H A DHeaders.php37 header($cspheader);
/dokuwiki/inc/Remote/
H A DXmlRpcServer.php36 header('Access-Control-Allow-Origin: ' . $conf['remotecors']);
/dokuwiki/inc/Subscriptions/
H A DSubscriptionSender.php80 foreach ($headers as $header => $value) {
81 $mail->setHeader($header, $value);
/dokuwiki/inc/parser/
H A Dcode.php39 header("Content-Type: text/plain; charset=utf-8");
40 header("Content-Disposition: attachment; filename=$filename");
41 header("X-Robots-Tag: noindex");
H A Dhandler.php327 public function header($match, $state, $pos)
338 $this->addCall('header', [$title, $level, $pos], $pos);
314 public function header($match, $state, $pos) { global() function in Doku_Handler
H A Dmetadata.php162 * @param int $level header level
165 public function header($text, $level, $pos)
171 // add the header to the TOC
160 public function header($text, $level, $pos) global() function in Doku_Renderer_metadata
H A Drenderer.php197 * @param int $level header level
200 public function header($text, $level, $pos)
207 * @param int $level section level (as determined by the previous header)
768 * Open a table header
775 * Close a table header
824 * Open a table header cell
835 * Close a table header cell
187 public function header($text, $level, $pos) { global() function in Doku_Renderer
H A Dxhtml.php57 * Key 'hid': header id
215 * @param int $level header level
220 public function header($text, $level, $pos, $returnonly = false)
248 // build the header
249 $header = DOKU_LF . '<h' . $level;
256 $header .= ' class="' . $this->startSectionEdit($pos, $data) . '"';
258 $header .= ' id="' . $hid . '">';
259 $header .= $this->_xmlEntities($text);
260 $header .= "</h$level>" . DOKU_LF;
263 return $header;
213 public function header($text, $level, $pos, $returnonly = false) { global() function in Doku_Renderer_xhtml
[all...]

123