| /PHP_5_3/ext/standard/tests/file/ |
| H A D | file.inc | 192 string $content_type = "numeric", 212 $content_type = Specify type of the content to fill in the file. 235 $content_type = "numeric", 279 if ( $content_type == "empty" ) { 293 if( fill_file($file_handle, $content_type, $file_size) )
|
| /PHP_5_3/ext/iconv/ |
| H A D | iconv.c | 2342 char *out_buffer, *content_type, *mimetype = NULL, *s; local 2373 len = spprintf(&content_type, 0, "Content-Type:%s; charset=%.*s", mimetype, (int)(p - ICONVG(output_encoding)), ICONVG(output_encoding)); 2375 len = spprintf(&content_type, 0, "Content-Type:%s; charset=%s", mimetype, ICONVG(output_encoding)); 2377 if (content_type && sapi_add_header(content_type, len, 0) != FAILURE) {
|
| /PHP_5_3/ext/soap/ |
| H A D | php_http.c | 285 char *http_headers, *http_body, *content_type, *http_version, *cookie_itt; local 1143 content_type = get_http_header_value(http_headers,"Content-Type: "); 1144 if (content_type) { 1147 pos = strstr(content_type,";"); 1149 cmplen = pos - content_type; 1151 cmplen = strlen(content_type); 1153 if (strncmp(content_type, "text/xml", cmplen) == 0 || 1154 strncmp(content_type, "application/soap+xml", cmplen) == 0) { 1162 efree(content_type); 1169 efree(content_type); [all...] |
| /PHP_5_3/main/ |
| H A D | SAPI.c | 137 uint content_type_length = strlen(SG(request_info).content_type); 138 char *content_type = estrndup(SG(request_info).content_type, content_type_length); local 148 for (p=content_type; p<content_type+content_type_length; p++) { 153 content_type_length = p-content_type; 164 if (zend_hash_find(&SG(known_post_content_types), content_type, 175 sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type); 183 SG(request_info).content_type_dup = content_type; 232 char *mimetype, *charset, *content_type; local [all...] |
| H A D | SAPI.h | 90 const char *content_type; member in struct:__anon245 273 char *content_type; member in struct:_sapi_post_entry
|
| /PHP_5_3/sapi/aolserver/ |
| H A D | aolserver.c | 457 SG(request_info).content_type = index == -1 ? NULL :
|
| /PHP_5_3/sapi/apache/ |
| H A D | mod_php5.c | 198 r->content_type = pstrdup(r->pool, header_content); 535 SG(request_info).content_type = (char *) table_get(r->subprocess_env, "CONTENT_TYPE"); 636 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); 672 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC);
|
| H A D | php_apache.c | 488 if (rr->content_type) { 489 add_property_string(return_value,"content_type", (char *)rr->content_type, 1);
|
| /PHP_5_3/sapi/apache2filter/ |
| H A D | php_functions.c | 127 ADD_STRING(content_type);
|
| H A D | sapi_apache2.c | 129 ctx->r->content_type = apr_pstrdup(ctx->r->pool, val); 400 char *content_type; local 406 SG(request_info).content_type = apr_table_get(f->r->headers_in, "Content-Type"); 415 content_type = sapi_get_default_content_type(TSRMLS_C); 416 f->r->content_type = apr_pstrdup(f->r->pool, content_type); 420 efree(content_type); 670 if (r->content_type && !strncmp(r->content_type, "application/x-httpd-php", content_type_len-1)) { 671 if (r->content_type[content_type_le [all...] |
| /PHP_5_3/sapi/apache2handler/ |
| H A D | php_apache.h | 48 char *content_type; member in struct:php_struct
|
| H A D | php_functions.c | 147 ADD_STRING(content_type);
|
| H A D | sapi_apache2.c | 124 if (ctx->content_type) { 125 efree(ctx->content_type); 127 ctx->content_type = estrdup(val); 173 if (!ctx->content_type) { 174 ctx->content_type = sapi_get_default_content_type(TSRMLS_C); 176 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); 177 efree(ctx->content_type); 178 ctx->content_type = NULL; 478 SG(request_info).content_type = apr_table_get(r->headers_in, "Content-Type");
|
| /PHP_5_3/sapi/apache_hooks/ |
| H A D | mod_php5.c | 343 r->content_type = pstrdup(r->pool, header_content); 589 SG(request_info).content_type = (char *) table_get(r->subprocess_env, "CONTENT_TYPE"); 684 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); 721 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC);
|
| H A D | php_apache.c | 342 /* {{{ proto string ApacheRequest::content_type([string new_type]) 346 apache_request_string_slot(offsetof(request_rec, content_type), INTERNAL_FUNCTION_PARAM_PASSTHRU); 974 r->content_type = pstrdup(r->pool, type); 1298 PHP_FALIAS(content_type, apache_request_content_type, NULL) 1862 if (rr->content_type) { 1863 add_property_string(return_value,"content_type", (char *)rr->content_type, 1);
|
| /PHP_5_3/sapi/cgi/ |
| H A D | cgi_main.c | 1098 SG(request_info).content_type = NULL; 1109 char *content_type = sapi_cgibin_getenv("CONTENT_TYPE", sizeof("CONTENT_TYPE")-1 TSRMLS_CC); local 1361 SG(request_info).content_type = (content_type ? content_type : "" );
|
| /PHP_5_3/sapi/continuity/ |
| H A D | capi.c | 419 char *content_type = lstFset_get(NSG(t->req_hdrs), "content-type"); local 426 SG(request_info).content_type = capi_strdup(content_type); 437 capi_free(SG(request_info).content_type);
|
| /PHP_5_3/sapi/nsapi/ |
| H A D | nsapi.c | 975 char *content_type = pblock_findval("content-type", rq->headers); local 1032 SG(request_info).content_type = content_type;
|
| /PHP_5_3/sapi/phttpd/ |
| H A D | phttpd.c | 220 SG(request_info).content_type = index == -1 ? NULL :
|
| /PHP_5_3/sapi/pi3web/ |
| H A D | pi3web_sapi.c | 273 SG(request_info).content_type = lpCB->lpszContentType;
|
| /PHP_5_3/sapi/roxen/ |
| H A D | roxen.c | 648 SG(request_info).content_type = lookup_string_header("HTTP_CONTENT_TYPE", NULL);
|
| /PHP_5_3/sapi/thttpd/ |
| H A D | thttpd.c | 459 SG(request_info).content_type = strdup(TG(hc)->contenttype); 475 if (SG(request_info).content_type) 476 free(SG(request_info).content_type);
|
| /PHP_5_3/sapi/tux/ |
| H A D | php_tux.c | 240 CONDADD(CONTENT_TYPE, content_type); 343 SG(request_info).content_type = TG(req)->content_type;
|
| /PHP_5_3/sapi/webjames/ |
| H A D | webjames.c | 186 SG(request_info).content_type = WG(conn)->type;
|
| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_main.c | 1074 SG(request_info).content_type = NULL; 1085 char *content_type = sapi_cgibin_getenv("CONTENT_TYPE", sizeof("CONTENT_TYPE") - 1 TSRMLS_CC); local 1375 SG(request_info).content_type = (content_type ? content_type : "" );
|