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
253 char * php_self = ""; local
256 php_self = (SG(request_info).request_uri );
263 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
268 add_variable_magic_quote("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
275 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC);
276 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC);
777 php_self
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c662 char *php_self; local
690 php_self = do_alloca(php_self_len + 1, use_heap);
691 memcpy(php_self, script_name, script_name_len + 1);
692 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
695 php_self = path_info;
700 php_self = script_name;
704 php_self = "";
710 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
711 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
714 free_alloca(php_self, use_hea
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c336 static char *php_self = ""; variable
350 len = strlen(php_self);
351 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len TSRMLS_CC)) {
352 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC);
354 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len TSRMLS_CC)) {
355 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC);
936 php_self = (char*)file_handle.filename;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c612 char *php_self; local
626 php_self = emalloc(php_self_len + 1);
628 /* Concat script_name and path_info into php_self */
630 memcpy(php_self, script_name, script_name_len + 1);
633 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
637 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
638 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
640 efree(php_self);
642 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : "";
643 php_self_len = strlen(php_self);
[all...]

Completed in 9 milliseconds