lpECB 159 sapi/isapi/php5isapi.c LPEXTENSION_CONTROL_BLOCK lpECB; lpECB 161 sapi/isapi/php5isapi.c lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context); lpECB 170 sapi/isapi/php5isapi.c if (lpECB->GetServerVariable(lpECB->ConnID, *p, variable_buf, &variable_len) lpECB 177 sapi/isapi/php5isapi.c if (lpECB->GetServerVariable(lpECB->ConnID, *p, tmp_variable_buf, &variable_len) lpECB 246 sapi/isapi/php5isapi.c LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context); lpECB 304 sapi/isapi/php5isapi.c lpECB->dwHttpStatusCode = SG(sapi_headers).http_response_code; lpECB 306 sapi/isapi/php5isapi.c lpECB->ServerSupportFunction(lpECB->ConnID, HSE_REQ_SEND_RESPONSE_HEADER_EX, &header_info, NULL, NULL); lpECB 329 sapi/isapi/php5isapi.c LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context); lpECB 334 sapi/isapi/php5isapi.c if ((DWORD) SG(read_post_bytes) < lpECB->cbAvailable) { lpECB 335 sapi/isapi/php5isapi.c read_from_buf = MIN(lpECB->cbAvailable-SG(read_post_bytes), count_bytes); lpECB 336 sapi/isapi/php5isapi.c memcpy(buffer, lpECB->lpbData+SG(read_post_bytes), read_from_buf); lpECB 340 sapi/isapi/php5isapi.c && (SG(read_post_bytes)+read_from_buf) < lpECB->cbTotalBytes) { lpECB 343 sapi/isapi/php5isapi.c read_from_input = MIN(count_bytes-read_from_buf, lpECB->cbTotalBytes-SG(read_post_bytes)-read_from_buf); lpECB 346 sapi/isapi/php5isapi.c if (!lpECB->ReadClient(lpECB->ConnID, buffer+read_from_buf+cbRead, &cbSize) || cbSize==0) { lpECB 359 sapi/isapi/php5isapi.c LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context); lpECB 363 sapi/isapi/php5isapi.c if (lpECB->GetServerVariable(lpECB->ConnID, "HTTP_COOKIE", variable_buf, &variable_len)) { lpECB 368 sapi/isapi/php5isapi.c if (lpECB->GetServerVariable(lpECB->ConnID, "HTTP_COOKIE", tmp_variable_buf, &variable_len)) { lpECB 381 sapi/isapi/php5isapi.c static void sapi_isapi_register_zeus_ssl_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array TSRMLS_DC) lpECB 391 sapi/isapi/php5isapi.c if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_C", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { lpECB 396 sapi/isapi/php5isapi.c if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_ST", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { lpECB 403 sapi/isapi/php5isapi.c if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_I_C", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { lpECB 408 sapi/isapi/php5isapi.c if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_I_ST", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { lpECB 414 sapi/isapi/php5isapi.c static void sapi_isapi_register_zeus_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array TSRMLS_DC) lpECB 425 sapi/isapi/php5isapi.c lpECB->GetServerVariable(lpECB->ConnID, "SCRIPT_NAME", static_variable_buf, &scriptname_len); lpECB 430 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "PATH_INFO", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 439 sapi/isapi/php5isapi.c if ( strlen(lpECB->lpszQueryString) + variable_len + 1 < ISAPI_SERVER_VAR_BUF_SIZE ) { lpECB 441 sapi/isapi/php5isapi.c if ( strlen(lpECB->lpszQueryString) ) { lpECB 443 sapi/isapi/php5isapi.c strcpy( static_variable_buf + variable_len, lpECB->lpszQueryString ); lpECB 452 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "PATH_TRANSLATED", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 459 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "AUTH_USER", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 463 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "AUTH_PASSWORD", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 467 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "AUTH_TYPE", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 473 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "CERT_COOKIE", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 474 sapi/isapi/php5isapi.c sapi_isapi_register_zeus_ssl_variables( lpECB, track_vars_array TSRMLS_CC ); lpECB 478 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "SERVER_SOFTWARE", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 484 sapi/isapi/php5isapi.c static void sapi_isapi_register_iis_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array TSRMLS_DC) lpECB 496 sapi/isapi/php5isapi.c lpECB->GetServerVariable(lpECB->ConnID, "SCRIPT_NAME", static_variable_buf, &scriptname_len); lpECB 503 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "PATH_INFO", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 511 sapi/isapi/php5isapi.c if ( strlen(lpECB->lpszQueryString) + variable_len + 1 < ISAPI_SERVER_VAR_BUF_SIZE ) { lpECB 513 sapi/isapi/php5isapi.c if ( strlen(lpECB->lpszQueryString) ) { lpECB 515 sapi/isapi/php5isapi.c strcpy( static_variable_buf + variable_len, lpECB->lpszQueryString ); lpECB 521 sapi/isapi/php5isapi.c if ( lpECB->GetServerVariable(lpECB->ConnID, "PATH_TRANSLATED", static_variable_buf, &variable_len) && static_variable_buf[0] ) { lpECB 524 sapi/isapi/php5isapi.c if (lpECB->ServerSupportFunction(lpECB->ConnID, HSE_REQ_MAP_URL_TO_PATH_EX, path_info_buf, &pathinfo_len, (LPDWORD) &humi)) { lpECB 536 sapi/isapi/php5isapi.c if (lpECB->ServerSupportFunction(lpECB->ConnID, HSE_REQ_MAP_URL_TO_PATH_EX, static_variable_buf, &variable_len, (LPDWORD) &humi)) { lpECB 547 sapi/isapi/php5isapi.c if (lpECB->GetServerVariable(lpECB->ConnID, "HTTP_AUTHORIZATION", static_variable_buf, &variable_len) lpECB 562 sapi/isapi/php5isapi.c static void sapi_isapi_register_server_variables2(char **server_variables, LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array, char **recorded_values TSRMLS_DC) lpECB 571 sapi/isapi/php5isapi.c if (lpECB->GetServerVariable(lpECB->ConnID, *p, static_variable_buf, &variable_len) lpECB 579 sapi/isapi/php5isapi.c if (lpECB->GetServerVariable(lpECB->ConnID, *p, variable_buf, &variable_len) lpECB 602 sapi/isapi/php5isapi.c LPEXTENSION_CONTROL_BLOCK lpECB; lpECB 604 sapi/isapi/php5isapi.c lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context); lpECB 608 sapi/isapi/php5isapi.c sapi_isapi_register_server_variables2(isapi_special_server_variable_names, lpECB, track_vars_array, isapi_special_server_variables TSRMLS_CC); lpECB 614 sapi/isapi/php5isapi.c sapi_isapi_register_server_variables2(isapi_server_variable_names, lpECB, track_vars_array, NULL TSRMLS_CC); lpECB 621 sapi/isapi/php5isapi.c sapi_isapi_register_server_variables2(isapi_secure_server_variable_names, lpECB, track_vars_array, NULL TSRMLS_CC); lpECB 630 sapi/isapi/php5isapi.c sapi_isapi_register_zeus_variables(lpECB, track_vars_array TSRMLS_CC); lpECB 632 sapi/isapi/php5isapi.c sapi_isapi_register_iis_variables(lpECB, track_vars_array TSRMLS_CC); lpECB 735 sapi/isapi/php5isapi.c static void init_request_info(LPEXTENSION_CONTROL_BLOCK lpECB TSRMLS_DC) lpECB 743 sapi/isapi/php5isapi.c SG(request_info).request_method = lpECB->lpszMethod; lpECB 744 sapi/isapi/php5isapi.c SG(request_info).query_string = lpECB->lpszQueryString; lpECB 745 sapi/isapi/php5isapi.c SG(request_info).request_uri = lpECB->lpszPathInfo; lpECB 746 sapi/isapi/php5isapi.c SG(request_info).content_type = lpECB->lpszContentType; lpECB 747 sapi/isapi/php5isapi.c SG(request_info).content_length = lpECB->cbTotalBytes; lpECB 757 sapi/isapi/php5isapi.c if(lpECB->GetServerVariable(lpECB->ConnID, "SCRIPT_FILENAME", static_variable_buf, &variable_len)) { lpECB 764 sapi/isapi/php5isapi.c lpECB->GetServerVariable(lpECB->ConnID, "SCRIPT_NAME", static_variable_buf, &variable_len); lpECB 765 sapi/isapi/php5isapi.c if (lpECB->ServerSupportFunction(lpECB->ConnID, HSE_REQ_MAP_URL_TO_PATH_EX, static_variable_buf, &variable_len, (LPDWORD) &humi)) { lpECB 770 sapi/isapi/php5isapi.c SG(request_info).path_translated = estrdup(lpECB->lpszPathTranslated); lpECB 786 sapi/isapi/php5isapi.c LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context); lpECB 793 sapi/isapi/php5isapi.c lpECB->dwHttpStatusCode = 500; lpECB 794 sapi/isapi/php5isapi.c lpECB->ServerSupportFunction(lpECB->ConnID, HSE_REQ_SEND_RESPONSE_HEADER_EX, &header_info, NULL, NULL); lpECB 833 sapi/isapi/php5isapi.c DWORD WINAPI HttpExtensionProc(LPEXTENSION_CONTROL_BLOCK lpECB) lpECB 847 sapi/isapi/php5isapi.c init_request_info(lpECB TSRMLS_CC); lpECB 848 sapi/isapi/php5isapi.c SG(server_context) = lpECB;