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

12

/PHP_TRUNK/main/
H A Drfc1867.c60 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC);
165 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
168 php_register_variable_safe(var, strval, val_len, track_vars_array TSRMLS_CC);
173 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
176 php_register_variable_ex(var, val, track_vars_array TSRMLS_CC);
H A DSAPI.h244 void (*register_server_variables)(zval *track_vars_array TSRMLS_DC);
H A Dphp_variables.c40 PHPAPI void php_register_variable(char *var, char *strval, zval *track_vars_array TSRMLS_DC)
42 php_register_variable_safe(var, strval, strlen(strval), track_vars_array TSRMLS_CC);
46 PHPAPI void php_register_variable_safe(char *var, char *strval, int str_len, zval *track_vars_array TSRMLS_DC)
56 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC);
59 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array TSRMLS_DC)
73 if (track_vars_array) {
74 symtable1 = Z_ARRVAL_P(track_vars_array);
137 if (track_vars_array) {
138 ht = Z_ARRVAL_P(track_vars_array);
527 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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/sapi/caudium/
H A Dcaudium.c480 INLINE static void low_sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)
490 track_vars_array TSRMLS_CC);
492 track_vars_array TSRMLS_CC);
495 track_vars_array TSRMLS_CC);
497 track_vars_array TSRMLS_CC);
499 track_vars_array TSRMLS_CC);
511 track_vars_array TSRMLS_CC );
517 static void sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)
519 THREAD_SAFE_RUN(low_sapi_caudium_register_variables(track_vars_array TSRMLS_CC), "register_variables");
/PHP_TRUNK/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.c705 static void sapi_cli_server_register_variable(zval *track_vars_array, const char *key, const char *val TSRMLS_DC) /* {{{ */ argument
710 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array TSRMLS_CC);
715 zval *track_vars_array = va_arg(args, zval *); local
728 sapi_cli_server_register_variable(track_vars_array, real_key, *entry TSRMLS_CC);
737 static void sapi_cli_server_register_variables(zval *track_vars_array TSRMLS_DC) /* {{{ */
740 sapi_cli_server_register_variable(track_vars_array, "DOCUMENT_ROOT", client->server->document_root TSRMLS_CC);
749 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", addr TSRMLS_CC);
750 sapi_cli_server_register_variable(track_vars_array, "REMOTE_PORT", port TSRMLS_CC);
752 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", client->addr_str TSRMLS_CC);
758 sapi_cli_server_register_variable(track_vars_array, "SERVER_SOFTWAR
[all...]
/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/sapi/milter/
H A Dphp_milter.c863 static void sapi_milter_register_variables(zval *track_vars_array TSRMLS_DC)
865 php_register_variable ("SERVER_SOFTWARE", "Sendmail Milter", track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c657 static void sapi_nsapi_register_server_variables(zval *track_vars_array TSRMLS_DC)
669 php_register_variable((char *)nsapi_reqpb[i].env_var, value, track_vars_array TSRMLS_CC);
690 php_register_variable(value, entry->param->value, track_vars_array TSRMLS_CC);
700 php_register_variable((char *)nsapi_vars[i].env_var, value, track_vars_array TSRMLS_CC);
707 php_register_variable((char *)nsapi_client[i].env_var, value, track_vars_array TSRMLS_CC);
712 php_register_variable("REMOTE_HOST", value, track_vars_array TSRMLS_CC);
717 php_register_variable("SERVER_PORT", buf, track_vars_array TSRMLS_CC);
718 php_register_variable("SERVER_NAME", conf_getglobals()->Vserver_hostname, track_vars_array TSRMLS_CC);
721 php_register_variable("SERVER_URL", value, track_vars_array TSRMLS_CC);
724 php_register_variable("SERVER_SOFTWARE", system_version(), track_vars_array TSRMLS_C
[all...]
/PHP_TRUNK/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_TRUNK/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_TRUNK/sapi/tux/
H A Dphp_tux.c185 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
187 static void sapi_tux_register_variables(zval *track_vars_array TSRMLS_DC)
197 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
198 php_register_variable("SERVER_SOFTWARE", TUXAPI_version, track_vars_array TSRMLS_CC);
199 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);
200 php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array TSRMLS_CC);
201 php_register_variable("DOCUMENT_ROOT", TUXAPI_docroot, track_vars_array TSRMLS_CC);
202 php_register_variable("SERVER_NAME", TUXAPI_servername, track_vars_array TSRMLS_CC);
203 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
204 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_C
[all...]
/PHP_TRUNK/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_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c619 static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
627 php_import_environment_variables(track_vars_array TSRMLS_CC);
648 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
655 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c228 php_apache_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
240 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC);
244 php_register_variable("PHP_SELF", ctx->r->uri, track_vars_array TSRMLS_CC);
246 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c663 static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
671 php_import_environment_variables(track_vars_array TSRMLS_CC);
715 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
724 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/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_TRUNK/sapi/phpdbg/
H A Dphpdbg.c476 static void php_sapi_phpdbg_register_vars(zval *track_vars_array TSRMLS_DC) /* {{{ */
483 php_import_environment_variables(track_vars_array TSRMLS_CC);
490 track_vars_array TSRMLS_CC);
495 track_vars_array TSRMLS_CC);
501 track_vars_array TSRMLS_CC);
506 track_vars_array TSRMLS_CC);
514 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c253 static void sapi_lsapi_register_variables(zval *track_vars_array TSRMLS_DC)
263 LSAPI_ForeachHeader( add_variable, track_vars_array );
264 LSAPI_ForeachEnv( add_variable, track_vars_array );
265 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
268 LSAPI_ForeachHeader( add_variable_magic_quote, track_vars_array );
269 LSAPI_ForeachEnv( add_variable_magic_quote, track_vars_array );
270 add_variable_magic_quote("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
273 php_import_environment_variables(track_vars_array TSRMLS_CC);
275 php_import_environment_variables(track_vars_array TSRMLS_CC);
277 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_C
[all...]

Completed in 41 milliseconds

12