Commit Graph

2888 Commits

Author SHA1 Message Date
Johannes Schlüter
c91907a515 - Always enable mail() function 2007-07-11 17:39:04 +00:00
Dmitry Stogov
eb5dab85c9 Unicode support 2007-07-11 15:17:59 +00:00
Dmitry Stogov
922f3d5512 Fixed wrong warning 2007-07-11 14:32:54 +00:00
Jani Taskinen
8e399854e6 - No return value for void function 2007-07-11 10:23:47 +00:00
Sascha Schumann
ad31680f34 - fix concurrent reader/writer use case
(we read, while the other process writes -> if we don't try
   read we won't notice that the file has been growing.)
2007-07-10 20:13:29 +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
1f8c608320 Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:31 +00:00
Dmitry Stogov
da28d1e673 wrong comments 2007-07-09 16:42:45 +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
740f5957ba Restore big exponent letter in var_export() ('1e300' -> '1E300') 2007-06-25 08:39:23 +00:00
Derick Rethans
ad8eca0b05 - Added the H modifier to create non-locale-aware non-fixed-precision float
representations.
- Fixed var_export() to use the new H modifier so that it can generate
  parsable PHP code for floats again, independent of the locale.
2007-06-19 12:19:27 +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
b445a2eaa2 fix HTTP_RAW_POST_DATA in Unicode mode 2007-06-05 11:24:37 +00:00
Antony Dovgal
71d7ee6d33 port the max_input_nesting_level ini option to Unicode mode 2007-06-05 11:24:13 +00:00
Antony Dovgal
ecd414c3b8 no register_globals in HEAD 2007-06-04 07:56:39 +00:00
foobar
feab02f3ed - Improved the error message for exceeding max_input_nesting_level. 2007-06-03 16:53:37 +00:00
Ilia Alshanetsky
7d74c2c3e6 MFB: Improved fix for MOPB-02-2007 2007-06-03 16:19:55 +00:00
Antony Dovgal
cd7750e4ba fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:33:48 +00:00
Ilia Alshanetsky
e844eaedbb MFB 2007-05-29 21:06:04 +00:00
Ilia Alshanetsky
373ae24839 MFB 2007-05-28 23:52:13 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Rasmus Lerdorf
5c0389a6f8 Optimize sapi_get_request_time() slightly making it use the cached time
and also checking if there is a server_context before trying to call
the request_time sapi hook.
2007-05-25 09:19:05 +00:00
Antony Dovgal
c66d75a933 use correct constant 2007-05-19 12:52:31 +00:00
Scott MacVicar
b0856d961f Fixed bug #41390 (Clarify error message with invalid protocol scheme syntax) 2007-05-15 13:01:47 +00:00
Antony Dovgal
f6a01b2ace use estrdup() and plug the leak 2007-05-14 12:19:25 +00:00
Hannes Magnusson
e7c7f95ecd Fixed bug#41361 (shell_exec() does not find binaries) 2007-05-12 16:06:07 +00:00
Hannes Magnusson
c85e26cb06 MFB - use php_strtok_r() rather than strsep() 2007-05-10 19:51:19 +00:00
Dmitry Stogov
0ddb071abb Fixed bug #41304 (compress.zlib temp files left) 2007-05-08 12:08:41 +00:00
Nuno Lopes
018e610436 update pcre symbols list 2007-05-07 15:43:21 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Dmitry Stogov
00e9c1b1bf ZTS fix 2007-04-25 14:18:15 +00:00
Antony Dovgal
e6e242f418 MFB: Fix crashes when SAPI handlers are overriden in dl()-ed extensions 2007-04-25 11:19:10 +00:00
Hannes Magnusson
f1e35024fb - Don't pick up php.ini from cwd on BSDs
- "Resolve" (with the help of $PATH) to /path/to/php and pick up
	the php.ini from there
2007-04-25 10:02:23 +00:00
Dmitry Stogov
2918cda494 Fixed crash on win32 in case of negative size 2007-04-18 14:23:35 +00:00
Dmitry Stogov
98423baf13 Fixed crash 2007-04-18 13:53:32 +00:00
Dmitry Stogov
44ac45fd92 Fixed endless loop in open_basedir check 2007-04-18 11:59: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
c94da398b9 add support for %I64(u|d) to sprintf() utilities 2007-04-12 22:00:56 +00:00
Antony Dovgal
a8e133eafa MFB: fix #40931 (open_basedir bypass via symlink and move_uploaded_file()) 2007-04-10 22:31:27 +00:00
Dmitry Stogov
8610b4f6cf Fixed 64-bit support 2007-04-09 15:39:16 +00:00
Dmitry Stogov
e43c55d20f ZTS fix 2007-04-09 15:35:49 +00:00
Antony Dovgal
8bb69d5e0d MFB: Avoid locks when appening to the error log file 2007-04-08 08:02:02 +00:00
Andrei Zmievski
dce63050b8 MFB 2007-04-06 19:27:15 +00:00
Antony Dovgal
b3352b6a04 drop deprecated funcs and change error level to E_WARNING 2007-03-28 10:22:33 +00:00
Antony Dovgal
39454ffdfa fix compile warning 2007-03-28 09:13:55 +00:00
Sara Golemon
98e832d29e Fix handling over overridden file:// wrapper 2007-03-06 20:04:05 +00:00