Searched refs:header (Results 1 - 25 of 56) sorted by relevance

123

/PHP_TRUNK/ext/phar/
H A Dshortarc.php58 header("Cache-Control: no-cache, must-revalidate");
59 header("Pragma: no-cache");
70 header('HTTP/1.1 301 Moved Permanently');
71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt);
76 header('HTTP/1.0 404 Not Found');
82 header('Content-Type: text/plain');
83 header('Content-Length: ' . filesize($a));
96 header('Content-Type: ' .$mimes[$b['extension']]);
97 header('Content-Length: ' . filesize($a));
H A Dtar.c102 tar_header *header = (tar_header *) buf; local
103 php_uint32 checksum = phar_tar_number(header->checksum, sizeof(header->checksum));
105 char save[sizeof(header->checksum)];
112 memcpy(save, header->checksum, sizeof(header->checksum));
113 memset(header->checksum, ' ', sizeof(header->checksum));
115 memcpy(header->checksum, save, sizeof(header
680 tar_header header; local
[all...]
/PHP_TRUNK/ext/soap/interop/
H A Dechoheadersvc.wsdl.php2 header("Content-Type: text/xml");
210 <soap:header use="encoded" message="tns:echoHeaderString_Request" part="echoMeStringRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
211 <soap:header use="encoded" message="tns:echoHeaderStruct_Request" part="echoMeStructRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
215 <soap:header use="encoded" message="tns:echoHeaderString_Response" part="echoMeStringResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
216 <soap:header use="encoded" message="tns:echoHeaderStruct_Response" part="echoMeStructResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
223 <soap:header use="encoded" message="tns:echoHeaderString_Request" part="echoMeStringRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
224 <soap:header use="encoded" message="tns:echoHeaderStruct_Request" part="echoMeStructRequest" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
228 <soap:header use="encoded" message="tns:echoHeaderString_Response" part="echoMeStringResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
229 <soap:header use="encoded" message="tns:echoHeaderStruct_Response" part="echoMeStructResponse" namespace="http://soapinterop.org/echoheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
236 <soap:header us
[all...]
H A Dinterop.wsdl.php2 header("Content-Type: text/xml");
H A DinteropB.wsdl.php2 header("Content-Type: text/xml");
/PHP_TRUNK/ext/soap/tests/soap12/
H A Dsoap12-test.inc3 public $header;
104 $this->header = $x;
108 return $this->header;
/PHP_TRUNK/main/
H A Dalloca.c127 /* An "alloca header" is used to:
131 It is very important that sizeof(header) agree with malloc
140 char align[ALIGN_SIZE]; /* To force sizeof(header). */
146 } header; typedef in typeref:union:hdr
148 static header *last_alloca_header = NULL; /* -> last alloca header. */
173 register header *hp; /* Traverses linked list. */
183 register header *np = hp->h.next;
187 hp = np; /* -> next header. */
202 /* Allocate combined header
[all...]
H A Drfc1867.c378 /* Free header entry */
408 static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC)
423 /* add header to table */
431 /* space in the beginning means same header */
443 } else if (zend_llist_count(header)) { /* If no ':' on the line, add to previous line */
455 zend_llist_remove_tail(header);
460 zend_llist_add_element(header, &entry);
467 static char *php_mime_get_hdr_value(zend_llist header, char *key) argument
475 entry = zend_llist_get_first(&header);
480 entry = zend_llist_get_next(&header);
696 zend_llist header; local
[all...]
H A DSAPI.c124 efree(sapi_header->header);
128 call a header function */
359 default_header->header = get_default_content_type(sizeof("Content-type: ")-1, &len TSRMLS_CC);
361 memcpy(default_header->header, "Content-type: ", sizeof("Content-type: ") - 1);
365 * Add charset on content-type header if the MIME type starts with
600 sapi_header_struct *header; local
605 header = (sapi_header_struct *)(current->data);
607 if (header->header_len > len && header->header[le
[all...]
/PHP_TRUNK/sapi/milter/
H A Dmilter.php81 * once per message header
83 function milter_header($header, $value)
85 milter_log("milter_header('$header', '$value')");
112 /* add PHP header to the message */
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dis_tar.c95 const union record *header = (const union record *)(const void *)buf; local
103 recsum = from_oct(8, header->header.chksum);
106 p = header->charptr;
111 for (i = sizeof(header->header.chksum); --i >= 0;)
112 sum -= header->header.chksum[i];
113 sum += ' ' * sizeof header->header
[all...]
H A Dtar.h53 struct header { struct in union:record
68 } header; member in union:record
/PHP_TRUNK/ext/standard/tests/streams/
H A Dbug64433_srv.inc7 header("Location: index.php?redir=1");
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_pkware.c141 zip_uint8_t header[HEADERLEN];
146 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) {
157 decrypt(ctx, header, header, HEADERLEN, 0);
166 if (header[HEADERLEN-1] != st.crc>>24
167 && header[HEADERLEN-1] != dostime>>8) {
136 zip_uint8_t header[HEADERLEN]; local
/PHP_TRUNK/ext/curl/tests/responder/
H A Dget.php27 header('Content-Type: text/plain;charset=utf-8');
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitExecAllocator.c41 header contains the size of the previous and the next block. These sizes
133 struct block_header header; member in struct:free_block
152 free_block->header.size = 0;
177 struct block_header *header; local
195 header = AS_BLOCK_HEADER(free_block, chunk_size);
196 header->prev_size = chunk_size;
197 AS_BLOCK_HEADER(header, size)->prev_size = size;
201 header = (struct block_header*)free_block;
205 header->size = size;
207 return MEM_START(header);
248 struct block_header *header; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c38 if (FAIL == mysqlnd_read_header((conn)->net, &((packet)->header), (conn)->stats, ((conn)->error_info) TSRMLS_CC)) {\
42 DBG_ERR_FMT("Can't read %s's header", (packet_type_as_text)); \
45 if ((buf_size) < (packet)->header.size) { \
47 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \
50 if (FAIL == conn->net->data->m.receive_ex((conn)->net, (buf), (packet)->header.size, (conn)->stats, ((conn)->error_info) TSRMLS_CC)) { \
58 MYSQLND_HEADER_SIZE + (packet)->header.size, \
65 if ((size_t)(p - begin) > packet->header.size) { \
278 mysqlnd_read_header(MYSQLND_NET * net, MYSQLND_PACKET_HEADER * header, argument
289 header
1444 MYSQLND_PACKET_HEADER header; local
[all...]
H A Dmysqlnd_wireprotocol.h39 #define PACKET_WRITE(packet, conn) ((packet)->header.m->write_to_net((packet), (conn) TSRMLS_CC))
40 #define PACKET_READ(packet, conn) ((packet)->header.m->read_from_net((packet), (conn) TSRMLS_CC))
45 ((packet)->header.m->free_mem((packet), FALSE TSRMLS_CC)); \
69 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_greet
92 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_auth
111 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_auth_response
133 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_change_auth_response
141 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_ok
158 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_command
167 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_eof
181 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_rset_header
207 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_res_field
220 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_row
249 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_stats
258 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_prepare_response
273 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_chg_user_resp
291 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_sha256_pk_request
295 MYSQLND_PACKET_HEADER header; member in struct:st_mysqlnd_packet_sha256_pk_request_response
[all...]
/PHP_TRUNK/ext/standard/
H A Dinfo.h72 PHPAPI void php_info_print_table_colspan_header(int num_cols, char *header);
H A Dhead.h32 PHP_FUNCTION(header); variable
H A Dhttp_fopen_wrapper.c239 smart_str header = {0}; local
247 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1);
248 smart_str_appends(&header, resource->host);
249 smart_str_appendc(&header, ':');
250 smart_str_append_unsigned(&header, resource->port);
251 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1);
253 /* check if we have Proxy-Authorization header */
254 if (context && (tmpzval = php_stream_context_get_option(context, "http", "header")) != NULL) {
273 smart_str_appendl(&header, s, p - s);
274 smart_str_appendl(&header, "\
[all...]
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c65 /*send an HTTP header*/
67 char *header = sapi_header->header; local
72 bytes = webjames_writebuffer(WG(conn), header, len);
80 header += bytes;
295 NULL, /* header handler */
297 sapi_webjames_send_header, /* send header handler */
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c103 apr_table_unset(ctx->r->headers_out, sapi_header->header);
112 val = strchr(sapi_header->header, ':');
126 if (!strcasecmp(sapi_header->header, "content-type"))
128 else if (!strcasecmp(sapi_header->header, "content-length"))
131 apr_table_set(ctx->r->headers_out, sapi_header->header, val);
133 apr_table_add(ctx->r->headers_out, sapi_header->header, val);
306 * If-Modified-Since header.
346 php_apache_sapi_header_handler, /* header handler */
348 NULL, /* send header handler */
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c101 apr_table_unset(ctx->r->headers_out, sapi_header->header);
110 val = strchr(sapi_header->header, ':');
123 if (!strcasecmp(sapi_header->header, "content-type")) {
128 } else if (!strcasecmp(sapi_header->header, "content-length")) {
139 apr_table_set(ctx->r->headers_out, sapi_header->header, val);
141 apr_table_add(ctx->r->headers_out, sapi_header->header, val);
370 php_apache_sapi_header_handler, /* header handler */
372 NULL, /* send header handler */
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c292 case 'o': /* header output */
294 zlog(ZLOG_WARNING, "the name of the header must be set between embraces for %%%c", *s);
305 char *header; local
310 if (!strstr(h->header, format)) {
315 /* test if enought char after the header name + ': ' */
321 if (h->header[format_len] != ':' || h->header[format_len + 1] != ' ') {
326 header = h->header + format_len + 2;
327 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", header
[all...]

Completed in 41 milliseconds

123