Searched refs:php_self (Results 1 - 4 of 4) sorted by relevance

/PHP_5_3/sapi/cgi/
H A Dcgi_main.c651 char *php_self; local
665 php_self = emalloc(php_self_len + 1);
668 memcpy(php_self, script_name, script_name_len + 1);
671 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
675 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
676 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
678 efree(php_self);
680 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : "";
681 php_self_len = strlen(php_self);
682 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_le
[all...]
/PHP_5_3/sapi/cli/
H A Dphp_cli.c317 static char *php_self = ""; variable
331 len = strlen(php_self);
332 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len TSRMLS_CC)) {
333 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC);
335 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len TSRMLS_CC)) {
336 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC);
1074 php_self = file_handle.filename;
/PHP_5_3/sapi/litespeed/
H A Dlsapi_main.c75 static char *php_self = ""; variable
254 char * php_self = ""; local
257 php_self = (SG(request_info).request_uri );
264 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
269 add_variable_magic_quote("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
276 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC);
277 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC);
759 php_self
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c623 char *php_self; local
637 php_self = emalloc(php_self_len + 1);
639 /* Concat script_name and path_info into php_self */
641 memcpy(php_self, script_name, script_name_len + 1);
644 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
648 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
649 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
651 efree(php_self);
653 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : "";
654 php_self_len = strlen(php_self);
[all...]

Completed in 9 milliseconds