Searched refs:track_vars_array (Results 1 - 25 of 25) sorted by relevance

/PHP_5_5/main/
H A DSAPI.h241 void (*register_server_variables)(zval *track_vars_array TSRMLS_DC);
H A Drfc1867.c56 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC);
161 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
164 php_register_variable_safe(var, strval, val_len, track_vars_array TSRMLS_CC);
169 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
172 php_register_variable_ex(var, val, track_vars_array TSRMLS_CC);
H A Dphp_variables.c36 PHPAPI void php_register_variable(char *var, char *strval, zval *track_vars_array TSRMLS_DC)
38 php_register_variable_safe(var, strval, strlen(strval), track_vars_array TSRMLS_CC);
42 PHPAPI void php_register_variable_safe(char *var, char *strval, int str_len, zval *track_vars_array TSRMLS_DC)
52 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC);
55 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array TSRMLS_DC)
69 if (track_vars_array) {
70 symtable1 = Z_ARRVAL_P(track_vars_array);
133 if (track_vars_array) {
134 ht = Z_ARRVAL_P(track_vars_array);
452 static void php_build_argv(char *s, zval *track_vars_array TSRMLS_D
[all...]
H A Dphp_variables.h39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC);
41 PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, zval *track_vars_array TSRMLS_DC);
42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
/PHP_5_5/ext/mbstring/
H A Dmbstring.c2039 zval *track_vars_array = NULL; local
2045 track_vars_array = NULL;
2046 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &encstr, &encstr_len, &track_vars_array) == FAILURE) {
2050 if (track_vars_array != NULL) {
2052 zval_dtor(track_vars_array);
2053 array_init(track_vars_array);
2067 if (track_vars_array != NULL) {
2068 detected = _php_mb_encoding_handler_ex(&info, track_vars_array, encstr TSRMLS_CC);
/PHP_5_5/sapi/aolserver/
H A Daolserver.c298 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
304 php_ns_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
/PHP_5_5/sapi/apache/
H A Dmod_php5.c254 static void sapi_apache_register_server_variables(zval *track_vars_array TSRMLS_DC)
274 php_register_variable_safe(elts[i].key, val, new_val_len, track_vars_array TSRMLS_CC);
279 if (track_vars_array) {
280 symbol_table = track_vars_array->value.ht;
287 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC);
291 php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/apache2filter/
H A Dsapi_apache2.c225 php_apache_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
237 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC);
241 php_register_variable("PHP_SELF", ctx->r->uri, track_vars_array TSRMLS_CC);
243 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/apache_hooks/
H A Dmod_php5.c384 static void sapi_apache_register_server_variables(zval *track_vars_array TSRMLS_DC)
400 php_register_variable(elts[i].key, val, track_vars_array TSRMLS_CC);
404 if (track_vars_array) {
405 symbol_table = track_vars_array->value.ht;
412 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC);
415 php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/caudium/
H A Dcaudium.c481 INLINE static void low_sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)
491 track_vars_array TSRMLS_CC);
493 track_vars_array TSRMLS_CC);
496 track_vars_array TSRMLS_CC);
498 track_vars_array TSRMLS_CC);
500 track_vars_array TSRMLS_CC);
512 track_vars_array TSRMLS_CC );
518 static void sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)
520 THREAD_SAFE_RUN(low_sapi_caudium_register_variables(track_vars_array TSRMLS_CC), "register_variables");
/PHP_5_5/sapi/cgi/
H A Dcgi_main.c660 static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
668 php_import_environment_variables(track_vars_array TSRMLS_CC);
712 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
721 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/cli/
H A Dphp_cli.c339 static void sapi_cli_register_variables(zval *track_vars_array TSRMLS_DC) /* {{{ */
347 php_import_environment_variables(track_vars_array TSRMLS_CC);
352 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC);
355 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC);
360 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array TSRMLS_CC);
363 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array TSRMLS_CC);
368 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array TSRMLS_CC);
H A Dphp_cli_server.c707 static void sapi_cli_server_register_variable(zval *track_vars_array, const char *key, const char *val TSRMLS_DC) /* {{{ */ argument
712 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array TSRMLS_CC);
717 zval *track_vars_array = va_arg(args, zval *); local
730 sapi_cli_server_register_variable(track_vars_array, real_key, *entry TSRMLS_CC);
739 static void sapi_cli_server_register_variables(zval *track_vars_array TSRMLS_DC) /* {{{ */
742 sapi_cli_server_register_variable(track_vars_array, "DOCUMENT_ROOT", client->server->document_root TSRMLS_CC);
751 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", addr TSRMLS_CC);
752 sapi_cli_server_register_variable(track_vars_array, "REMOTE_PORT", port TSRMLS_CC);
754 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", client->addr_str TSRMLS_CC);
760 sapi_cli_server_register_variable(track_vars_array, "SERVER_SOFTWAR
[all...]
/PHP_5_5/sapi/continuity/
H A Dcapi.c233 static void sapi_capi_register_server_variables(zval * track_vars_array TSRMLS_DC)
243 php_register_variable("PHP_SELF", value, track_vars_array TSRMLS_CC);
244 php_register_variable("REQUEST_URI", value, track_vars_array TSRMLS_CC);
250 php_register_variable("COUNTRY_CODE", value, track_vars_array TSRMLS_CC);
255 php_register_variable("argv", value, track_vars_array TSRMLS_CC);
258 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);
263 php_register_variable("HTTP_HOST", value, track_vars_array TSRMLS_CC);
265 php_register_variable("SERVER_NAME", value, track_vars_array TSRMLS_CC);
270 php_register_variable("SERVER_SOFTWARE", value, track_vars_array TSRMLS_CC);
275 php_register_variable("SERVER_PROTOCOL", value, track_vars_array TSRMLS_C
[all...]
/PHP_5_5/sapi/embed/
H A Dphp_embed.c98 static void php_embed_register_variables(zval *track_vars_array TSRMLS_DC)
100 php_import_environment_variables(track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/isapi/
H A Dphp5isapi.c381 static void sapi_isapi_register_zeus_ssl_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array TSRMLS_DC)
399 php_register_variable( "SSL_CLIENT_DN", static_cons_buf, track_vars_array TSRMLS_CC );
411 php_register_variable( "SSL_CLIENT_I_DN", static_cons_buf, track_vars_array TSRMLS_CC );
414 static void sapi_isapi_register_zeus_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array TSRMLS_DC)
433 php_register_variable( "PHP_SELF", static_variable_buf, track_vars_array TSRMLS_CC );
437 php_register_variable( "PATH_INFO", static_variable_buf + scriptname_len - 1, track_vars_array TSRMLS_CC );
445 php_register_variable( "URL", static_variable_buf, track_vars_array TSRMLS_CC );
446 php_register_variable( "REQUEST_URI", static_variable_buf, track_vars_array TSRMLS_CC );
454 php_register_variable( "PATH_TRANSLATED", static_variable_buf, track_vars_array TSRMLS_CC );
460 php_register_variable( "PHP_AUTH_USER", static_variable_buf, track_vars_array TSRMLS_C
562 sapi_isapi_register_server_variables2(char **server_variables, LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array, char **recorded_values TSRMLS_DC) argument
[all...]
/PHP_5_5/sapi/nsapi/
H A Dnsapi.c658 static void sapi_nsapi_register_server_variables(zval *track_vars_array TSRMLS_DC)
670 php_register_variable((char *)nsapi_reqpb[i].env_var, value, track_vars_array TSRMLS_CC);
691 php_register_variable(value, entry->param->value, track_vars_array TSRMLS_CC);
701 php_register_variable((char *)nsapi_vars[i].env_var, value, track_vars_array TSRMLS_CC);
708 php_register_variable((char *)nsapi_client[i].env_var, value, track_vars_array TSRMLS_CC);
713 php_register_variable("REMOTE_HOST", value, track_vars_array TSRMLS_CC);
718 php_register_variable("SERVER_PORT", buf, track_vars_array TSRMLS_CC);
719 php_register_variable("SERVER_NAME", conf_getglobals()->Vserver_hostname, track_vars_array TSRMLS_CC);
722 php_register_variable("SERVER_URL", value, track_vars_array TSRMLS_CC);
725 php_register_variable("SERVER_SOFTWARE", system_version(), track_vars_array TSRMLS_C
[all...]
/PHP_5_5/sapi/pi3web/
H A Dpi3web_sapi.c280 static void sapi_pi3web_register_variables(zval *track_vars_array TSRMLS_DC)
299 php_register_variable(pKey, static_variable_buf, track_vars_array TSRMLS_CC);
303 php_register_variable(pKey, variable_buf, track_vars_array TSRMLS_CC);
315 php_register_variable("PHP_SELF", static_variable_buf, track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/thttpd/
H A Dthttpd.c269 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
272 static void sapi_thttpd_register_variables(zval *track_vars_array TSRMLS_DC)
277 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
278 php_register_variable("SERVER_SOFTWARE", SERVER_SOFTWARE, track_vars_array TSRMLS_CC);
279 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);
280 php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array TSRMLS_CC);
281 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
282 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_CC);
285 php_register_variable("SERVER_PROTOCOL", "HTTP/1.1", track_vars_array TSRMLS_CC);
287 php_register_variable("SERVER_PROTOCOL", "HTTP/1.0", track_vars_array TSRMLS_C
[all...]
/PHP_5_5/sapi/tux/
H A Dphp_tux.c189 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
191 static void sapi_tux_register_variables(zval *track_vars_array TSRMLS_DC)
201 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
202 php_register_variable("SERVER_SOFTWARE", TUXAPI_version, track_vars_array TSRMLS_CC);
203 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);
204 php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array TSRMLS_CC);
205 php_register_variable("DOCUMENT_ROOT", TUXAPI_docroot, track_vars_array TSRMLS_CC);
206 php_register_variable("SERVER_NAME", TUXAPI_servername, track_vars_array TSRMLS_CC);
207 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
208 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_C
[all...]
/PHP_5_5/sapi/webjames/
H A Dwebjames.c104 php_register_variable(name, string, track_vars_array TSRMLS_CC)
108 php_register_variable(name, buf, track_vars_array TSRMLS_CC);\
113 php_register_variable(name, WG(conn)->field, track_vars_array TSRMLS_CC); \
116 static void sapi_webjames_register_variables(zval *track_vars_array TSRMLS_DC)
/PHP_5_5/sapi/apache2handler/
H A Dsapi_apache2.c268 php_apache_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
280 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC);
285 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/milter/
H A Dphp_milter.c871 static void sapi_milter_register_variables(zval *track_vars_array TSRMLS_DC)
873 php_register_variable ("SERVER_SOFTWARE", "Sendmail Milter", track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_main.c615 static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
623 php_import_environment_variables(track_vars_array TSRMLS_CC);
644 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
651 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
/PHP_5_5/sapi/litespeed/
H A Dlsapi_main.c330 static void sapi_lsapi_register_variables(zval *track_vars_array TSRMLS_DC)
337 litespeed_php_import_environment_variables(track_vars_array TSRMLS_CC);
342 LSAPI_ForeachHeader( add_variable, track_vars_array );
343 LSAPI_ForeachEnv( add_variable, track_vars_array );
344 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
347 LSAPI_ForeachHeader( add_variable_magic_quote, track_vars_array );
348 LSAPI_ForeachEnv( add_variable_magic_quote, track_vars_array );
349 add_variable_magic_quote("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
353 php_import_environment_variables(track_vars_array TSRMLS_CC);
355 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_C
[all...]

Completed in 45 milliseconds