summaryrefslogtreecommitdiff
path: root/main/php_variables.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globalsIlia Alshanetsky2005-02-171-1/+7
| | | | | is enabled).
* Make request start time be available via $_SERVER['REQUEST_TIME'].Ilia Alshanetsky2004-10-241-0/+8
| | | | | # As discussed on internals.
* fix bug #30442 ( segmentation fault when parsing ?getvariable[][ )Antony Dovgal2004-10-181-1/+5
|
* Stop at the index on an unmatched [Rasmus Lerdorf2004-09-091-1/+1
|
* Ooups...Stefan Esser2004-07-111-0/+3
|
* Fixed: PARSE_TYPE parameter to input_filterStefan Esser2004-07-111-2/+7
| | | | | Fixed: input_filter should also be able to filter empty variables by name
* - Better stability during premature shutdown of request startupAndi Gutmans2004-07-101-3/+6
|
* As long we pass values by reference this is needed. Ugly!Stefan Esser2004-06-261-0/+4
|
* Improve the way auto-globals JIT works, and add the ability to turn it offZeev Suraski2004-03-161-7/+8
|
* - Remove gpc_order since it doesn't serve any purpose.foobar2004-01-261-41/+6
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* - Fix the default SAPI filter too; all weird problems should be gone again.Derick Rethans2003-12-011-1/+2
|
* - Fix sapi_input_filter patch. Returning 1 from the filter handler shouldDerick Rethans2003-11-291-7/+6
| | | | | | | make PHP register the variable, returning 0 shouldn't. The new length of the variables being filtered is now returned in the new_val_len argument of the function.
* - Prevent registration of the variable when a zero-length is returnedDerick Rethans2003-11-261-2/+6
| | | | | from the sapi_input_filter.
* Fixed bug #25836 (last key of multi-dimensional array passed via GPCIlia Alshanetsky2003-10-141-1/+3
| | | | | not being escaped when magic_quotes_gpc is on).
* Fix $_SERVER['argv'] and $_SERVER['argc']Stanislav Malyshev2003-10-071-1/+2
|
* Made the $argc and $argv always available as globals in CLI, and not asAndrei Zmievski2003-10-011-10/+19
| | | | | | $_SERVER vars which depended on variables_order anyway. No more silliness.
* Only register server variables when needed.Ilia Alshanetsky2003-07-311-1/+1
|
* Fixed bug #24883 (variables created through register_globals, ignoreIlia Alshanetsky2003-07-311-14/+39
| | | | | | | | | gpc_order and variables_order). Prevent multiple registration of ENV & SERVER variables when more then one is specified. Prevent multiple addition of GET/POST/COOKIE variables when building _REQUEST.
* - Use the new infrastructure of zend_symtable_*() (fixes bug #24565)Zeev Suraski2003-07-221-13/+13
| | | | | - Fix bogus use of get_current_key()
* Fix register_globalsZeev Suraski2003-07-211-3/+46
|
* Fixed bug #24208Ilia Alshanetsky2003-06-161-0/+2
|
* Fixed bug #24007 (Problem with register_globals & arrays)Ilia Alshanetsky2003-06-141-22/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Make $_FILES auto global (bug #23680)Zeev Suraski2003-06-081-0/+1
|
* _SERVER also should not be quoted by magic_quotes_GPCShane Caraveo2003-03-301-7/+6
| | | | | also remove an empty if statement
* On 64bit platforms, pointers are 64bit long..Moriyoshi Koizumi2003-03-281-1/+1
|
* Improved php_import_environment_variables: avoid emalloc()ing in most casesMoriyoshi Koizumi2003-03-271-2/+14
|
* Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and ↵Sebastian Bergmann2003-03-251-1/+1
| | | | SAPI/CLI on Win32.
* The environment should *never* be magic quoted.Shane Caraveo2003-03-231-0/+4
|
* Fixed compiler warnings.Ilia Alshanetsky2003-03-031-0/+2
|
* Fix old variable namesZeev Suraski2003-03-021-8/+8
|
* - Optimize $_REQUESTZeev Suraski2003-03-021-28/+45
| | | | | - Fix phpinfo()
* Add JIT initialization for _SERVER and _ENVZeev Suraski2003-03-021-0/+338
| | | | | | (it's less important for the others, even though it should be fairly easy now too)
* An input filter might not simply strip stuff, it might also turn thingsRasmus Lerdorf2003-02-201-2/+2
| | | | | | | into entities or use some other mechanism which causes the filtered data to be longer than the original data. Ergo, pass in the address of the buffer instead so the filter is free to reallocate it.
* Input Filter support. See README.input_filter for details.Rasmus Lerdorf2003-02-191-0/+8
| | | | | @- Input Filter support added. See README.input_filter. (Rasmus)
* ws fixes + missing $Id$ tags, headers addedfoobar2003-02-191-0/+1
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Fixed bug #21149 (fixed handling of unterminated '[').Ilia Alshanetsky2002-12-291-17/+26
|
* Fixed bug #20796. $_GET/$_POST/$_COOKIE data can get overwritten whenIlia Alshanetsky2002-12-071-6/+6
| | | | | register_globals are on and input contains arrays.
* make php_import_environment_variables overwritable so fastcgi can correctlyShane Caraveo2002-10-131-2/+4
| | | | | set $_ENV.
* Fix last commit. This line isn't supposed to be replaced.Yasuo Ohgaki2002-09-081-1/+1
|
* MFBYasuo Ohgaki2002-09-071-1/+2
|
* use php_error_docref()Marcus Boerger2002-08-251-1/+1
|
* Add some assertionYasuo Ohgaki2002-08-081-1/+4
|
* made sapi_register_treat_data() to support multibyte input encoding ↵Rui Hirokawa2002-08-021-2/+1
| | | | translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.
* Fix for non-mbstring builds. Bad Yasuo! :)Zeev Suraski2002-07-311-3/+2
|
* Fixed some.php?a&b&c does not initilize $_GET['a'], $_GET['b'], $_GET['c']Yasuo Ohgaki2002-07-281-0/+3
| | | | | | when mbstr-enc-trans is disabled. # There is a bug in php_mbstr_encoding_handler() alo, I'll fix it later.
* break out if there is no data to work on.Stefan Esser2002-07-241-0/+4
|
* free_index is set but never usedSascha Schumann2002-05-041-2/+0
|