Commit Graph

765 Commits

Author SHA1 Message Date
Antony Dovgal
da036996be make use of zend_atol() 2008-03-19 12:40:48 +00:00
Stanislav Malyshev
c5c4b858df MFB: add request_order INI variable to control $_REQUEST content
# if not set (default), variables_order still is used
# request_order accepts G,P and C
2008-03-12 20:53:04 +00:00
Etienne Kneuss
2660bd1de9 User error handlers no longer catch supressed errors 2008-03-08 22:17:32 +00:00
Pierre Joye
e0d8f5c8bc - MFB: #42505, new sendmail default path breaks on Novell (Guenter Knauf) 2008-03-05 21:20:14 +00:00
Dmitry Stogov
c8b1dbff23 Optimized require_once() and include_once() by eliminationg open() syscall on se
cond usage.
2008-03-05 13:35:02 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Felipe Pena
b6fafb1a4d Fix build 2008-02-16 02:28:11 +00:00
Pierre Joye
48d86e7ad8 - [DOC] MFB: add PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants
2008-02-15 15:09:56 +00:00
Jani Taskinen
ad6e9ad259 - Allow using any constants registered by PHP in php.ini too 2008-02-04 20:38:42 +00:00
Dmitry Stogov
6847c18150 Added garbage collector 2008-01-22 09:29:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Hannes Magnusson
2ea5df33a7 Update the class method documentation links 2007-12-29 02:21:25 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Dmitry Stogov
5138a3b575 Fixed bug #42722 (display_errors setting ignored for E_PARSE and HTTP 500 page) 2007-10-18 13:12:01 +00:00
Ilia Alshanetsky
8c94e4045d MFB: Refactor code to make fixes for coverity issues #385 and #386 a bit
more obvious
2007-10-01 14:56:34 +00:00
Jani Taskinen
f964370a35 - Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Dmitry Stogov
38673d1f6f Fixed crash on POST request after dl("mbstring.so") 2007-09-24 11:53:57 +00:00
Antony Dovgal
e69a0b7533 check for NULL (coverity issue #386) 2007-09-21 14:11:45 +00:00
Stanislav Malyshev
f9d32b3685 MFB: disallow setting mail.force_extra_parameters from .htaccess 2007-09-13 20:06:15 +00:00
Jani Taskinen
891a4478f2 ws 2007-08-31 08:35:07 +00:00
Derick Rethans
a416772467 - Fixed allow_url_fopen_list/allow_url_include_list handling by making sure
the pointers are initialized. Thanks to Sara.
2007-08-28 12:12:02 +00:00
Stanislav Malyshev
d4cc7daba2 MF5: fix for access control with .htaccess 2007-08-03 01:40:05 +00:00
Stanislav Malyshev
e1fc2a87bf revert wrong fix 2007-08-01 23:54:06 +00:00
Johannes Schlüter
9adbc5a88b - Fix #42164 Internal Sendmail Support is ALWAYS disabled 2007-08-01 12:49:23 +00:00
Antony Dovgal
e15f25709a fix ZTS build 2007-07-24 20:14:03 +00:00
Jani Taskinen
e5b9fd0d6c - Changed "display_errors" php.ini option to accept "stderr" as value which
makes the error messages to be outputted to STDERR instead of STDOUT with
  CGI and CLI SAPIs.
2007-07-24 14:18:47 +00:00
Jani Taskinen
cc745f1724 fix folding 2007-07-24 13:29:39 +00:00
Jani Taskinen
562a0629e4 - Fix compile warnings 2007-07-21 01:41:55 +00:00
Jani Taskinen
12361c16b1 MFB: free error messages + ws fix 2007-07-15 15:20:29 +00:00
Johannes Schlüter
c91907a515 - Always enable mail() function 2007-07-11 17:39:04 +00:00
Jani Taskinen
8e399854e6 - No return value for void function 2007-07-11 10:23:47 +00:00
Stanislav Malyshev
9993892a18 check if write is allowed before writing to error log 2007-07-10 18:42:01 +00:00
Dmitry Stogov
f766275b7a Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented - STREAM_IS_URL, that
  means that userstream wrapper is remote (URL). By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-03 10:22:55 +00:00
Dmitry Stogov
e6209db14c HTTP 500 is sent to browser in case of PHP error instead of blank page 2007-06-15 09:20:53 +00:00
Dmitry Stogov
613b37a73e (wrong previous patch) 2007-06-15 07:32:17 +00:00
Dmitry Stogov
1e87928766 Prevent crash in case of wrong arguments to CRT functions (dtrftime()) on PHP complead by MS VC8 2007-06-15 07:28:49 +00:00
Antony Dovgal
a9f6f71460 check return value of *time_r() functions for NULL
more checks will follow
2007-06-07 08:46:32 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Rob Richards
c88e2b7618 MFB: add file locking under windows
change win build to use common clock compat files
2007-04-18 09:48:07 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Antony Dovgal
8bb69d5e0d MFB: Avoid locks when appening to the error log file 2007-04-08 08:02:02 +00:00
Antony Dovgal
b3352b6a04 drop deprecated funcs and change error level to E_WARNING 2007-03-28 10:22:33 +00:00
Stanislav Malyshev
3a0d0d1f2d limit nesting level of input variables 2007-03-02 22:04:46 +00:00
Marcus Boerger
66398d4e3e - Fix memleak 2007-02-03 14:57:24 +00:00
Sara Golemon
cc1b19cf0e Expand allow_url_fopen/allow_url_include functionality 2007-01-24 21:43:47 +00:00
Antony Dovgal
53e179ea11 fix fodling, mark set_time_limit() unicode safe 2007-01-18 12:37:44 +00:00
Marcus Boerger
54917a290b - MFH (Ilia's changes) 2007-01-09 18:38:38 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
8dce10427f use strlcat() and a bigger buffer 2006-12-28 12:01:14 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00