Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
25 years ago
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
25 years ago
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
25 years ago
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
25 years ago
foobar
349b2bebe3
fixed typo in CVS id
25 years ago
foobar
c34d2b91da
Added new configuration directives:
arg_separator.input and arg_separator.output
25 years ago
foobar
460293fbdc
Cookies use ; as argument separator.
# And also the first step for the possible configure option
25 years ago
foobar
8c97f5c04d
Fix the arg_separator behaviour. Only & or ; is allowed as separators so no need to use the ini setting here.
25 years ago
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
25 years ago
Stanislav Malyshev
0731f54d35
Fix #7987 : POST/GET: string with \0(%00) values not parsed correctly
26 years ago
Zeev Suraski
9e40204f00
@- In CGI mode, $HTTP_SERVER_VARS now includes all of the environment variables
@ as well (Zeev)
26 years ago
Sascha Schumann
43ff395b65
Const'ify part of sapi_request_info.
query_string, post_data, path_translated, request_uri, auth_user,
auth_password and argv0 are modified, so they cannot become const.
26 years ago
Stanislav Malyshev
1ccac6ed55
Add additional parameter to parse_str for saving result (thanks to
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)
26 years ago
Zeev Suraski
eb32144902
- Remove track_vars - it is now always on
- Make the various $HTTP_*_VARS[] arrays be defined always,
even if they're empty
- Fix Win32 build and warnings
26 years ago
Sascha Schumann
8e0ae5d152
Cleaning up some mess
26 years ago
Zeev Suraski
e043439ff6
Update the license with the new clause 6
26 years ago
Sascha Schumann
d0f3764ee2
Change reentrancy API to always use the php prefix.
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
26 years ago
Andi Gutmans
5b2bad3825
- Nuke hash_*_ptr() functions
26 years ago
Zeev Suraski
583556a3c2
@- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]
@ and $foo are no longer references to each other, but separate variables
@ like they were prior to PHP 4.0 Beta 4 (Zeev)
26 years ago
Zeev Suraski
0e90b9dc83
@- The various $HTTP_*_VARS[] are now protected, and cannot be manipulated by
@ user input (Zeev)
This patch is untested! I'll only have time to test it thoroughly in a couple of hours...
26 years ago
Thies C. Arntzen
361ae6886e
@- Fixed crash when magic_quotes were switched off. (Thies)
26 years ago
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
26 years ago
Zeev Suraski
739bdec582
Worked on beautifying rfc1867.c a bit
@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
@ through HTTP upload (Zeev)
26 years ago
Zeev Suraski
a6393de6f7
Make POST handling the way it should be. RFC1867, and any future POST handlers we might
have in the future now obey to the variables_order directive, and there's a real way modular
way to handle POST content.
This is all untested, BEFORE_SAPI_POST_PATCH_17_FEB_2000 tagged before submission
@- Made multipart/form-data content obey to the variables_order directive (Zeev)
26 years ago
Zeev Suraski
4a211a80fb
@- Fixed RFC1867 file upload under Windows (Zeev)
Fixed a memory leak
26 years ago
Andi Gutmans
3811b58a7d
- Improve startup speed a bit by using the hash_*_ptr() functions
26 years ago
Zeev Suraski
b2449f929c
- Change the argument order of php_register_variable() to something more
intuitive.
- Make the authentication variables be a part of the HTTP_SERVER_VARS[] array
26 years ago
Zeev Suraski
99f079a349
- A few fixes
- Added register_argv_argc directive to allow disabling of argv/argc
26 years ago
Zeev Suraski
9ab35ae393
Tried to centralize global variable registration as much as possible:
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
to $HTTP_GET_VARS[], contain environment and server variables. Setting
register_globals to Off will now also prevent registration of the
environment and server variables into the global scope (Zeev)
- Renamed gpc_globals to register_globals (Zeev)
- Introduced variables_order that deprecates gpc_order, and allows control
over the server and environment variables, in addition to GET/POST/Cookies
(Zeev)
26 years ago
Zeev Suraski
270eff1dfe
Use a more general and descriptive name
26 years ago
Zeev Suraski
fc678100cd
post.c really had nothing to do with POST anymore, and it belongs to the top level directory
26 years ago
Zeev Suraski
3a35a6955d
Get rid of the old implementation
26 years ago
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
27 years ago
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
27 years ago
Andi Gutmans
3bf1b04cb4
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
27 years ago
Zeev Suraski
3ee4e65c95
More php3_ annihilation
27 years ago
Zeev Suraski
a3c6514332
More php3_ annihilation
27 years ago
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
27 years ago
Zeev Suraski
15d47e551a
Test commit, ignore
27 years ago
Zeev Suraski
3467337217
@- Made the GET/POST/Cookie and their HTTP_*_VARS[] counterparts be references
@ to each other (Zeev)
27 years ago
Zeev Suraski
d6fd485692
@- Make the global GET/POST/Cookie variables and their $HTTP_*_VARS[] counterparts
@ be references to each other (Zeev)
27 years ago
Sascha Schumann
38819040b6
Replace strtok with strtok_r
27 years ago
Uwe Steinmann
8c473e1f47
- support for mimetype application/vnd.fdf needed by fdf module
(only active if fdf support is compiled in)
27 years ago
Zeev Suraski
3f0696dada
Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)
27 years ago
Zeev Suraski
b2c0acb9ec
- Rewrote the GET/POST/Cookie data reader to support multi-dimensional
arrays! (Zeev)
This still needs a lot of more testing, but it seems to work more or less.
27 years ago
Zeev Suraski
7f42813ad8
Except for this small bug fix - it works
27 years ago
Zeev Suraski
15fee4d3a6
- Seriously optimize and clean php_parse_gpc_data()
- Added gpc_globals directive to turn global definitions of GPC variables on/off
(untested)
27 years ago
Zeev Suraski
1b6ccfe86c
Cleanups & optimizations
27 years ago
Zeev Suraski
fb910c64cd
Cleanups
27 years ago
Zeev Suraski
c12d4bc7d4
*** empty log message ***
27 years ago