Home
last modified time | relevance | path

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

/php-src/sapi/fpm/fpm/
H A Dfpm_status.c543 char *query_string; in fpm_status_handle_request() local
568 query_string = NULL; in fpm_status_handle_request()
570 if (proc->query_string[0] != '\0') { in fpm_status_handle_request()
573 (const unsigned char *) proc->query_string, in fpm_status_handle_request()
578 strlen(proc->query_string), PHP_JSON_INVALID_UTF8_IGNORE); in fpm_status_handle_request()
580 query_string = proc->query_string; in fpm_status_handle_request()
583 query_string = ZSTR_VAL(tmp_query_string); in fpm_status_handle_request()
586 query_string[ZSTR_LEN(tmp_query_string) - 1] = '\0'; in fpm_status_handle_request()
587 ++query_string; in fpm_status_handle_request()
614 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()
266 (proc.query_string[0] ? "?" : ""), proc.query_string, in fpm_request_check_timed_out()
277 (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.c369 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.query_string); in fpm_log_write()
375 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.query_string ? "?" : ""); in fpm_log_write()
495 if (proc->query_string[0] != '\0') { in fpm_access_log_suppress()
H A Dfpm_php.c194 return SG(request_info).query_string; in fpm_php_query_string()
H A Dfpm_main.c985 SG(request_info).query_string = NULL; in init_request_info()
1343 SG(request_info).query_string = FCGI_GETENV(request, "QUERY_STRING"); in init_request_info()
/php-src/sapi/cgi/
H A Dcgi_main.c1179 SG(request_info).query_string = NULL;
1445 SG(request_info).query_string = CGI_GETENV("QUERY_STRING");
1751 char *query_string; local
1809 if((query_string = getenv("QUERY_STRING")) != NULL && strchr(query_string, '=') == NULL) {
1814 char *decoded_query_string = strdup(query_string);
2448 SG(request_info).query_string = s;
2507 free(SG(request_info).query_string);
2508 SG(request_info).query_string = NULL;
2575 if (free_query_string && SG(request_info).query_string) {
2576 free(SG(request_info).query_string);
[all …]
/php-src/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.c140 char *query_string; member
758 if (client->request.query_string) { in sapi_cli_server_register_variables()
1403 req->query_string = NULL; in php_cli_server_request_ctor()
1430 if (req->query_string) { in php_cli_server_request_dtor()
1431 pefree(req->query_string, 1); in php_cli_server_request_dtor()
1645 if (EXPECTED(client->request.query_string == NULL)) { in php_cli_server_client_read_request_on_query_string()
1646 client->request.query_string = pestrndup(at, length, 1); in php_cli_server_client_read_request_on_query_string()
1650 …client->request.query_string = perealloc(client->request.query_string, client->request.query_strin… in php_cli_server_client_read_request_on_query_string()
1651 memcpy(client->request.query_string + client->request.query_string_len, at, length); in php_cli_server_client_read_request_on_query_string()
1653 client->request.query_string[client->request.query_string_len] = '\0'; in php_cli_server_client_read_request_on_query_string()
[all …]
/php-src/ext/pdo/
H A Dpdo_dbh.c566 zval query_string; in pdo_stmt_construct() local
569 ZVAL_STR(&query_string, stmt->query_string); in pdo_stmt_construct()
571 zend_std_write_property(Z_OBJ_P(object), key, &query_string, NULL); in pdo_stmt_construct()
649 stmt->query_string = zend_string_copy(statement); in PHP_METHOD()
1213 stmt->query_string = zend_string_copy(statement); in PHP_METHOD()
1214 stmt->active_query_string = zend_string_copy(stmt->query_string); in PHP_METHOD()
H A Dpdo_stmt.c443 ret = pdo_parse_params(stmt, stmt->query_string, &stmt->active_query_string); in PHP_METHOD()
447 stmt->active_query_string = zend_string_copy(stmt->query_string); in PHP_METHOD()
1956 php_stream_printf(out, "SQL: [%zd] ", ZSTR_LEN(stmt->query_string)); in PHP_METHOD()
1957 php_stream_write(out, ZSTR_VAL(stmt->query_string), ZSTR_LEN(stmt->query_string)); in PHP_METHOD()
1962 if (stmt->active_query_string != NULL && stmt->active_query_string != stmt->query_string) { in PHP_METHOD()
2013 zval *query_string = OBJ_PROP_NUM(object, 0); in dbstmt_prop_write() local
2014 if (!Z_ISUNDEF_P(query_string)) { in dbstmt_prop_write()
2113 if (stmt->query_string) { in php_pdo_free_statement()
2114 zend_string_release(stmt->query_string); in php_pdo_free_statement()
H A Dphp_pdo_driver.h597 zend_string *query_string; member
/php-src/main/
H A DSAPI.h74 char *query_string; member
H A Dphp_variables.c503 c_var = SG(request_info).query_string; in SAPI_TREAT_DATA_FUNC()
790 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_hash_environment()
889 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
/php-src/ext/mbstring/
H A Dmb_gpc.c76 c_var = SG(request_info).query_string; in ZEND_EXTERN_MODULE_GLOBALS()
/php-src/sapi/apache2handler/
H A Dsapi_apache2.c525 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor()
/php-src/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.c808 const MYSQLND_CSTRING query_string = {query, query_len}; local
809 enum_func_status ret = conn->command->query(conn, query_string);
/php-src/sapi/litespeed/
H A Dlsapi_main.c633 SG(request_info).query_string = LSAPI_GetQueryString(); in init_request_info()
/php-src/ext/soap/
H A Dsoap.c1299 SG(request_info).query_string && in PHP_METHOD()
1300 stricmp(SG(request_info).query_string, "wsdl") == 0) { in PHP_METHOD()

Completed in 115 milliseconds