Sebastian Bergmann
714c19fe66
Per discussion on #php.bugs (+1 from at least Derick and Jani), revert double_buffering.
2002-09-01 11:33:19 +00:00
Wez Furlong
2a71d7d5bb
Respect safe mode setting when opening scripts and things for the ZE.
2002-08-23 17:39:20 +00:00
Christian Stocker
9495fb9d7d
@ - Added php.ini option "allow_webdav_methods" to allow handling of
...
@ WebDAV http requests within PHP scripts. (chregu)
# More methods (for DeltaV) will follow.
2002-08-22 07:48:23 +00:00
Marcus Boerger
2a443b2e77
Changed handling of output buffer sizes.
...
@Added php.ini option "double_buffering" that forces an additional first
@output buffer and improved handling of buffer sizes. (Marcus)
2002-08-20 19:49:37 +00:00
Marcus Boerger
3408366776
-allow changing html_errors any time changing display_errors is already
...
-use sizeof for strftime call
-removed unused #define
-mention CODING_STANDARDS as documentation
2002-08-19 18:40:28 +00:00
Marcus Boerger
968721bc55
allow target anchor only for docref parameter
2002-08-13 09:37:51 +00:00
Marcus Boerger
1134977baf
fix for extension = ""
...
make php_verror available
2002-08-12 20:12:31 +00:00
Wez Furlong
1861f1bae3
Minor fix for html_errors=on in php_error_docref.
2002-08-11 09:52:06 +00:00
Marcus Boerger
9c8ba935d6
Improved handling of output buffers (see news)\n#No trim for the string parameter...
2002-08-09 22:29:58 +00:00
Marcus Boerger
2e29e53e00
docref shall either be NULL or a reference to a manual page without an
...
extension or an external reference starting with 'http://'.
2002-08-09 21:57:03 +00:00
Marcus Boerger
e11e0b0ec0
No missleading
2002-08-08 22:11:24 +00:00
Marcus Boerger
976a91a55b
Say FIXME to non function calls and non TSRM builds. Both will currentls
...
not show a default reference.
2002-08-08 19:36:49 +00:00
Marcus Boerger
88c385e817
rename php_error_func<n> to php_error_docref and support Wez idea
...
that solves ToDo requirement to point to PHP Manual in error messages.
2002-08-08 19:12:27 +00:00
Marcus Boerger
e50228ab5b
-new functions php_error_func<0> to support unified error messages
...
#read followup
2002-08-07 18:29:36 +00:00
Rui Hirokawa
7527bf0c58
made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.
2002-08-02 06:53:48 +00:00
foobar
2dbd41869c
Allow setting post_max_size and upload_max_filesize in .htaccess files too
2002-07-25 17:31:34 +00:00
Stefan Esser
3e05678842
do not dtor empty elements
2002-07-25 09:33:26 +00:00
Derick Rethans
9ae8c39bab
- set_time_limit() now returns whether it succeeded in changing the time
...
limit.
2002-07-17 08:06:43 +00:00
foobar
ed58d3a235
- Added predefined constants for the upload errors.
...
- Removed the debugging error (not useful for end-users)
2002-07-12 01:49:58 +00:00
Derick Rethans
6819ee3624
- Fix for bug #18283
...
#- It doesn't work from within a script anyways
2002-07-11 19:38:08 +00:00
foobar
2afacbf1cf
These two can not be set in script. (so that they would have any effect)
2002-07-08 06:51:41 +00:00
foobar
4b321b0430
Fix win32 build.
2002-07-01 09:00:00 +00:00
Sander Roobol
d325d07b1a
Main script should not be parsed when (include|require)_once()'ed, #17720
...
# Derick, MFH?
2002-06-30 13:38:16 +00:00
Derick Rethans
d812929d2f
- Implement Andrei's request for disabling memory leak reporting in debug
...
builds.
#- Andrei: I can show you the logs :)
2002-06-26 19:43:46 +00:00
Marcus Boerger
761e234a43
-unlimited php_printf
2002-06-23 00:57:01 +00:00
foobar
d2f2ed76d1
Use correct macro for boolean ini values.
2002-06-19 00:18:40 +00:00
Stig Bakken
40ab700677
@New constants: PHP_PREFIX and PHP_SHLIB_SUFFIX (Stig)
2002-06-07 12:19:26 +00:00
Markus Fischer
b04656ad40
- Finish implementation of custom smtp port (introduces "smtp_port" ini config).
2002-06-02 17:13:48 +00:00
Zeev Suraski
2260e1742d
- Centralize html_puts() again
...
- Revolutionize phpinfo()'s speed
2002-05-13 08:46:24 +00:00
Sascha Schumann
f866bdc368
Simplify even more
2002-05-12 15:30:44 +00:00
Sascha Schumann
5c4ae13670
Simplify white space handling in php_html_puts.
...
If we encounter a ' ', we will look for the next non-' ' and set p
accordingly.
2002-05-12 15:22:11 +00:00
Sascha Schumann
a769454d79
reenable php_html_puts
2002-05-12 14:48:22 +00:00
Zeev Suraski
bf97148978
Centralize html_puts() logic - php_html_puts() remains as an API wrapper
2002-05-11 12:41:33 +00:00
Zeev Suraski
77f41212f6
Removing HTMLization of ' ' wasn't ok, it didn't deal with series of spaces
...
properly. Turn series of spaces into 's.
2002-05-11 12:17:53 +00:00
Zeev Suraski
5af649efbd
Revert to the old php_ini.c, and reimplement the binary-path searching.
...
Should now also work under UNIX (CLI/CGI)
2002-05-11 03:41:17 +00:00
foobar
773da954f8
ws fix
2002-05-09 19:58:39 +00:00
Rui Hirokawa
f30b722f14
Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto.
2002-05-08 12:33:44 +00:00
Yasuo Ohgaki
f61b795a8f
Make Content-Type output always correct.
...
# Flushing buffer is needed to be fixed properly anyway...
2002-05-02 01:58:12 +00:00
Wez Furlong
479aa767f5
revert...
2002-04-30 00:17:48 +00:00
Wez Furlong
37411dd674
Implement context option setting API.
...
Add/amend debugging code for sockets.
Add a flag that will help the http wrapper optimize itself when
it is not being used for include/require.
2002-04-30 00:16:00 +00:00
Wez Furlong
e1d0a14790
Implement stream context and status notification system.
...
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago
2002-04-10 22:42:32 +00:00
Marcus Boerger
bd9cf79efb
new ini setting log_errors_max_len
...
@-New ini setting log_errors_max_len controls maximum length for error
@ messages. Set it to 0 for infinite. Default is 1024 (old behaviour) (Marcus)
2002-04-10 01:27:44 +00:00
foobar
14a6bc6d69
upload_max_filesize can only be set in php.ini
2002-04-08 07:58:47 +00:00
Marcus Boerger
ddc6437e32
new feature ignoring repeated error messages (defaults to old behaviour)
...
@You can now disable logging of repeated error messages with two new ini settings ignore_repeated_errors, ignore_repeated_source. @(Marcus)
2002-04-06 18:49:59 +00:00
Wez Furlong
7990d742e5
Improve behaviour of the stream casting operation.
...
Improve interaction with fopencookie.
2002-03-19 23:29:37 +00:00
Wez Furlong
14a3911866
fix for bug #16168
2002-03-19 17:49:02 +00:00
Wez Furlong
c9d5e13738
TSRMLS related work on streams, as discussed with Zeev.
...
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make
2002-03-18 18:54:32 +00:00
Zeev Suraski
73e79322ba
Fix the build and all of the outstanding VC++ warnings
2002-03-18 08:05:28 +00:00
Wez Furlong
d2d8762267
Streams now make more use of the memory manager, so tracking down
...
leaking streams should be easier.
# I hate these big commits
2002-03-17 22:50:59 +00:00
Wez Furlong
bed04279c3
Hopefully fix resource usage so that we have no leaks and don't segfault.
2002-03-16 14:39:51 +00:00
Wez Furlong
6beb1e37a8
work around apache segfault for the moment
2002-03-16 13:50:17 +00:00
Wez Furlong
28d6981152
more *'s
2002-03-16 01:58:13 +00:00
Wez Furlong
0f65280cb5
New PHP streams...
2002-03-15 21:03:08 +00:00
foobar
f30a9f1c86
- Commented out the space escaping. Works now as it did before.
2002-03-09 00:24:02 +00:00
foobar
f57fe2a8df
- Fixed the phpinfo() tables not to blow up when using very long
...
configure line.
2002-03-07 22:18:09 +00:00
Derick Rethans
9c5b4a6c25
- Some more speed (and more consistency)
...
#- I had some spare time Sascha :)
2002-03-04 19:08:17 +00:00
Sascha Schumann
b4d5aa5c50
Supply php_html_puts which escapes a whole string.. now fully works in ZTS
...
mode, too.
2002-03-04 18:46:55 +00:00
Edin Kadribasic
ab57683ea0
Added PHP_SAPI constant which contains the name of running SAPI.
...
@- Added PHP_SAPI constant which contains the name of running SAPI. (Edin)
2002-03-01 19:29:35 +00:00
Yasuo Ohgaki
82a8d372e5
Added ob_get_status() to get array of buffers and it's status.
...
(DO NOT document this function yet)
Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
buffers that may not be deleted.
php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for
if the buffer created may be deleted or not.
Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
deleted until script finshes.
Changed ob_*() function that have void return type to bool. All ob_*()
functions return TRUE for success, FALSE for failure.
@ - Added ob_get_status() to get array of buffers and it's status. (Yasuo)
@ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
@ buffers that may not be deleted. (Yasuo)
@ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
@ deleted until script finshes. (Yasuo)
@ - Changed ob_*() function that have void return type to bool. All ob_*()
@ functions return TRUE for success, FALSE for failure. (Yasuo)
2002-03-01 03:05:50 +00:00
Andi Gutmans
c456da514c
- Hopefully fix the shutdown_memory_manager() stuff. Part of my previous
...
- patch seems to have gotten lost
2002-02-26 19:38:41 +00:00
Sebastian Bergmann
1b32da412d
TSRM Cleanup.
2002-02-26 19:31:21 +00:00
Andi Gutmans
a306665717
- Pass shutdown_memory_manager the TSRMLS context.
2002-02-26 18:59:27 +00:00
Derick Rethans
86fa2d3937
- Let php_execute_script return 0 on failure and 1 on sucess, and change
...
SAPIs accordingly. (Andrei, Derick)
2002-02-14 20:16:08 +00:00
Yasuo Ohgaki
0bf51b81bd
register_globals=off is defualt for 4.2.0
2002-02-05 06:31:53 +00:00
Edin Kadribasic
4972fac567
Ignore register_globals for $argc and $argv under CLI SAPI.
2002-01-31 00:05:07 +00:00
Yasuo Ohgaki
34cfada447
Make --enable-safe-mode useful
...
# It seems this option is broken for a long time.
@ Fix --enable-safe-mode. This configure option was not working.
2002-01-19 03:15:03 +00:00
Derick Rethans
645a94cd5e
- Make an E_NOTICE error type show 'Notice' instead of 'Warning'.
2002-01-10 16:00:08 +00:00
Edin Kadribasic
1788410a56
Added argc and argv in request_info needed for the new cli sapi.
...
Modified registering $argc and $argv to support cli sapi.
2002-01-06 13:58:05 +00:00
Zeev Suraski
8e5e7efc5b
Freeing that TLS is just too complicated. Since we're shutting
...
down anyway, remove it for now (it did not exist in 4.0.6)
2001-12-16 22:45:57 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Bernd Roemer
99639f5812
Allow unserializer_callback_func to be turned off.
2001-12-02 17:31:11 +00:00
Derick Rethans
06cdf297a8
- Adding a callback mechanism to the unserializer. (patch by Bernd
...
Roemer <berndr@bonn.edu>)
#- An explainatory e-mail will be send to php-dev
2001-11-26 21:04:21 +00:00
Sterling Hughes
b91a66699c
Z_TYPE(filehandle)?? ok.. whatever... ;)
2001-11-26 18:57:44 +00:00
Zeev Suraski
312a226707
Fix set_time_limit() to affect only the current request (fix bug #13711 )
2001-11-19 14:59:38 +00:00
Derick Rethans
a0bbfb590c
- <br> -> <br />
2001-10-06 20:13:39 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Zeev Suraski
6bba521dd3
API update
2001-08-31 14:34:40 +00:00
Zeev Suraski
ab48027b3e
Fix unclean shutdown value
2001-08-30 13:38:33 +00:00
Thies C. Arntzen
3510482971
move php_shutdown_config further down
2001-08-16 09:40:05 +00:00
Zeev Suraski
e077c6bc28
Make it possible to enable chunked output buffering without providing
...
an output handling function
2001-08-11 22:55:00 +00:00
Zeev Suraski
f47962c7c0
Implement import_request_variables()
2001-08-08 20:05:37 +00:00
Zeev Suraski
c31ba75577
Put it in the wrong case...
2001-08-08 19:15:38 +00:00
Zeev Suraski
6fdf6b4c82
- Fix precedence of the variables order in $_FORM
...
- Rename $_FORM to $_REQUEST for now
2001-08-08 18:26:03 +00:00
Zeev Suraski
5eb9495b1b
- Implement $_FORM
...
- Update phpinfo()
- Update NEWS
2001-08-08 17:16:20 +00:00
Zeev Suraski
7f4453f4c1
- Implement new short names - $_GET, $_POST, $_COOKIE, $_SERVER, $_ENV and $_FILES
...
- Use the Zend Engine infrastructure - make these variables available in
all functions
2001-08-08 16:36:04 +00:00
Sascha Schumann
b349df6364
some more eliminate-fetches-or-escalate-them-at-least
2001-08-05 16:21:33 +00:00
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
2ec440078a
Get rid of a couple of bogus persist_alloc()'s, and some cleanup
2001-08-03 07:15:14 +00:00
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
2001-07-31 07:09:49 +00:00
Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
2001-07-31 06:28:05 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Zeev Suraski
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Sascha Schumann
30892690b3
Remove superfluous returns
2001-07-28 00:44:19 +00:00
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...
2001-07-27 10:16:41 +00:00