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

/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c73 static char *php_self = ""; variable
309 char * php_self = ""; local
312 php_self = (SG(request_info).request_uri );
318 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
322 php_register_variable("PHP_SELF", php_self, track_vars_array);
323 php_register_variable("SCRIPT_NAME", php_self, track_vars_array);
849 php_self = *p;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c630 char *php_self; local
658 php_self = do_alloca(php_self_len + 1, use_heap);
659 memcpy(php_self, script_name, script_name_len + 1);
660 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
663 php_self = path_info;
668 php_self = script_name;
672 php_self = "";
678 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
679 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
682 free_alloca(php_self, use_hea
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c338 static char *php_self = ""; variable
352 len = strlen(php_self);
353 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) {
354 php_register_variable("PHP_SELF", php_self, track_vars_array);
356 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) {
357 php_register_variable("SCRIPT_NAME", php_self, track_vars_array);
927 php_self = (char*)file_handle.filename;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c563 char *php_self; local
577 php_self = emalloc(php_self_len + 1);
579 /* Concat script_name and path_info into php_self */
581 memcpy(php_self, script_name, script_name_len + 1);
584 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
588 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
589 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
591 efree(php_self);
593 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : "";
594 php_self_len = strlen(php_self);
[all...]

Completed in 10 milliseconds