Searched refs:php_self (Results 1 – 4 of 4) sorted by relevance
/PHP-5.4/sapi/litespeed/ |
H A D | lsapi_main.c | 73 static char *php_self = ""; variable 309 char * php_self = ""; in sapi_lsapi_register_variables() local 312 php_self = (SG(request_info).request_uri ); in sapi_lsapi_register_variables() 321 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array ); in sapi_lsapi_register_variables() 326 … add_variable_magic_quote("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array ); in sapi_lsapi_register_variables() 332 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC); in sapi_lsapi_register_variables() 333 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC); in sapi_lsapi_register_variables() 834 php_self = *p; in cli_main()
|
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 618 char *php_self; in sapi_cgi_register_variables() local 632 php_self = emalloc(php_self_len + 1); in sapi_cgi_register_variables() 636 memcpy(php_self, script_name, script_name_len + 1); in sapi_cgi_register_variables() 639 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 643 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRM… in sapi_cgi_register_variables() 644 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC); in sapi_cgi_register_variables() 646 efree(php_self); in sapi_cgi_register_variables() 648 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : ""; in sapi_cgi_register_variables() 649 php_self_len = strlen(php_self); in sapi_cgi_register_variables() 650 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRM… in sapi_cgi_register_variables() [all …]
|
/PHP-5.4/sapi/cgi/ |
H A D | cgi_main.c | 663 char *php_self; in sapi_cgi_register_variables() local 691 php_self = do_alloca(php_self_len + 1, use_heap); in sapi_cgi_register_variables() 692 memcpy(php_self, script_name, script_name_len + 1); in sapi_cgi_register_variables() 693 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 696 php_self = path_info; in sapi_cgi_register_variables() 701 php_self = script_name; in sapi_cgi_register_variables() 705 php_self = ""; in sapi_cgi_register_variables() 712 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC); in sapi_cgi_register_variables() 715 free_alloca(php_self, use_heap); in sapi_cgi_register_variables() 718 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : ""; in sapi_cgi_register_variables() [all …]
|
/PHP-5.4/sapi/cli/ |
H A D | php_cli.c | 333 static char *php_self = ""; variable 347 len = strlen(php_self); in sapi_cli_register_variables() 348 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len TSRMLS_CC)) { in sapi_cli_register_variables() 349 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC); in sapi_cli_register_variables() 351 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len TSRMLS_CC)) { in sapi_cli_register_variables() 352 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC); in sapi_cli_register_variables() 949 php_self = (char*)file_handle.filename; in do_cli()
|
Completed in 22 milliseconds