Home
last modified time | relevance | path

Searched refs:query_string (Results 1 – 22 of 22) sorted by relevance

/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_status.c529 char *query_string; in fpm_status_handle_request() local
554 query_string = NULL; in fpm_status_handle_request()
556 if (proc->query_string[0] != '\0') { in fpm_status_handle_request()
559 (const unsigned char *) proc->query_string, in fpm_status_handle_request()
564 strlen(proc->query_string), PHP_JSON_INVALID_UTF8_IGNORE); in fpm_status_handle_request()
566 query_string = proc->query_string; in fpm_status_handle_request()
569 query_string = ZSTR_VAL(tmp_query_string); in fpm_status_handle_request()
572 query_string[ZSTR_LEN(tmp_query_string) - 1] = '\0'; in fpm_status_handle_request()
573 ++query_string; in fpm_status_handle_request()
600 query_string ? "?" : "", in fpm_status_handle_request()
[all …]
H A Dfpm_request.c95 proc->query_string[0] = '\0'; in fpm_request_reading_headers()
110 char *query_string = fpm_php_query_string(); in fpm_request_info() local
134 if (query_string) { in fpm_request_info()
135 strlcpy(proc->query_string, query_string, sizeof(proc->query_string)); in fpm_request_info()
263 (proc.query_string[0] ? "?" : ""), proc.query_string, in fpm_request_check_timed_out()
274 (proc.query_string[0] ? "?" : ""), proc.query_string, in fpm_request_check_timed_out()
H A Dfpm_scoreboard.h36 char query_string[512]; member
H A Dfpm_log.c355 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.query_string); in fpm_log_write()
361 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.query_string ? "?" : ""); in fpm_log_write()
H A Dfpm_php.c194 return SG(request_info).query_string; in fpm_php_query_string()
H A Dfpm_main.c970 SG(request_info).query_string = NULL; in init_request_info()
1328 SG(request_info).query_string = FCGI_GETENV(request, "QUERY_STRING"); in init_request_info()
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c1178 SG(request_info).query_string = NULL;
1444 SG(request_info).query_string = CGI_GETENV("QUERY_STRING");
1750 char *query_string; local
1808 if((query_string = getenv("QUERY_STRING")) != NULL && strchr(query_string, '=') == NULL) {
1813 char *decoded_query_string = strdup(query_string);
2459 SG(request_info).query_string = s;
2509 free(SG(request_info).query_string);
2510 SG(request_info).query_string = NULL;
2577 if (free_query_string && SG(request_info).query_string) {
2578 free(SG(request_info).query_string);
[all …]
/PHP-8.1/sapi/cli/
H A Dphp_http_parser.c730 MARK(query_string); in php_http_parser_execute()
773 CALLBACK(query_string); in php_http_parser_execute()
778 CALLBACK(query_string); in php_http_parser_execute()
785 CALLBACK(query_string); in php_http_parser_execute()
791 CALLBACK(query_string); in php_http_parser_execute()
1507 CALLBACK_NOCLEAR(query_string); in php_http_parser_execute()
H A Dphp_cli_server.c130 char *query_string; member
713 if (client->request.query_string) { in sapi_cli_server_register_variables()
1355 req->query_string = NULL; in php_cli_server_request_ctor()
1382 if (req->query_string) { in php_cli_server_request_dtor()
1383 pefree(req->query_string, 1); in php_cli_server_request_dtor()
1602 if (EXPECTED(client->request.query_string == NULL)) { in php_cli_server_client_read_request_on_query_string()
1603 client->request.query_string = pestrndup(at, length, 1); in php_cli_server_client_read_request_on_query_string()
1607 …client->request.query_string = perealloc(client->request.query_string, client->request.query_strin… in php_cli_server_client_read_request_on_query_string()
1608 memcpy(client->request.query_string + client->request.query_string_len, at, length); in php_cli_server_client_read_request_on_query_string()
1610 client->request.query_string[client->request.query_string_len] = '\0'; in php_cli_server_client_read_request_on_query_string()
[all …]
/PHP-8.1/ext/pdo/
H A Dpdo_dbh.c457 zval query_string; in pdo_stmt_construct() local
460 ZVAL_STR(&query_string, stmt->query_string); in pdo_stmt_construct()
462 zend_std_write_property(Z_OBJ_P(object), key, &query_string, NULL); in pdo_stmt_construct()
563 stmt->query_string = zend_string_copy(statement); in PHP_METHOD()
1118 stmt->query_string = zend_string_copy(statement); in PHP_METHOD()
1119 stmt->active_query_string = zend_string_copy(stmt->query_string); in PHP_METHOD()
H A Dpdo_stmt.c449 ret = pdo_parse_params(stmt, stmt->query_string, &stmt->active_query_string); in PHP_METHOD()
453 stmt->active_query_string = zend_string_copy(stmt->query_string); in PHP_METHOD()
1967 php_stream_printf(out, "SQL: [%zd] ", ZSTR_LEN(stmt->query_string)); in PHP_METHOD()
1968 php_stream_write(out, ZSTR_VAL(stmt->query_string), ZSTR_LEN(stmt->query_string)); in PHP_METHOD()
1973 if (stmt->active_query_string != NULL && stmt->active_query_string != stmt->query_string) { in PHP_METHOD()
2024 zval *query_string = OBJ_PROP_NUM(object, 0); in dbstmt_prop_write() local
2025 if (!Z_ISUNDEF_P(query_string)) { in dbstmt_prop_write()
2107 if (stmt->query_string) { in php_pdo_free_statement()
2108 zend_string_release(stmt->query_string); in php_pdo_free_statement()
H A Dphp_pdo_driver.h592 zend_string *query_string; member
/PHP-8.1/main/
H A DSAPI.h74 char *query_string; member
H A Dphp_variables.c467 c_var = SG(request_info).query_string; in SAPI_TREAT_DATA_FUNC()
755 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_hash_environment()
854 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
/PHP-8.1/ext/mbstring/
H A Dmb_gpc.c85 c_var = SG(request_info).query_string; in ZEND_EXTERN_MODULE_GLOBALS()
/PHP-8.1/
H A DUPGRADING.INTERNALS84 char* + size_t pair the query string. Similarly, the query_string and
H A DNEWS543 . Fixed bug #64539 (FPM status page: query_string not properly JSON encoded).
/PHP-8.1/sapi/apache2handler/
H A Dsapi_apache2.c518 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_ps.c417 const MYSQLND_CSTRING query_string = {query, query_len}; in MYSQLND_METHOD() local
419 ret = conn->command->stmt_prepare(conn, query_string); in MYSQLND_METHOD()
H A Dmysqlnd_connection.c809 const MYSQLND_CSTRING query_string = {query, query_len}; local
810 enum_func_status ret = conn->command->query(conn, query_string);
/PHP-8.1/sapi/litespeed/
H A Dlsapi_main.c634 SG(request_info).query_string = LSAPI_GetQueryString(); in init_request_info()
/PHP-8.1/ext/soap/
H A Dsoap.c1229 SG(request_info).query_string &&
1230 stricmp(SG(request_info).query_string, "wsdl") == 0) {

Completed in 142 milliseconds