Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 77) sorted by relevance

1234

/dokuwiki/vendor/splitbrain/php-archive/src/
DZip.php151 $header = $this->readCentralFileHeader();
152 $header['index'] = $i;
154 fseek($this->fh, $header['offset']); // seek to beginning of file header
155 $header = $this->readFileHeader($header);
156 $fileinfo = $this->header2fileinfo($header);
170 $directory = ($header['folder']) ? $output : dirname($output);
182 if ($header['compression'] == 0) {
195 if ($header['compression'] != 0) {
199 chr($header['compression']),
209 $size = $header['compressed_size'];
[all …]
DTar.php121 $header = $this->parseHeader($read);
122 if (!is_array($header)) {
126 $this->contentUntil = $this->position + $header['size'];
127 $this->skipUntil = $this->position + ceil($header['size'] / 512) * 512;
129 yield $this->header2fileinfo($header);
200 $header = $this->parseHeader($dat);
201 if (!is_array($header)) {
204 $fileinfo = $this->header2fileinfo($header);
211 $this->skipbytes(ceil($header['size'] / 512) * 512);
229 $size = floor($header['size'] / 512);
[all …]
/dokuwiki/inc/
Dhttputils.php32 header("Last-Modified: $last_modified");
33 header("ETag: $etag");
52 header('HTTP/1.0 304 Not Modified');
73 header("X-LIGHTTPD-send-file: $file");
77 header("X-Sendfile: $file");
83 header("X-Accel-Redirect: $file");
107 header('Accept-Ranges: bytes');
127 header('HTTP/1.1 416 Requested Range Not Satisfiable');
140 header("Content-Type: $mime", true);
142 header('HTTP/1.1 206 Partial Content');
[all …]
DJWT.php47 [$header, $payload, $signature] = sexplode('.', $token, 3, '');
50 … if (!hash_equals($signature, hash_hmac('sha256', "$header.$payload", self::getSecret(), true))) {
55 $header = json_decode(base64_decode($header), true, 512, JSON_THROW_ON_ERROR);
61 if (!$header || !$payload || !$signature) {
65 if ($header['alg'] !== 'HS256') {
68 if ($header['typ'] !== 'JWT') {
123 $header = [
127 $header = base64_encode(json_encode($header));
136 $signature = hash_hmac('sha256', "$header.$payload", self::getSecret(), true);
138 return "$header.$payload.$signature";
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(
DTaskRunner.php43 header('Content-Type: text/plain');
79 header('Content-Type: image/gif');
80 header('Content-Length: ' . strlen($img));
81 header('Connection: Close');
/dokuwiki/
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/lib/plugins/styling/
Dpopup.php7 header('Content-Type: text/html; charset=utf-8');
8 header('X-UA-Compatible: IE=edge,chrome=1');
/dokuwiki/inc/parser/
Dcode.php39 header("Content-Type: text/plain; charset=utf-8");
40 header("Content-Disposition: attachment; filename=$filename");
41 header("X-Robots-Tag: noindex");
/dokuwiki/inc/Action/
DSitemap.php53 header('Content-Type: ' . $mime);
54 header('Content-Disposition: attachment; filename=' . PhpString::basename($sitemap));
/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
DServer.php39 header('Content-Type: text/plain'); // merged from WP #9093
122 header('Connection: close');
123 header('Content-Length: ' . $length);
124 header('Content-Type: text/xml');
125 header('Date: ' . date('r'));
/dokuwiki/_test/core/
DTestResponse.php61 foreach($this->headers as $header) {
62 if(substr($header, 0, strlen($name) + 1) == $name . ':') {
63 $result[] = $header;
/dokuwiki/vendor/
Dautoload.php7 header('HTTP/1.1 500 Internal Server Error');
/dokuwiki/lib/exe/
Dajax.php20 header('Content-Type: text/html; charset=utf-8');
Djsonrpc.php10 header('Content-Type: application/json');
Dopensearch.php29 header('Content-Type: application/opensearchdescription+xml; charset=utf-8');
Dopenapi.php10 header('Content-Type: application/json');
Djquery.php12 header('Content-Type: application/javascript; charset=utf-8');
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
DHTMLCreator.php22 public $header; variable in HTMLCreator
107 if ($this->header) {
108 $feedArray[] = "<div class='".$this->stylePrefix."header'>".$this->header."</div>";
DFeedCreator.php214header("Content-Type: ".$this->contentType."; charset=".$this->encoding."; filename=".basename($fi…
216 header("Content-Disposition: attachment; filename=".basename($filename));
218 header("Content-Disposition: inline; filename=".basename($filename));
/dokuwiki/vendor/composer/
Dplatform_check.php13 header('HTTP/1.1 500 Internal Server Error');
/dokuwiki/inc/Subscriptions/
DSubscriptionSender.php80 foreach ($headers as $header => $value) {
81 $mail->setHeader($header, $value);
/dokuwiki/vendor/kissifrot/php-ixr/src/Message/
DMessage.php36 $header = preg_replace('/<\?xml.*?\?' . '>/s', '', substr($this->message, 0, 100), 1);
37 $this->message = trim(substr_replace($this->message, $header, 0, 100));
43 $header = preg_replace('/^<!DOCTYPE[^>]*+>/i', '', substr($this->message, 0, 200), 1);
44 $this->message = trim(substr_replace($this->message, $header, 0, 200));
/dokuwiki/inc/HTTP/
DHeaders.php37 header($cspheader);
/dokuwiki/_test/tests/inc/
Dmailer.test.php196 $header = $mail->prepareHeaders();
197 $this->assertEquals(0, preg_match('/(^|\n)Bcc: (\n|$)/', $header), 'Bcc found in headers.');
198 $this->assertEquals(0, preg_match('/(^|\n)Cc: (\n|$)/', $header), 'Cc found in headers.');
207 $header = $mail->prepareHeaders();
208 $this->assertEquals(0, preg_match('/(^|\n)Bcc: (\n|$)/', $header), 'Bcc found in headers.');
209 $this->assertEquals(0, preg_match('/(^|\n)Cc: (\n|$)/', $header), 'Cc found in headers.');
210 $this->assertEquals(0, preg_match('/(^|\n)To: (\n|$)/', $header), 'To found in headers.');

1234