Hartmut Holzgraefe
f8358b44d1
setlocale() will now accept multiple locale arguments, first match wins
2002-09-18 07:55:30 +00:00
Hartmut Holzgraefe
4e6635742d
it should not only work for the failure case
...
but also not fail (segfault) on the working case
2002-09-17 13:54:40 +00:00
Hartmut Holzgraefe
c5d4be214c
stupid lino-typo .... :(
2002-09-17 12:59:36 +00:00
Hartmut Holzgraefe
0c7d9c3742
headers_sent() may now return information about where output started
...
using the optional $file and $line reference parameters
2002-09-17 12:37:26 +00:00
Jan Lehnardt
53b0623878
- fix typo in comment
2002-09-14 12:09:47 +00:00
Andi Gutmans
288e9b1793
- Don't think we need the do { } while (0) here
2002-09-14 06:38:48 +00:00
Ilia Alshanetsky
687312be41
Do not create the destination file, if opening of the source file failed
...
during copy().
2002-09-13 13:34:06 +00:00
Stefan Esser
714eb8069a
made new ssl activate function the default.
2002-09-12 21:52:09 +00:00
Andrey Hristov
23d3cd79c1
Fixing my zts fix.
...
#Sorry Edin
2002-09-12 08:20:37 +00:00
Andrey Hristov
ad92434638
Removed magic numbers about the behavior of php_array_diff - proposed by
...
Andi and Jon Parise.
#It is strange that I commited ZTS code but after that Edin fixed ZTS build
#when I updated - it wasn't ZTS. hmmm. anyway fixing ZTS build.
2002-09-12 08:04:42 +00:00
Edin Kadribasic
ad34142e97
My compiler likes it like this.
2002-09-11 23:10:58 +00:00
Edin Kadribasic
705e72f363
Fix ZTS build.
2002-09-11 23:09:11 +00:00
Sterling Hughes
b34bec20a7
max this use the virtual_filepath() function and feel all threadsafe and
...
wholesome inside
2002-09-11 22:40:56 +00:00
Derick Rethans
aaf920f9d5
- Little whitespace changes
2002-09-11 18:40:56 +00:00
Andrey Hristov
2b710f7e5c
Regression test for array_diff() and array_diff_assoc(). The latter is newly
...
introduced.
2002-09-11 18:16:11 +00:00
Andrey Hristov
afdfe38ef3
New function added : array_diff_assoc() . Like array_diff() but does
...
additional checks on key values. Test script will be added too.
#My first patch . it feels strange :)
2002-09-11 18:13:48 +00:00
foobar
746c147670
tok tok..
2002-09-11 14:51:09 +00:00
foobar
daf6a5ab1a
ws fix
2002-09-11 14:40:52 +00:00
foobar
be52343850
fix proto
2002-09-11 14:24:27 +00:00
foobar
a254506a3c
ws fix
2002-09-11 14:21:39 +00:00
Edin Kadribasic
333b01b041
Fixed ZTS build.
2002-09-10 22:36:43 +00:00
Andrei Zmievski
dd7cf22443
@- Fixed array_merge_recursive() to avoid problems with merging cyclical
...
@ arrays (bug #16064 ). (Andrei)
2002-09-10 18:34:16 +00:00
Stefan Esser
184323cbe5
php_url_parse() replaces controlchars with '_' now. This stops fopen wrapper
...
CR/LF injection issues.
2002-09-10 08:06:25 +00:00
Andrei Zmievski
2c6154d7aa
@- Added ability to extract() variables as references via OR'able EXTR_REFS
...
@ flag. (Andrei)
2002-09-09 20:05:20 +00:00
Wez Furlong
8a85e0f614
put that back...
2002-09-09 19:11:35 +00:00
Wez Furlong
6bc7e97161
Revert Dericks accidental commit :-)
...
Add an Id tag so we can see at a glance who is to blame.
2002-09-09 19:09:23 +00:00
Anantha Kesari H Y
97a601fc15
NetWare related changes/modifications
2002-09-09 10:12:44 +00:00
Stefan Esser
cbf5e3ca06
Added possibility to reuse an old SSL session id.
...
Ugly but needed for f.e.: debians ftpd-ssl
2002-09-08 22:26:11 +00:00
Shane Caraveo
2c6dca5a6e
someone missed code requiring ssl
2002-09-08 20:52:03 +00:00
Stefan Esser
8dbcb26fd0
ftp(s) fopen() wrapper does no longer ignore the ip returned by PASV.
2002-09-08 19:35:42 +00:00
Stefan Esser
9fca868f90
Control connection gets closed in ssl mode now, too.
2002-09-08 19:11:07 +00:00
Stefan Esser
ec4a3fa68e
Added EXPERIMENTAL ftps fopen wrapper.
...
For now this leaks the control connection stream because you cannot
close the control connection in ssl mode before you read the data.
2002-09-08 16:45:32 +00:00
Sander Roobol
8a9820331c
Fix typo
2002-09-08 08:08:35 +00:00
Jan Lehnardt
de3b5c3631
- cosmetics
2002-09-07 23:14:22 +00:00
Ilia Alshanetsky
407088509f
Added a check to ensure user_agent header is not sent if user_agent value
...
if blank.
2002-09-07 21:57:11 +00:00
Wez Furlong
3df412cf9b
Fix a couple of bad pointer indirections (oops).
...
Lets stick to a single category of "http" for the "user_agent"
context override.
2002-09-07 20:58:30 +00:00
Wez Furlong
97f134cb45
fix warning
2002-09-07 20:54:14 +00:00
Wez Furlong
30082fdb68
Implement php://output wrapper, which can be used to write to the output
...
buffer via PHPWRITE.
2002-09-07 19:00:46 +00:00
Sterling Hughes
ce686a63de
commit the correct/up-to-date version
2002-09-07 15:55:04 +00:00
Sterling Hughes
91df221ab7
@ Made the User-Agent that php's fopen wrappers send, configurable via
...
@ php.ini or via a stream context. (Sterling)
The stream context is untested, but it should/could work :) Either way it
doesn't make the rest of the code bad. Wez -- please take a looksie for me
:)
2002-09-07 15:45:29 +00:00
Ilia Alshanetsky
3c95ac6b4f
Fixed a massive memory leak that occurs when an opened webpage returns
...
a non 200 return code.
2002-09-07 07:13:43 +00:00
Derick Rethans
828c2a9c46
- argh... this is getting annoying
2002-09-06 07:47:49 +00:00
Anantha Kesari H Y
338332c799
NetWare related changes/modifications
2002-09-06 07:44:30 +00:00
Derick Rethans
dc3ea09991
- Please do not use spaces for indentation!
...
- Removed redundend ifdefs
2002-09-06 07:30:51 +00:00
Anantha Kesari H Y
dc5d3f5585
NetWare related additions/modifications
2002-09-06 07:27:27 +00:00
Anantha Kesari H Y
0ea12a47ab
NetWare related additions/modifications
2002-09-06 06:39:57 +00:00
Dan Kalowsky
e560822fa7
silence a windows build warning
2002-09-05 21:29:39 +00:00
foobar
71ecad8fbe
Remove unnecessarily commented code.
2002-09-05 21:16:34 +00:00
foobar
d94758bec2
Remove unnecessary commented code.
2002-09-05 21:12:55 +00:00
Derick Rethans
2b6ba50601
- Unbreak build
2002-09-05 18:11:33 +00:00
Derick Rethans
99850fcc28
- Tabs for indentation
2002-09-05 14:36:33 +00:00
Derick Rethans
5c0b6f7fa8
- Please use tabs for indentation
2002-09-05 14:32:47 +00:00
Anantha Kesari H Y
8b8f1e0590
NetWare related additions/modifications
2002-09-05 14:25:07 +00:00
Ilia Alshanetsky
eb58557e1c
Fixed a buffer overflow that occurs when wordwrap is unable to calculate
...
the correct number of times the multi-byte break needs to be inserted into
the string.
2002-09-05 14:00:28 +00:00
Anantha Kesari H Y
96a4626b68
NetWare related additions/modifications
2002-09-05 12:09:57 +00:00
Anantha Kesari H Y
3e867bfdb1
NetWare related additions/modifications
2002-09-05 12:03:43 +00:00
Derick Rethans
60dcc761ac
- php_error -> php_error_docref
...
- corrected proto of implode() (to match the docs)
2002-09-05 11:29:31 +00:00
Hartmut Holzgraefe
101d155baa
in stristr:
...
this check was in the wrong place, the real version was some lines
below, this one assumed the type was 'string' in any case
now it looks like strstr
2002-09-05 11:12:01 +00:00
foobar
639221694f
Use zend_ini_string instead of the 'alias'.
2002-09-03 22:54:02 +00:00
Jan Lehnardt
2334abeff4
- cosmetics
2002-08-31 21:43:54 +00:00
Jan Lehnardt
81dcd62bc2
- seperate registered streams.
...
#read: make sebastian happy ;)
2002-08-29 18:28:11 +00:00
Ilia Alshanetsky
7a7497e21b
Fixed the \0 check in previous patch.
2002-08-29 15:58:33 +00:00
Ilia Alshanetsky
337448322f
Fixed bug #18966
2002-08-29 15:44:00 +00:00
Jan Lehnardt
e1cac684df
- fix ZTS build. thanks to edin.
2002-08-29 09:11:22 +00:00
Ilia Alshanetsky
f387972a97
Fixed compile warning (unused variable)
...
Added a \n separator between Addition Modules
2002-08-28 23:19:59 +00:00
Jan Lehnardt
6676617693
- add phpinfo() support for CLI.
...
@phpinfo() support for CLI (jan)
2002-08-28 22:31:51 +00:00
Rasmus Lerdorf
89651dabde
Description didn't match the function here
2002-08-28 22:14:42 +00:00
Dan Kalowsky
936df3c34f
silence build warning, added default case
2002-08-28 06:13:49 +00:00
Marcus Boerger
6063c8c478
fix fwrite to no longer apply stripslashes on input string when
...
magic_quotes_runtime is set On.
2002-08-26 23:18:59 +00:00
Marcus Boerger
f0b492b88d
fix proto and tweak error message
2002-08-26 23:16:51 +00:00
Derick Rethans
fc7eb838fc
- Whitespace
2002-08-26 09:47:46 +00:00
Derick Rethans
7edb660af9
@- Use escape_shell_cmd() to allow multiple extra parameters to the
...
@ invocation of the mailer as used in the fifth parameter to mail(). (Derick)
- Use escape_shell_cmd() to allow multiple extra parameters to the invocation
of the mailer as used in the fifth parameter to mail().
2002-08-26 09:44:31 +00:00
Wez Furlong
ddddf398af
WS
2002-08-25 19:44:25 +00:00
Ilia Alshanetsky
64ef43ecd4
Slight optimization of php_strtoupper & php_strtoupper functions.
2002-08-25 19:08:07 +00:00
Marcus Boerger
ba40963985
improoved error messages
2002-08-25 18:21:40 +00:00
Wez Furlong
5c6ad38c31
Prevent possible problems with include_path.
2002-08-25 12:09:57 +00:00
Wez Furlong
c7be7b55d1
Add a "closing" parameter for filters to determine if a flush is the last
...
flush before the stream is closed. This allows filters to finish a chunk
and write footers etc.
2002-08-25 10:26:58 +00:00
Stefan Esser
3efb925931
Overwrite control chars in parameters with whitespace instead of truncating.
2002-08-24 11:37:50 +00:00
Marcus Boerger
149ad05b4f
php_error_docref
...
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Zeev Suraski
5a5e206ec2
Fix import_request_variables()
2002-08-24 00:45:09 +00:00
foobar
ff5ed789bc
style fix
2002-08-22 01:20:50 +00:00
Ilia Alshanetsky
ea1bb5e172
Added monetary.h to prevent compile warning.
...
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault inside money_format in the event the value
to be formated is >1024 bytes.
Made the return value of money_format be null terminated.
2002-08-21 13:14:57 +00:00
Marcus Boerger
95e933fc99
Fixes array test 004.phpt. Nice copy paste error.
2002-08-21 11:23:44 +00:00
Marcus Boerger
a70640480a
Patch from Melvyn Sopacua <msopacua@idg.nl> finally fixes it (bug 19006).
2002-08-21 10:42:55 +00:00
Sebastian Bergmann
090e30a863
Fix ZTS build.
2002-08-21 06:22:19 +00:00
Marcus Boerger
d3d12daec4
add ini setting precision - this does not fix the real problem here
2002-08-21 03:13:33 +00:00
Marcus Boerger
be1e23cbc9
Add var_dump float format test
2002-08-21 01:27:56 +00:00
Marcus Boerger
534a63b5af
Add combined base64 and md5 test
2002-08-21 01:26:21 +00:00
Marcus Boerger
9607a482b2
fix array tests
...
someone must have changed precision in php.ini-dist from 14 to 12
2002-08-21 01:22:02 +00:00
Wez Furlong
9d348ea800
Implement filter API for streams.
...
Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.
Implement "string.rot13" filter
Allows the following script:
$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");
// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);
2002-08-20 20:47:47 +00:00
Wez Furlong
a9ba30cd89
fix vim modeline
2002-08-20 20:43:45 +00:00
Marcus Boerger
0f8681fc69
Changed handling of output buffer sizes.
2002-08-20 20:07:00 +00:00
Marcus Boerger
7bd7e14e4c
Changed handling of output buffer sizes.
...
#.c to follow
2002-08-20 20:01:14 +00:00
Derick Rethans
c20c3fc610
- Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974 )
2002-08-20 11:18:18 +00:00
Wez Furlong
5f9a5a7c8e
Remove php_stream_sock_set_blocking and replace with
...
php_stream_set_option which can be used in a similar way as ioctl()
to set options for streams.
Current options include buffering and blocking support.
o Buffer control is support for stdio based streams.
o Blocking/non-blocking is supported for stdio and socket based streams.
2002-08-19 22:59:10 +00:00
Ilia Alshanetsky
6dbc0e5483
Convert the value of tz_minuteswest inside struct timezone on Windows to
...
minutes from seconds.
2002-08-19 21:59:46 +00:00
Zeev Suraski
df4fdeb54e
Fix a warning
2002-08-19 20:47:42 +00:00
Sander Roobol
bed405cce4
Sync with var_unserializer.re
2002-08-19 20:02:59 +00:00
Sander Roobol
47ae4068bb
Made unserialize handle floats with an E notation - bug #18654
...
Patch by Christophe Sollet <csollet@coleebris.com>.
(I'll commit a new var_unserializer.c in a second)
2002-08-19 19:45:46 +00:00
Stanislav Malyshev
2282ac6074
ZE2 compatibility fix
...
## In ZE2 the hash contains zend_class_entry *!
2002-08-19 10:58:18 +00:00
Stanislav Malyshev
05156fa349
ZE2 compatibility fix
...
## In ZE2 the hash contains zend_class_entry *!
2002-08-18 12:22:28 +00:00
Ilia Alshanetsky
1aea030cf2
Corrected if() syntax in previous patch.
2002-08-18 07:54:33 +00:00
Ilia Alshanetsky
d42dbfce8e
Fixed a segmentation fault that would occur if an entry contained a
...
non-terminated enclosure. Bug #12556
2002-08-18 06:55:32 +00:00
Ilia Alshanetsky
3bd899ea43
Fixed a compile failure in Win32 caused by previous patch.
...
Changed else statement to comply with PHP coding standards.
2002-08-16 15:04:00 +00:00
Ilia Alshanetsky
f11c3a4095
Added a handler for php -r '' for SAFE_MODE
2002-08-16 12:47:56 +00:00
Sterling Hughes
88c1d8983f
clean this up a bit
2002-08-16 10:08:32 +00:00
Ilia Alshanetsky
b284497eaf
Added safe_mode & open_basedir check when a user is chaning ini options
...
that specify file system paths. Fixes bug #17168 .
2002-08-16 01:39:10 +00:00
Dan Kalowsky
dee21adc3d
Fix for bug #18401 , makes shuffle() properly generate all possibilities.
...
Patch provided by Adam Trachtenberg <adam@trachtenberg.com>
2002-08-15 19:09:05 +00:00
Marcus Boerger
18ef76e361
do not include "php_have_iconv.h"
2002-08-14 23:48:52 +00:00
Dan Kalowsky
19e42a2ed3
Fixed another memory leak, patch provided by Ilia <ilia@prohost.org>
2002-08-13 23:12:54 +00:00
Dan Kalowsky
ed135034a9
Fixes a memory leak which results when an invalid format code is
...
specified. Patch by Ilia <ilia@prohost.org>
#Someone give him php4 karma :)
2002-08-13 21:56:39 +00:00
Rasmus Lerdorf
b025bb1023
Missing proto
2002-08-13 05:08:47 +00:00
Rasmus Lerdorf
f50df31d7f
bool not boolean
2002-08-13 04:44:45 +00:00
Rasmus Lerdorf
d820c177bf
dir() returns an instantiated object, not a class.
2002-08-13 04:24:15 +00:00
Wez Furlong
fc1ef270ce
Implement curl based wrappers.
...
Currently read-only, and http is the only thing tested.
Because of this, using them can be controlled by configure:
--with-curlwrappers Use CURL for url streams
Not for production use...
This enables http, https, ftp and ldap protocols as streams.
2002-08-12 15:56:13 +00:00
Wez Furlong
3fe62cf0fb
Missing word...
2002-08-11 18:51:40 +00:00
Wez Furlong
bcef712ad6
Properly implement TSRM parameters to the new log_error
...
function... (Thanks Marcus!)
Add a convenience macro for importing a stream from a zval.
2002-08-11 14:29:01 +00:00
Wez Furlong
5a21ab42cb
Introduce an error stack for wrappers, to help prevent multiple errors
...
and warnings (some of which are bogus) when there are problems opening
streams.
Implement sanity check on the mode used to open ftp and http connections.
This fixes Bug 12004.
2002-08-11 10:53:10 +00:00
Marcus Boerger
21903dfc7e
corrected handling of internal output buffers
...
minor fixs
2002-08-10 16:12:36 +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
Wez Furlong
ccb5c84b6c
Centralize some blocking socket related code.
...
# It's been a while since I wrote this!
2002-08-09 21:02:36 +00:00
Marcus Boerger
783fddeb0f
possible memoryleak
2002-08-09 20:53:37 +00:00
Yasuo Ohgaki
c528157123
Remove duplicated checks.
2002-08-08 22:59:41 +00:00
Hartmut Holzgraefe
1059312f37
reverting ' to \" to stop stupid discussions
...
although i still do not believe the arguments are reasonable ...
2002-08-08 20:19:33 +00:00
Marcus Boerger
9cf0c30968
those are allways defined -> fixes warning in basic_functions.c
2002-08-08 17:53:52 +00:00
Hartmut Holzgraefe
e539c5564d
the order to do things is save-compile-commit
...
no variations and make sure editor and shell are in the same dir :(
2002-08-08 13:59:19 +00:00
Hartmut Holzgraefe
83586a6c06
fix for #18782 (setting background color without making sure the text
...
crtmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.
cvs [update aborted]: received interrupt signal
hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.c
RCS file: /repository/php4/ext/standard/info.c,v
retrieving revision 1.184
retrieving revision 1.188
Merging differences between 1.184 and 1.188 into info.c
rcsmerge: warning: conflicts during merge
cvs server: conflicts found in ext/standard/info.c
C ext/standard/info.c
hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs log ext/standard/info.c
RCS file: /repository/php4/ext/standard/info.c,v
Working file: ext/standard/info.c
head: 1.188
branch:
locks: strict
access list:
symbolic names:
dev/: 1.188
php_4_2_2: 1.167.2.1
PHP_4_2_2: 1.167.2.1.0.2
php_4_3_0_dev_zend2_alpha2: 1.183
php5_5_0: 1.182
php_4_3_0dev: 1.182
php_4_3_0_dev_zend2_alpha1: 1.181
php_4_2_1: 1.167.2.1
php_4_2_1RC2: 1.167.2.1
php_4_2_1RC1: 1.167.2.1
php_4_2_0: 1.167.2.1
php_4_2_0RC4: 1.167.2.1
php_4_2_0RC3: 1.167.2.1
php_4_2_0RC2: 1.167.2.1
php_4_2_0RC1: 1.167.2.1
PHP_4_2_0: 1.167.0.2
php_4_1_2: 1.153.2.1
php_4_1_1: 1.153.2.1
ChangeLog: 1.161
php_4_1_0: 1.153.2.1
php_4_1_0RC5: 1.153.2.1
php_4_1_0RC4: 1.153.2.1
php_4_1_0RC3: 1.153.2.1
php_4_1_0RC2: 1.153.2.1
php_4_1_0RC1: 1.153.2.1
php_4_0_7RC3: 1.153
php4: 1.157
POST_SUBST_Z_MACROS: 1.157
PRE_SUBST_Z_MACROS: 1.155
php_4_0_7RC2: 1.153
RAND_REDESIGN: 1.154.0.2
php_4_0_7RC1: 1.153
PHP_4_0_7: 1.153.0.2
PRE_TSRM_MERGE_PATCH: 1.142
php_4_0_6: 1.137.2.1
php_4_0_6RC4: 1.137.2.1
php_4_0_6RC3: 1.137.2.1
php_4_0_6RC2: 1.137.2.1
php_4_0_6RC1: 1.137
PHP_4_0_6: 1.137.0.2
php_4_0_5: 1.132
php_4_0_5RC8: 1.132
php_4_0_5RC7: 1.132
php_4_0_5RC6: 1.132
php_4_0_5RC5: 1.132
php_4_0_5RC4: 1.132
php_4_0_5RC3: 1.132
php_4_0_5RC2: 1.132
php_4_0_5RC1: 1.132
PHP_4_0_5: 1.132.0.2
php_4_0_4pl1: 1.124
php_4_0_4pl1RC2: 1.124
php_4_0_4pl1RC1: 1.124
php_4_0_4REL: 1.124
php_4_0_4RC6: 1.124
php_4_0_4RC5: 1.124
php_4_0_4RC4: 1.124
php_4_0_4RC3: 1.124
php_4_0_4: 1.124.0.2
php_4_0_3: 1.116
php_4_0_3RC2: 1.114
php_4_0_3RC1: 1.114
php_4_0_2: 1.113
php_4_0_2RC1: 1.110
PRE_FILE_COMPILE_API_CHANGE: 1.108
php_4_0_1pl1: 1.104
php_4_0_1: 1.104
php_4_0_1RC2: 1.104
php_4_0_1RC: 1.101
php_4_0_0: 1.93
php_4_0RC2: 1.89
php_4_0RC1: 1.70
php_4_0b4pl1: 1.67
php_4_0b4: 1.65
php_4_0b4_rc1: 1.65
BEFORE_SAPI_POST_PATCH_17_FEB_2000: 1.62
BEFORE_SAPIFICATION_FEB_10_2000: 1.60
BEFORE_PRE_SHUTDOWN_REVERSE_PATCH: 1.57
PRE_ISSET_TYPE: 1.55
PRE_LIBZEND_TO_ZEND: 1.51
PRE_USED_RETURN_VALUE_PATCH: 1.39
php_4_0b3: 1.39
php_4_0b3_RC5: 1.39
php_4_0b3_RC4: 1.39
php_4_0b3_RC3: 1.39
php_4_0b3_RC2: 1.39
before-sapi-split: 1.36
php_4_0b2: 1.30
php_4_0b2-2: 1.27
php_4_0b2-1: 1.27
BEFORE_NEW_OPERATOR_FIX: 1.26
newoperator: 1.26.0.2
BEFORE_BIG_SYMBOL_CHANGE: 1.26
php_4_0b1: 1.25
BEFORE_REMOVING_AI_COUNT_FINAL_STEP: 1.14
BEFORE_REMOVING_GC_STEP1: 1.14
BEFORE_PHP4_APACHE_MODULE_CHANGE: 1.14
keyword substitution: kv
total revisions: 191; selected revisions: 191
description:
----------------------------
revision 1.188
date: 2002/08/05 19:00:09; author: helly; state: Exp; lines: +16 -2
Correct carset if iconv is active
#Same solution would work for mbstring - but that must wait
----------------------------
revision 1.187
date: 2002/08/04 22:49:48; author: helly; state: Exp; lines: +9 -3
-Send charset US-ASCII or ini setting default_charset.
#After some discussion with Ilia Alshanetsky
#But perhaps we should have a look for a mbstring solution...
----------------------------
revision 1.186
date: 2002/08/04 18:59:16; author: georg; state: Exp; lines: +2 -2
ups.. :)
----------------------------
revision 1.185
date: 2002/08/04 18:57:02; author: georg; state: Exp; lines: +2 -2
added meta tag (w3c compliance)
Thx to Ilia Alshanetsky (ilia@prohost.org )
----------------------------
revision 1.184
date: 2002/07/01 18:52:30; author: derick; state: Exp; lines: +8 -8
- No C++ comments
----------------------------
revision 1.183
date: 2002/06/19 13:24:01; author: sander; state: Exp; lines: +7 -12
Made the API versions appear better on phpinfo();
----------------------------
revision 1.182
date: 2002/06/08 10:25:44; author: mfischer; state: Exp; lines: +32 -2
- Since streams are always enabled, instead of just printing 'enabled' we tell
what streams are currently registered.
----------------------------
revision 1.181
date: 2002/05/24 17:25:40; author: sander; state: Exp; lines: +4 -4
Fix <head> and <body> tags in phpinfo() output (#17411 )
----------------------------
revision 1.180
date: 2002/05/13 17:43:04; author: zeev; state: Exp; lines: +6 -6
- Fix a buglet in printing of GPCSE arrays
- Remove indirect access
----------------------------
revision 1.179
date: 2002/05/13 08:46:21; author: zeev; state: Exp; lines: +4 -1
- Centralize html_puts() again
- Revolutionize phpinfo()'s speed
----------------------------
revision 1.178
date: 2002/05/12 14:50:54; author: sas; state: Exp; lines: +2 -2
Use string_len information
----------------------------
revision 1.177
date: 2002/05/12 14:48:22; author: sas; state: Exp; lines: +7 -6
reenable php_html_puts
----------------------------
revision 1.176
date: 2002/05/11 12:41:32; author: zeev; state: Exp; lines: +6 -6
Centralize html_puts() logic - php_html_puts() remains as an API wrapper
----------------------------
revision 1.175
date: 2002/05/09 11:56:52; author: derick; state: Exp; lines: +4 -1
- Add PHP_API_VERSION too
----------------------------
revision 1.174
date: 2002/05/09 11:47:37; author: derick; state: Exp; lines: +7 -4
- Show both API nos
----------------------------
revision 1.173
date: 2002/05/02 17:36:00; author: fmk; state: Exp; lines: +2 -2
Fixing wrong pointer
----------------------------
revision 1.172
date: 2002/05/02 12:33:03; author: derick; state: Exp; lines: +7 -1
- Add Zend API No. to phpinofo() output
----------------------------
revision 1.171
date: 2002/03/29 10:19:23; author: ssb; state: Exp; lines: +71 -17
(PHP php_uname) display runtime uname rather than compile-time uname, added
an optional parameter to get single fields (like uname(1))
# Windows version is not tested, and I didn't know how to get
# `uname -n` on Windows, so it's hardcoded to "localhost" for now.
# Windows gurus feel free to fix. :-)
----------------------------
revision 1.170
date: 2002/03/15 21:03:05; author: wez; state: Exp; lines: +2 -4
New PHP streams...
----------------------------
revision 1.169
date: 2002/03/14 18:39:53; author: zeev; state: Exp; lines: +3 -3
Change case for consistency
----------------------------
revision 1.168
date: 2002/03/14 13:35:19; author: zeev; state: Exp; lines: +3 -3
Make it clearer what this entry means
----------------------------
revision 1.167
date: 2002/03/04 20:14:52; author: sas; state: Exp; lines: +2 -1
branches: 1.167.2;
Add apparently missing include
----------------------------
revision 1.166
date: 2002/03/04 18:46:53; author: sas; state: Exp; lines: +7 -6
Supply php_html_puts which escapes a whole string.. now fully works in ZTS
mode, too.
----------------------------
revision 1.165
date: 2002/03/04 18:12:55; author: sas; state: Exp; lines: +5 -5
revert last commit, puts does more through putc.
----------------------------
revision 1.164
date: 2002/03/04 17:48:20; author: sas; state: Exp; lines: +6 -6
Use PHPWRITE to output data. Because this just outputs diagnostic
information, a few spaces won't hurt (and multiple ones are rendered
as one by browsers anyway). Micro-benchmarks which use phpinfo()
as a mean to generate output will yield more through-put now
(35 req/s vs. 83 req/s in tux).
----------------------------
revision 1.163
date: 2002/02/28 08:26:45; author: sebastian; state: Exp; lines: +2 -2
Maintain headers.
----------------------------
revision 1.162
date: 2001/12/29 14:23:58; author: sebastian; state: Exp; lines: +2 -2
PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>.
----------------------------
revision 1.161
date: 2001/12/11 15:30:32; author: sebastian; state: Exp; lines: +3 -3
Update headers.
----------------------------
revision 1.160
date: 2001/12/06 13:31:34; author: sterling; state: Exp; lines: +3 -3
use PHP_INFO_ALL and PHP_CREDITS_ALL instead of hardcoding them
----------------------------
revision 1.159
date: 2001/10/11 23:33:49; author: ssb; state: Exp; lines: +17 -6
* zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
----------------------------
revision 1.158
date: 2001/10/06 20:13:37; author: derick; state: Exp; lines: +3 -3
- <br> -> <br />
----------------------------
revision 1.157
date: 2001/09/25 22:48:43; author: jeroen; state: Exp; lines: +2 -2
2nd phase in back-substitution those macro's
I've got pretty much everything now...
----------------------------
revision 1.156
date: 2001/09/25 21:58:23; author: jeroen; state: Exp; lines: +13 -13
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.
----------------------------
revision 1.155
date: 2001/09/09 13:29:18; author: derick; state: Exp; lines: +3 -3
- Don't wrap lines... this is annoying while coding.
----------------------------
revision 1.154
date: 2001/08/15 22:37:31; author: sniper; state: Exp; lines: +2 -2
Add the build time too. Bug: #12774
----------------------------
revision 1.153
date: 2001/08/13 19:31:16; author: zeev; state: Exp; lines: +5 -3
branches: 1.153.2;
Fix crashes in parse_parameters calls
HEADS UP: Make sure you supply TSRMLS_CC for this function!
I'll try to think of a way that'd allow us to find this issue using
the compiler.
----------------------------
revision 1.152
date: 2001/08/13 07:55:38; author: rasmus; state: Exp; lines: +19 -13
Track down a few more functions that don't check for 0 args and use
faster mechanism
----------------------------
revision 1.151
date: 2001/08/13 07:28:57; author: rasmus; state: Exp; lines: +3 -1
Oops, a little too much simplification there.. ;)
----------------------------
revision 1.150
date: 2001/08/13 06:43:47; author: rasmus; state: Exp; lines: +34 -36
We don't consistently check for args passed to functions that don't
take any args. In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks. There are still lots of cases out there.
----------------------------
revision 1.149
date: 2001/08/11 17:03:37; author: zeev; state: Exp; lines: +11 -11
Whitespace
----------------------------
revision 1.148
date: 2001/08/08 17:16:20; author: zeev; state: Exp; lines: +8 -7
- Implement $_FORM
- Update phpinfo()
- Update NEWS
----------------------------
revision 1.147
date: 2001/07/31 04:53:50; author: zeev; state: Exp; lines: +4 -5
More TSRMLS_FETCH work
----------------------------
revision 1.146
date: 2001/07/30 09:16:44; author: zeev; state: Exp; lines: +3 -4
More TSRMLS_FETCH work
----------------------------
revision 1.145
date: 2001/07/30 06:18:06; author: zeev; state: Exp; lines: +3 -2
More TSRMLS_FETCH work, and a bit of cleanup
----------------------------
revision 1.144
date: 2001/07/28 11:36:17; author: zeev; state: Exp; lines: +1 -2
Redesigned thread safety mechanism - nua nua
----------------------------
revision 1.143
date: 2001/07/27 10:16:30; author: zeev; state: Exp; lines: +10 -10
- 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...
----------------------------
revision 1.142
date: 2001/06/19 15:21:28; author: sbergmann; state: Exp; lines: +12 -12
Finish phpinfo() HTML 4.01 tweaking.
----------------------------
revision 1.141
date: 2001/06/15 18:34:09; author: sbergmann; state: Exp; lines: +38 -40
Make output of phpinfo() compliant with HTML 4.01.
----------------------------
revision 1.140
date: 2001/06/06 13:05:51; author: rasmus; state: Exp; lines: +27 -13
Fix folding and clean up some extensions
----------------------------
revision 1.139
date: 2001/06/05 13:12:04; author: rasmus; state: Exp; lines: +2 -1
vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
----------------------------
revision 1.138
date: 2001/05/20 01:31:53; author: sniper; state: Exp; lines: +2 -2
This looks better.
----------------------------
revision 1.137
date: 2001/05/11 13:34:49; author: derick; state: Exp; lines: +2 -2
branches: 1.137.2;
Tabs please...
----------------------------
revision 1.136
date: 2001/05/11 13:32:10; author: sbergmann; state: Exp; lines: +3 -1
Fix for bug #10815 .
----------------------------
revision 1.135
date: 2001/05/06 15:20:56; author: sniper; state: Exp; lines: +14 -14
Fix bug: #10323 . Every value outputted is now escaped.
----------------------------
revision 1.134
date: 2001/04/22 01:09:13; author: ssb; state: Exp; lines: +2 -2
* expanded the following constants and made them available in PHP:
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
----------------------------
revision 1.133
date: 2001/04/17 17:06:06; author: wez; state: Exp; lines: +6 -1
Changes for streams. Added temporary fopenstream function to PHP so that
the streams can be tested.
----------------------------
revision 1.132
date: 2001/03/04 22:03:23; author: zeev; state: Exp; lines: +2 -2
I don't know German, but I imagine that was the problem :)
----------------------------
revision 1.131
date: 2001/03/04 15:49:38; author: zeev; state: Exp; lines: +7 -8
Fix phpinfo() bug that crept in
----------------------------
revision 1.130
date: 2001/03/04 02:41:27; author: fmk; state: Exp; lines: +9 -15
Changed code layout to remove PHP warning when running php as a CGI.
----------------------------
revision 1.129
date: 2001/02/26 06:07:17; author: andi; state: Exp; lines: +2 -2
- Fix copyright notices with 2001
----------------------------
revision 1.128
date: 2001/01/02 22:49:26; author: zeev; state: Exp; lines: +3 -3
Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
----------------------------
revision 1.127
date: 2000/12/27 15:43:05; author: zeev; state: Exp; lines: +2 -2
- Make the INI mechanism thread safe (fix necessary API changes from Zend)
- Make the Win32 non-TS configuration build again
----------------------------
revision 1.126
date: 2000/12/22 12:57:08; author: zeev; state: Exp; lines: +2 -3
Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
----------------------------
revision 1.125
date: 2000/12/19 22:59:14; author: zeev; state: Exp; lines: +2 -1
Add the QA team to the credits
----------------------------
revision 1.124
date: 2000/11/20 10:05:57; author: hholzgra; state: Exp; lines: +1 -146
first step towards auto-generated credits
----------------------------
revision 1.123
date: 2000/11/19 19:18:12; author: hholzgra; state: Exp; lines: +2 -2
typo fix (copy/paste bug?)
----------------------------
revision 1.122
date: 2000/11/11 18:38:26; author: sas; state: Exp; lines: +7 -6
Add Apache 2.0 sapi module and sort alphabetically.
----------------------------
revision 1.121
date: 2000/11/06 22:53:11; author: derick; state: Exp; lines: +2 -2
- Added myself to the credits...
----------------------------
revision 1.120
date: 2000/11/05 23:34:49; author: jdonagher; state: Exp; lines: +25 -5
Bring phpcredits() up to date
----------------------------
revision 1.119
date: 2000/11/02 19:07:15; author: neotron; state: Exp; lines: +2 -2
Added Caudium to credit line.
----------------------------
revision 1.118
date: 2000/10/31 17:21:52; author: hholzgra; state: Exp; lines: +4 -4
generalization of image handling in phpinfo
----------------------------
revision 1.117
date: 2000/10/29 11:38:24; author: zeev; state: Exp; lines: +2 -2
Initial steps to move the INI mechanism to the Zend engine
----------------------------
revision 1.116
date: 2000/10/11 13:51:32; author: hholzgra; state: Exp; lines: +3 -3
proto typo fixes
----------------------------
revision 1.115
date: 2000/10/11 11:40:29; author: hholzgra; state: Exp; lines: +10 -1
added missing protos
----------------------------
revision 1.114
date: 2000/09/30 16:12:54; author: andi; state: Exp; lines: +2 -2
- Cleanup some output functions
----------------------------
revision 1.113
date: 2000/08/27 22:46:40; author: rasmus; state: Exp; lines: +17 -20
Some minor cleanup to make W3C's tidy validator happy
----------------------------
revision 1.112
date: 2000/08/27 19:42:45; author: ssb; state: Exp; lines: +35 -19
@Added php_uname() function (Stig)
Added php_uname() function.
----------------------------
revision 1.111
date: 2000/08/26 12:53:13; author: rubys; state: Exp; lines: +2 -1
Add ***EXPERIMENTAL*** Zend OO Extension support for Microsoft.Net
----------------------------
revision 1.110
date: 2000/08/21 09:50:52; author: sas; state: Exp; lines: +2 -2
Cleaning up some mess
----------------------------
revision 1.109
date: 2000/08/20 14:43:56; author: sas; state: Exp; lines: +2 -2
Fix numerus of SAPI Modules title
----------------------------
revision 1.108
date: 2000/07/26 05:41:38; author: sterling; state: Exp; lines: +2 -1
* EXTENSIONS -- update status on CURL & SWF
* NEWS --
1. Change wording for the ibase and sybase DB announcement.
2. Remove second pfpro announcement, if pfpro is being released with 4.0.2
entries about new features before 4.0.2 shouldn't be in there.
3. Joey, that entry just doesn't seem incredibly relevant to the NEWS file,
I'll backport it if you want (or add a new entry).
* ext/standard/info.c -- Add a CREDIT_LINE() for CURL.
----------------------------
revision 1.107
date: 2000/07/25 10:54:07; author: stas; state: Exp; lines: +3 -3
Report configuration path that is really used, not that is compiled in
# it does matter when using -c option
----------------------------
revision 1.106
date: 2000/07/24 01:39:49; author: david; state: Exp; lines: +3 -1
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
----------------------------
revision 1.105
date: 2000/07/08 19:31:16; author: eschmid; state: Exp; lines: +1 -1
Uncomplete proto.
----------------------------
revision 1.104
date: 2000/06/26 18:05:49; author: andrei; state: Exp; lines: +2 -2
Separate plain name returned by php_sapi_module() and pretty name
used for output.
----------------------------
revision 1.103
date: 2000/06/26 14:55:38; author: kk; state: Exp; lines: +3 -2
Corrected a syntax error: Macro requires braces.
----------------------------
revision 1.102
date: 2000/06/26 14:43:37; author: kk; state: Exp; lines: +12 -0
Added function php_sapi_name() as written by Stefan Livieratos.
----------------------------
revision 1.101
date: 2000/06/17 07:08:53; author: hholzgra; state: Exp; lines: +1 -1
changed default cell alignment to "left" (see bug id #5048 )
----------------------------
revision 1.100
date: 2000/06/16 18:23:57; author: hholzgra; state: Exp; lines: +2 -2
C++ // comments are evil ...
----------------------------
revision 1.99
date: 2000/06/09 01:50:44; author: zeev; state: Exp; lines: +9 -7
Move back everything to where it belongs...
----------------------------
revision 1.98
date: 2000/06/06 17:26:15; author: hholzgra; state: Exp; lines: +1 -1
added missing '/' to closing <center> tag (BUG ID #4416 )
----------------------------
revision 1.97
date: 2000/06/05 19:47:44; author: andi; state: Exp; lines: +2 -2
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
----------------------------
revision 1.96
date: 2000/06/03 03:05:29; author: zeev; state: Exp; lines: +1 -0
- Make the INI entries sorted in phpinfo()
----------------------------
revision 1.95
date: 2000/05/27 00:24:03; author: zeev; state: Exp; lines: +1 -1
Add Sam Ruby
----------------------------
revision 1.94
date: 2000/05/25 11:01:31; author: kk; state: Exp; lines: +2 -0
- Added credits.
----------------------------
revision 1.93
date: 2000/05/19 08:28:53; author: zeev; state: Exp; lines: +6 -1
Minor output mods
----------------------------
revision 1.92
date: 2000/05/18 15:34:35; author: zeev; state: Exp; lines: +2 -2
Update the license with the new clause 6
----------------------------
revision 1.91
date: 2000/05/12 20:49:26; author: sterling; state: Exp; lines: +1 -0
Add Meself for LibSWF.
----------------------------
revision 1.90
date: 2000/05/12 20:11:14; author: jah; state: Exp; lines: +3 -3
# Correct spelling, adding Andrew because half the code in that module is
# his, removing myself from Informix because I don't think my influence to
# that module was big enough worth mentioning, adding myself to GD because
# I think T1lib is worth mentioning. BTW, who wrote the TTF extension? I think
# he is missing credits here.
----------------------------
revision 1.89
date: 2000/05/04 10:38:14; author: sas; state: Exp; lines: +1 -1
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.
----------------------------
revision 1.88
date: 2000/04/27 18:37:02; author: zeev; state: Exp; lines: +1 -1
More error handling work (still completely disabled)
----------------------------
revision 1.87
date: 2000/04/21 16:20:11; author: thies; state: Exp; lines: +6 -0
add VDIR info
----------------------------
revision 1.86
date: 2000/04/19 23:46:26; author: zeev; state: Exp; lines: +2 -5
Fix Win32 compilation. Hillarious April 1st joke!
----------------------------
revision 1.85
date: 2000/04/19 23:17:02; author: cmv; state: Exp; lines: +17 -2
A little easter egg for April 1st ... :)
----------------------------
revision 1.84
date: 2000/04/19 12:43:54; author: zeev; state: Exp; lines: +6 -1
phpcredits() update.
----------------------------
revision 1.83
date: 2000/04/17 18:57:40; author: eschmid; state: Exp; lines: +1 -1
Have forgotten myself.
----------------------------
revision 1.82
date: 2000/04/14 21:12:21; author: eschmid; state: Exp; lines: +1 -1
Small corrections.
----------------------------
revision 1.81
date: 2000/04/14 18:22:43; author: zeev; state: Exp; lines: +5 -1
Add the documentation team to the credits page
----------------------------
revision 1.80
date: 2000/04/10 20:21:01; author: zeev; state: Exp; lines: +2 -2
Object overloading API changed slightly (llist is now a pointer)
----------------------------
revision 1.79
date: 2000/04/07 16:41:19; author: cmv; state: Exp; lines: +11 -10
more prettiness
----------------------------
revision 1.78
date: 2000/04/07 15:30:47; author: zeev; state: Exp; lines: +8 -6
Unify
----------------------------
revision 1.77
date: 2000/04/06 22:54:33; author: andi; state: Exp; lines: +1 -1
- ZEND_DEBUG is always defined
----------------------------
revision 1.76
date: 2000/04/05 22:30:19; author: cmv; state: Exp; lines: +1 -1
phpinfo() prettying
I will get to the rest of the functions later tonight or tomorrow
(i.e. from hyperwave to snmp)
----------------------------
revision 1.75
date: 2000/04/05 21:03:30; author: cmv; state: Exp; lines: +5 -3
finally (thanks Andreas)
----------------------------
revision 1.74
date: 2000/04/05 21:00:35; author: cmv; state: Exp; lines: +3 -3
still cant get this
----------------------------
revision 1.73
date: 2000/04/05 20:48:46; author: cmv; state: Exp; lines: +2 -2
phpinfo() prettying
----------------------------
revision 1.72
date: 2000/04/05 20:29:20; author: cmv; state: Exp; lines: +5 -3
fixed the segfault problem (probably not the prettiest way, but)
----------------------------
revision 1.71
date: 2000/04/05 20:17:02; author: cmv; state: Exp; lines: +132 -62
Prettying up the output of phpinfo(). Someone has to tell me how
to get a new .gif logo in there, and why the ZEND_DEBUG output is
causing seg faults.
I also need to go through all the modules and fix up the output they
create.
----------------------------
revision 1.70
date: 2000/03/16 02:18:24; author: thies; state: Exp; lines: +2 -0
*** empty log message ***
----------------------------
revision 1.69
date: 2000/02/26 03:20:54; author: zeev; state: Exp; lines: +1 -1
- Convert 'PHP3' to 'PHP'
- Avoid declaring crypt() related salt types twice
----------------------------
revision 1.68
date: 2000/02/24 08:07:29; author: eschmid; state: Exp; lines: +0 -2
More protos.
----------------------------
revision 1.67
date: 2000/02/21 14:50:41; author: chagenbu; state: Exp; lines: +2 -1
being accountable for the imap and mcal work that I've done (and adding an
MCAL credits line)
----------------------------
revision 1.66
date: 2000/02/21 14:35:28; author: askalski; state: Exp; lines: +2 -1
added myself to the FTP/IMAP credits
----------------------------
revision 1.65
date: 2000/02/19 23:41:21; author: zeev; state: Exp; lines: +2 -2
the pipe is breaking all the time
----------------------------
revision 1.64
date: 2000/02/19 20:12:26; author: zeev; state: Exp; lines: +1 -0
Worked on beautifying rfc1867.c a bit
@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
@ through HTTP upload (Zeev)
----------------------------
revision 1.63
date: 2000/02/18 17:59:44; author: zeev; state: Exp; lines: +35 -9
- Fix some issues with the ISAPI module, made it friendlier to non Win32 platforms
- Added .reg file for PWS setup
- Reordered some stuff in phpinfo()
----------------------------
revision 1.62
date: 2000/02/11 15:59:29; author: zeev; state: Exp; lines: +3 -3
Fine tune Andi's patch
----------------------------
revision 1.61
date: 2000/02/10 21:53:56; author: andi; state: Exp; lines: +3 -3
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
----------------------------
revision 1.60
date: 2000/02/05 22:58:59; author: zeev; state: Exp; lines: +56 -84
Standardize
----------------------------
revision 1.59
date: 2000/02/05 15:16:11; author: zeev; state: Exp; lines: +0 -2
Cleanup patches
----------------------------
revision 1.58
date: 2000/02/02 14:15:33; author: andrei; state: Exp; lines: +2 -3
Some rearranging.
----------------------------
revision 1.57
date: 2000/01/09 18:32:13; author: zeev; state: Exp; lines: +6 -3
@- Fixed a possible crash in phpinfo() (Zeev)
phpinfo() now ensures that HTTP_*_VARS[] are actually arrays before it tries
to access them...
----------------------------
revision 1.56
date: 2000/01/01 01:31:52; author: sas; state: Exp; lines: +1 -1
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
----------------------------
revision 1.55
date: 1999/12/21 20:35:43; author: zeev; state: Exp; lines: +12 -0
@- Fixed a bug in ODBC error reporting (Zeev)
@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
@ of the PHP and Zend logos used in phpinfo() (Zeev)
----------------------------
revision 1.54
date: 1999/12/20 23:09:49; author: sas; state: Exp; lines: +2 -1
Use sapi_module_struct to contain SAPI module name
----------------------------
revision 1.53
date: 1999/12/20 15:38:44; author: zeev; state: Exp; lines: +1 -1
Make the Win32 tree compile again
----------------------------
revision 1.52
date: 1999/12/20 07:12:27; author: sas; state: Exp; lines: +2 -0
Add information about chosen SAPI module to phpinfo()
----------------------------
revision 1.51
date: 1999/12/18 22:35:27; author: zeev; state: Exp; lines: +2 -2
- The tree compiles again
----------------------------
revision 1.50
date: 1999/12/18 04:01:14; author: zeev; state: Exp; lines: +7 -7
More php3_ annihilation
----------------------------
revision 1.49
date: 1999/12/14 03:48:46; author: thies; state: Exp; lines: +12 -8
use _ex-API
----------------------------
revision 1.48
date: 1999/12/07 02:49:03; author: evan; state: Exp; lines: +1 -0
Mention CyberCash.
----------------------------
revision 1.47
date: 1999/12/03 20:08:24; author: rubys; state: Exp; lines: +2 -0
windows build errors
----------------------------
revision 1.46
date: 1999/12/03 17:10:18; author: neotron; state: Exp; lines: +1 -0
Added credit notes for Roxen SAPI module
----------------------------
revision 1.45
date: 1999/12/03 13:31:41; author: ssb; state: Exp; lines: +1 -1
Add configure command to phpinfo() output (Stig)
----------------------------
revision 1.44
date: 1999/11/29 15:36:24; author: rubys; state: Exp; lines: +1 -0
Initial alpha-level of sapi/servlet. See README for details.
----------------------------
revision 1.43
date: 1999/11/24 17:56:31; author: sas; state: Exp; lines: +0 -1
Killing some unused variable warnings
----------------------------
revision 1.42
date: 1999/11/22 19:10:14; author: fmk; state: Exp; lines: +1 -0
add MS SQL module to credit info
----------------------------
revision 1.41
date: 1999/11/18 03:03:24; author: rubys; state: Exp; lines: +1 -1
arg! alphabetize correctly!
----------------------------
revision 1.40
date: 1999/11/18 02:40:52; author: rubys; state: Exp; lines: +1 -0
add Java module to credit info
----------------------------
revision 1.39
date: 1999/10/20 16:16:58; author: sas; state: Exp; lines: +1 -1
(_display_module_info): Add anchor for module names
----------------------------
revision 1.38
date: 1999/10/04 15:18:19; author: sas; state: Exp; lines: +1 -1
* archive-based convenience libraries completely replaced
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
----------------------------
revision 1.37
date: 1999/10/01 14:54:55; author: andrei; state: Exp; lines: +4 -4
rename.
----------------------------
revision 1.36
date: 1999/09/25 15:41:51; author: sas; state: Exp; lines: +1 -0
Add entry for AOLserver.
----------------------------
revision 1.35
date: 1999/09/24 18:02:58; author: thies; state: Exp; lines: +1 -1
updated XML (only partly tested)
----------------------------
revision 1.34
date: 1999/09/16 22:15:43; author: zeev; state: Exp; lines: +1 -1
Generalize SAPI a bit
----------------------------
revision 1.33
date: 1999/09/13 01:11:41; author: zeev; state: Exp; lines: +7 -1
Modified phpinfo() to show the contents of arrays in HTTP_*_VARS[]
----------------------------
revision 1.32
date: 1999/09/13 00:35:03; author: zeev; state: Exp; lines: +14 -2
Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)
----------------------------
revision 1.31
date: 1999/09/11 16:32:08; author: zeev; state: Exp; lines: +4 -4
Rename allow_builtin_links to expose_php
----------------------------
revision 1.30
date: 1999/08/07 18:21:35; author: zeev; state: Exp; lines: +18 -10
Built-in phpinfo() links are now turned off by default. They can be
turned on using the allow_builtin_links INI directive
----------------------------
revision 1.29
date: 1999/08/07 17:52:11; author: zeev; state: Exp; lines: +18 -3
- Changed phpinfo() to list modules that have no info function
----------------------------
revision 1.28
date: 1999/08/07 15:50:26; author: sr; state: Exp; lines: +1 -1
Corrected spelling.
----------------------------
revision 1.27
date: 1999/08/02 19:16:50; author: zeev; state: Exp; lines: +38 -38
Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
----------------------------
revision 1.26
date: 1999/07/19 20:27:49; author: andrey; state: Exp; lines: +1 -0
Updated status
----------------------------
revision 1.25
date: 1999/07/19 18:37:42; author: zeev; state: Exp; lines: +10 -10
*** empty log message ***
----------------------------
revision 1.24
date: 1999/07/19 14:07:10; author: sas; state: Exp; lines: +1 -0
update
----------------------------
revision 1.23
date: 1999/07/19 13:35:13; author: andrey; state: Exp; lines: +3 -1
More credits.
----------------------------
revision 1.22
date: 1999/07/17 20:38:14; author: andrey; state: Exp; lines: +2 -1
Update credits a bit.
"Overall Work" line should probably be extended.
----------------------------
revision 1.21
date: 1999/07/17 19:22:27; author: zeev; state: Exp; lines: +3 -3
*** empty log message ***
----------------------------
revision 1.20
date: 1999/07/17 19:17:42; author: zeev; state: Exp; lines: +115 -60
I was sure I committed these already. Weird
----------------------------
revision 1.19
date: 1999/07/17 17:33:42; author: zeev; state: Exp; lines: +44 -2
*** empty log message ***
----------------------------
revision 1.18
date: 1999/07/16 13:12:56; author: zeev; state: Exp; lines: +9 -20
License update
----------------------------
revision 1.17
date: 1999/07/14 23:34:30; author: zeev; state: Exp; lines: +1 -1
php3.ini -> php.ini
----------------------------
revision 1.16
date: 1999/07/14 23:33:00; author: zeev; state: Exp; lines: +2 -2
* Update logos
* Move from PreAlpha 1 to Beta 1.
----------------------------
revision 1.15
date: 1999/07/14 16:02:10; author: andi; state: Exp; lines: +129 -151
- Add a bitwise flag to phpinfo()
- Import a draft of the new PHP license
----------------------------
revision 1.14
date: 1999/05/20 12:06:45; author: andi; state: Exp; lines: +6 -0
- Small fixes
----------------------------
revision 1.13
date: 1999/05/16 11:19:26; author: sas; state: Exp; lines: +2 -2
conv_proto *.[ch]
----------------------------
revision 1.12
date: 1999/05/11 00:43:46; author: zeev; state: Exp; lines: +13 -17
beatify Apache's info func
----------------------------
revision 1.11
date: 1999/05/09 08:48:01; author: zeev; state: Exp; lines: +100 -159
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
----------------------------
revision 1.10
date: 1999/05/06 18:09:50; author: zeev; state: Exp; lines: +3 -0
* Optimize _php3_parse_gpc_data() and clean it up, plus fix a couple of Zend related memory leaks in it
----------------------------
revision 1.9
date: 1999/05/02 19:54:02; author: zeev; state: Exp; lines: +7 -2
Move path_info to the SAPI structure
----------------------------
revision 1.8
date: 1999/04/26 17:26:36; author: zeev; state: Exp; lines: +19 -10
* Get the Apache module to compile again
* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
but it nuked a global)
----------------------------
revision 1.7
date: 1999/04/26 14:00:49; author: zeev; state: Exp; lines: +1 -3
* Plenty of thread safety and Win32 work.
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
* Switched to using the DLL runtime library under Win32. PHP will NOT work if
compiled against the static library!
* Removed yesterday's php4libts project (with php4dllts, it's obsolete).
This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
dependant on the thread-unsafe DLL.
----------------------------
revision 1.6
date: 1999/04/24 00:11:56; author: zeev; state: Exp; lines: +8 -12
A lot of cleanups... Removed old thread-safe code and other redundant code and files
----------------------------
revision 1.5
date: 1999/04/23 20:05:59; author: zeev; state: Exp; lines: +1 -3
Remove tls.[ch]
----------------------------
revision 1.4
date: 1999/04/22 00:25:57; author: ssb; state: Exp; lines: +1 -1
moved fdf, hyperwave, informix and some smaller files
----------------------------
revision 1.3
date: 1999/04/18 15:58:26; author: zeev; state: Exp; lines: +3 -3
Make Win32 happy with the recent changes.
----------------------------
revision 1.2
date: 1999/04/17 01:52:58; author: ssb; state: Exp; lines: +6 -2
make sure the images on the phpinfo() page point to PHP-enabled pages
----------------------------
revision 1.1
date: 1999/04/17 00:37:06; author: ssb; state: Exp;
First commit of re-structuring phase one. We have started using automake in
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: ext/standard/info.c
CVS: ----------------------------------------------------------------------
~ olor is readable on it)
someone should change all this to make use of CSS as we already have
a CSS block in there, but i do not know enough about it
oh, btw: changed all the ugly uses of \" in tag attriutes to '
as i was already on it ;)
2002-08-08 13:31:49 +00:00
Sascha Schumann
cd64450cd7
Touch file
2002-08-06 00:07:05 +00:00
Marcus Boerger
55f735a587
Correct carset if iconv is active
...
#Same solution would work for mbstring - but that must wait
2002-08-05 19:00:09 +00:00
Marcus Boerger
fd26a5c0a9
-New function ob_list_handlers
...
@- Added ob_list_handlers() which returns an array of all active output
@ handlers. (marcus)
2002-08-05 03:09:42 +00:00
Shane Caraveo
7645343c4a
need to export var_replace and var_destroy for win32
2002-08-04 23:45:38 +00:00
Marcus Boerger
fa175d6fa2
-Send charset US-ASCII or ini setting default_charset.
...
#After some discussion with Ilia Alshanetsky
#But perhaps we should have a look for a mbstring solution...
2002-08-04 22:49:48 +00:00
Georg Richter
06b5f1f546
ups.. :)
2002-08-04 18:59:16 +00:00
Georg Richter
83a09ac1f9
added meta tag (w3c compliance)
...
Thx to Ilia Alshanetsky (ilia@prohost.org )
2002-08-04 18:57:02 +00:00
James E. Flemer
9eb1213206
Close pipes to avoid deadlock.
...
Submitted By: Melvyn Sopacua <msopacua@idg.nl>
2002-08-03 14:54:30 +00:00
Brad LaFountain
c90764d753
one last fix for array_shift
2002-08-03 00:40:46 +00:00
James E. Flemer
3a8d66a021
Fix typo in #if. Bug #17538 .
2002-08-02 14:35:24 +00:00
Hartmut Holzgraefe
e5fa36eee4
added money_format() function
...
this is similar to C-libs strfmon(), using the same format string
semantics but a different function prototype, so i decided to
give it a more speaking name similar to number_format()
2002-08-02 10:08:53 +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
Brad LaFountain
9b0553c390
array_pop wasnt setting next index
2002-08-01 17:34:31 +00:00
foobar
922b7596a2
That was not correct..
2002-08-01 16:44:47 +00:00
foobar
6df2b90c05
Reset index when doing array_pop()
2002-08-01 16:39:52 +00:00
foobar
362fc4ee76
Add test for the index resetting.
2002-08-01 16:39:14 +00:00
Rasmus Lerdorf
b15651c95f
Ugh
2002-08-01 15:51:56 +00:00
foobar
ababdff402
Added tests for array_shift/array_pop.
2002-08-01 12:33:02 +00:00
foobar
06b3dd122f
Nuke compile warning.
2002-08-01 12:07:15 +00:00
foobar
9d62cd7d45
- Removed the DOS line endings
...
- Changed the '//' comment (this is C, not C++) to /* */
# Brad, use some editor which works..
2002-08-01 12:06:46 +00:00
Brad LaFountain
4f5bd6b7d4
made array_shift re-index like it did before previous fix
2002-08-01 04:38:11 +00:00
foobar
9fe39b9604
Reverted the patch..it breaks the original behaviour of at least array_shift.
2002-07-31 13:49:50 +00:00
Brad LaFountain
70fb744365
fixed bugs 16063 and 16068
...
increased preformance of array_pop and array_shift
2002-07-30 22:54:12 +00:00
Dan Kalowsky
18c0d30c58
Commiting Steph@php.net's patch to re-enable touch on Win32 machines
2002-07-30 20:24:13 +00:00
Rasmus Lerdorf
059f302596
Fix strtotime() "next" keyword handling.
2002-07-30 18:42:19 +00:00
Rasmus Lerdorf
d56bc7934d
Fix for #18638 (str_rot13 bug)
2002-07-30 10:51:33 +00:00
Edin Kadribasic
a55c1228ed
Fixed bug #14657 (patch by Steph Fox)
2002-07-29 13:13:50 +00:00
Derick Rethans
1630e1788f
- Copy and paste error -> unify error messages
2002-07-28 19:29:28 +00:00
Stefan Esser
bffe4cf222
Added sha1, sha1_file functions.
2002-07-28 19:18:08 +00:00
Georg Richter
797f7736eb
Bugfix: #18532
...
Fixed week number calculation in accordance with ISO 8601
2002-07-26 16:50:34 +00:00
Stefan Esser
02e6cd022a
all functions based on php_stat are now safe mode aware...
2002-07-26 08:04:42 +00:00
Derick Rethans
b7cc9f7447
- Added parameter to print_r which returns the variable representation
...
instead of echoing it.
@- Added parameter to print_r which returns the variable representation
@ instead of echoing it. (Derick)
2002-07-25 11:22:20 +00:00
Yasuo Ohgaki
7b3fb771e4
is_object() returns FALSE if object is a "incomplete object".
...
Raise E_NOTICE, instead of E_ERROR, for setting/getting properties
to/from a "incomplete object".
2002-07-24 09:55:11 +00:00
jim winstead
e83a35d215
restore shane to list of members of php group (got lost somewhere along the way)
2002-07-23 23:46:54 +00:00
Jason Greene
a64eceef59
Switch streams socket abstraction to use a timeval structure instead of an
...
integer to allow subsecond timeouts.
This supports the previous behavior of fsockopen()
Fixes bug #16261
2002-07-22 18:46:26 +00:00
Jason Greene
9b68acb7f7
@Fixed infinite recursion crash bug in ticks (Jason)
...
Prevent reenterant calls to a user tick function by flagging the function
entry during call.
This prevents code like the following from infinitely recursing until a
crash occurs:
<?php
register_tick_function(a);
declare(ticks=1) {
function a() {
print "blah\n";
}
;
;
;
;
}
?>
2002-07-16 14:14:22 +00:00
Sander Roobol
99b495b25d
Fixed win32 build
2002-07-13 09:26:36 +00:00
foobar
f059932711
nuke unused variable warning
2002-07-13 07:10:59 +00:00
foobar
e3797ab76a
Fixed bug: #16638 .
2002-07-13 04:45:21 +00:00
foobar
2f8dc7a47c
- Made the trim functions use same base function. (less code :)
...
- Renamed php_trim2 -> php_trim (not used anyplace else, yet)
- Made php_trim abit more usable for external use. (not necessary to use
zvals with it anymore)
2002-07-13 04:13:43 +00:00
foobar
48634e4026
- Fixed compile (bug #18297 ) on such systems which define uchar.
2002-07-12 22:34:43 +00:00
foobar
c8f5edec93
Fixed bug: #16637 , username/password needs to be urlencoded.
2002-07-11 02:35:45 +00:00
Jason Greene
d907b2d525
@Fixed socket_set_timeout on win32 (Jason, Edin, Jani)
2002-07-10 15:23:47 +00:00
Andi Gutmans
c28df01280
- Add TSRMLS_DC to prototype.
2002-07-08 18:44:05 +00:00
Andi Gutmans
b4146638f0
- Fix TSRMLS_* stuff
2002-07-08 18:29:54 +00:00
Derick Rethans
728f2de442
Unify error messages
2002-07-08 12:52:22 +00:00
Derick Rethans
bd356fd0b9
Unify error messages
2002-07-08 11:52:57 +00:00
Derick Rethans
fca0231206
- Add warning to is_*() functions if more than one argument was passed
2002-07-08 11:50:01 +00:00
Derick Rethans
392a452c80
Silence warning
2002-07-08 07:33:22 +00:00
Derick Rethans
cc920570fd
Unify error messages
2002-07-08 07:32:59 +00:00
Derick Rethans
7faa669915
- Fix for bug #14580 : Made key() binary safe
2002-07-08 07:02:55 +00:00
Sterling Hughes
a6d815fb7c
fix win32 build
2002-07-07 21:51:25 +00:00
Sebastian Bergmann
72e7e4afd9
Fix warning.
2002-07-07 08:19:36 +00:00
Stig Bakken
c6ec881953
* fix segfault in case of odd version numbers
2002-07-05 01:00:05 +00:00
Stig Bakken
8b4a25ec13
(PHP version_compare) added "alpha" and "beta", make tests pass
2002-07-05 00:55:02 +00:00
Frank M. Kromann
fd348068f4
Adding missing prototype
2002-07-03 18:23:24 +00:00
Sascha Schumann
9c876ea01a
Add sapi_header_op interface which supersedes the sapi_add_header and _ex
...
calls.
Revert the change to the sapi_add_header_ex interface.
Fix various bugs:
1. header("HTTP/1.0 306 foo");
header("Location: absolute-uri");
did not work in combination with several SAPI modules, because
http_status_line was never properly reset. And thus, all SAPI
modules which looked at http_status_line ignored the changed
http_response_code.
2. The CGI SAPI did not send out the HTTP status line at all, if
http_status_line had not been set explicitly by calling
header("HTTP/1.0 200 foo");
2002-07-03 10:42:31 +00:00
Derick Rethans
c73733c59a
- Fix windows build
...
#- I could not test this, please try!
2002-07-03 06:45:01 +00:00
foobar
980d7a11a9
Fix the nasty crash. And Sterling..test next time before you commit?
2002-07-03 03:18:55 +00:00
Frank M. Kromann
8a7c339974
Add default arguments to new internal mail function.
2002-07-02 23:46:15 +00:00
Sterling Hughes
d4512030bb
use access instead of manually determining file permissions..
2002-07-02 21:02:34 +00:00
Derick Rethans
f7cab95a7d
- Be nice to users and allow them to check if the mail was send
2002-07-02 14:22:22 +00:00
Derick Rethans
0d61ab3814
- Disable 5th parameter to mail in safemode
...
@- Disabled the fifth parameter to the mail function in safemode. (Derick)
2002-07-02 13:56:47 +00:00
Derick Rethans
7b7608d630
- Fix for bug #15547 (Patch by Justin Garrett <usjgarrett@byu.edu>)
2002-07-02 06:16:35 +00:00
Derick Rethans
d73eed9210
- No C++ comments
2002-07-01 18:52:30 +00:00
Sascha Schumann
71a603ea32
Fix some 8bit issues with IRCG nickname encoding and
...
Change the underlying interface of smart_str to accept unsigned char.
2002-06-29 18:46:49 +00:00
Derick Rethans
1bf9b3d736
- Fix for bug #17654
2002-06-29 15:39:41 +00:00
Thies C. Arntzen
5a0c283700
fix leak
2002-06-29 11:13:03 +00:00
Sander Roobol
609e134871
Update configure line in phpinfo() after re-running configure without
...
running make clean first, bug #18012 .
2002-06-27 10:01:06 +00:00
Derick Rethans
ea303541f8
- And the SAPI too
2002-06-26 18:58:49 +00:00
Derick Rethans
3696bc781a
- Update credits
2002-06-26 18:58:25 +00:00
Andi Gutmans
1f58a8f087
- No idea why this wasn't crashing before.
2002-06-26 07:36:01 +00:00
Marcus Boerger
43ec2dfa59
bits/channels for gif
2002-06-25 21:22:14 +00:00
Marcus Boerger
ba6498e4c5
missing return value
2002-06-24 22:00:22 +00:00
Marcus Boerger
cccc4e3c5a
register IMAGETYPE_<xxx> constants in image.c as they are needed
...
there.
2002-06-24 19:36:26 +00:00
Marcus Boerger
48bdf08edb
@GetImageSize now allways set fields unknown to 0 and new Imagetype
...
@iff. (Marcus)
2002-06-24 19:19:08 +00:00
Marcus Boerger
1f56d4ba08
-imagetype2mimetype renamed to image_type_to_mime_type
2002-06-23 00:43:11 +00:00
Marcus Boerger
d782c712ca
-exif version
...
-missing constant (and notice)
-corrected error messages
2002-06-22 23:43:16 +00:00
Marcus Boerger
c8f1529d08
@GetImageSize now returns additional index 'MimeType' and new function
...
@imagetype2mimetype to convert php imagetypes to mime-types. (Marcus)
#the reason why i export php_imagetype2mimetype is that i use that for
#exif, too. Followup example will explain why.
2002-06-22 18:14:39 +00:00
Marcus Boerger
d4b1909afe
ws fix
2002-06-22 17:09:28 +00:00
Derick Rethans
6869cb3f5a
- Added a new parameter to the header() function which overrides the HTTP
...
response code.
@- Added a new parameter to the header() function which overrides the HTTP
@ response code. (Derick)
2002-06-21 09:31:21 +00:00
Sander Roobol
3d1612c2fb
Made the API versions appear better on phpinfo();
2002-06-19 13:24:01 +00:00
Stig Venaas
7853832234
Made array_unique() always keep the first occurrences of duplicates,
...
making the behavior easier to understand, and maybe more useful.
2002-06-18 19:37:59 +00:00
Jan Lehnardt
df226a54d9
- WS-fixes
2002-06-18 13:16:33 +00:00
Hartmut Holzgraefe
303852b42e
- fixed bug in enclosure handling (was still hardcoded to '"' in one place)
...
- added possibility to pass empty enclosure if you really don't want one
2002-06-18 12:16:27 +00:00
Sander Roobol
ace4a23dfc
Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for
...
add- and stripslashes().
# this time without cvs messing up and aborting, hopefully :)
2002-06-18 11:51:06 +00:00
Sander Roobol
07975157eb
Fix stripslashes when magic_quotes_sybase is enabled, and add a test for
...
add- and stripslashes().
2002-06-18 11:42:21 +00:00
Derick Rethans
ba5257a2ec
- Fix for bug #16065
2002-06-18 11:09:21 +00:00
Edin Kadribasic
67689bd557
ZTS fix.
2002-06-18 00:14:52 +00:00
Edin Kadribasic
fb6bcda13b
Check for +/- infinity in base_convert (bug #14807 ).
2002-06-18 00:04:33 +00:00
Andrei Zmievski
a347ed559b
Applied fix for #17764 .
...
@- Fixed a crash in ereg_replace() when backreference number was greater
@ than the number of subpatterns. (oliver@billix.franken.de )
2002-06-17 15:10:22 +00:00
Hartmut Holzgraefe
efdde5efe5
making printf/sprintf locale-aware without external dependencies
2002-06-17 11:50:25 +00:00
Hartmut Holzgraefe
00b667b61b
fixed return types for ucwords/ucfirst when passed an empty string
2002-06-17 11:37:49 +00:00
Stefan Esser
984b48b009
Fixed Bug #17790
...
- link and symlink now check uid and open_base_dir for link and its target
2002-06-16 21:24:15 +00:00
Hartmut Holzgraefe
0170e42763
reverted patch depending on not yet commited work
2002-06-16 21:22:10 +00:00
Hartmut Holzgraefe
7686d43737
make sprinf() locale-aware (Bug# 12647)
2002-06-16 13:14:21 +00:00
Sebastian Bergmann
596859eb44
Remove unused local variables.
2002-06-14 05:42:08 +00:00
Stefan Esser
2eb859842b
Fixed: possible bufferunderrun (worst case == invalid free bytes counter)
...
Fixed: isXXXX macros need (unsigned char) cast
Fixed: bug#17746 - control chars are now filtered within "to" and "subject" parameters
2002-06-13 18:54:45 +00:00
foobar
01dff4d97a
- Fixed bug #17669 . PG(magic_quotes_runtime) wasn't reset for each request.
2002-06-12 17:25:48 +00:00
Hartmut Holzgraefe
808dd7dd5f
fix for bug #10616 -> mktime() with negative date offsets not working on MacOSX
2002-06-12 15:35:27 +00:00
Jason Greene
c6a36d585b
@Impelemented timeout functionality, and fixed error handling of fsockopen() on win32
...
Also fixed error handling on unix (micropatch)
Closes Bug #14740
2002-06-11 03:55:28 +00:00
Jan Lehnardt
a8de8ec90c
- whitespace fix
2002-06-10 16:34:25 +00:00
Harald Radi
8e19555608
fix the build
2002-06-10 12:21:58 +00:00
Markus Fischer
f9936a8459
- Fix proto.
2002-06-10 10:28:33 +00:00
Andrei Zmievski
7f4c12b006
Fix bug #7045 : shuffle() now provides consistent distribution of values
...
in the array.
2002-06-10 02:28:32 +00:00
Andrei Zmievski
5f3a9ebf13
Make RAND_RANGE() an API macro.
2002-06-09 04:26:36 +00:00
Markus Fischer
0cd40c2808
- Since streams are always enabled, instead of just printing 'enabled' we tell
...
what streams are currently registered.
2002-06-08 10:25:44 +00:00
Rasmus Lerdorf
ca9c4270f8
Make sure len is defined here
2002-06-03 18:26:27 +00:00
Edin Kadribasic
e7ab5766d6
Fixed array_rand() on ZTS platforms.
...
@- Fixed array_rand() on thread-safe platforms such as Windows. (Edin)
2002-06-03 17:49:48 +00:00
Harald Radi
d3383bab2d
added wez to the com extension
2002-05-31 10:06:19 +00:00
Stig Bakken
90efd3abe6
@Fix segfault in version_compare() (Stig)
2002-05-26 12:01:30 +00:00
Sander Roobol
b80c27f7ae
Fix <head> and <body> tags in phpinfo() output ( #17411 )
2002-05-24 17:25:40 +00:00
Derick Rethans
de2c71e7cb
- Added support for compressed SWF (Flash MX) files to getimagesize().
...
(Fixes feature request #17272 ).
@- Added support to getimagesize() for compressed Flash MX files. (Derick)
2002-05-23 21:48:27 +00:00
Andi Gutmans
fc059f5e40
- Fix typo
2002-05-23 14:28:14 +00:00
Wez Furlong
e202ad5c8b
Add simple test case for proc_open
2002-05-23 10:46:06 +00:00
Wez Furlong
4fd00c9502
Fix (stupid) segfault. #17379
2002-05-23 10:17:07 +00:00
Derick Rethans
708f980389
- Fix unchecked return values with parameters to proc_open. (Fixes
...
bug #17375 )
2002-05-23 07:52:03 +00:00
Derick Rethans
c37d2a97ac
- Fix errormessage and whitespace
2002-05-23 07:08:25 +00:00
Yasuo Ohgaki
b768cf0322
Added 4th parameter to specify enclosure character. Patch by Dean Richard Benson <dean@vipersoft.co.uk>
...
Spit more meaningful error messages when delim and/or enclosure char is null.
2002-05-23 07:03:43 +00:00
Markus Fischer
720a890f84
- ZTS gotcha
2002-05-20 17:41:35 +00:00
Markus Fischer
96bf2d1deb
- Add open_basedir check for all functions using php_stat() (filesize, stat,
...
etc), closes #11563 .
2002-05-20 17:18:18 +00:00
Edin Kadribasic
544694255a
Added glob() support for windows.
2002-05-19 14:32:24 +00:00
Markus Fischer
25a616d7aa
- Fix portability issues with empty results on Linux and FreeBSD, add safe_mode
...
check and simplify code.
# Hartmut, what was the VCWD check for ?!
2002-05-18 13:31:31 +00:00
Cliff Woolley
34d471d22e
Only the last cookie was getting set. (You can have
...
more than one Set-Cookie: header, as indicated by
http://wp.netscape.com/newsref/std/cookie_spec.html .)
PR: 16626
Submitted by: regina@hitel.net
2002-05-17 07:10:19 +00:00
Preston L. Bannister
1fdff888ce
Remove leading "./" from include filenames as in PHP this defeats include_path.
2002-05-16 21:53:18 +00:00
Preston L. Bannister
6b2ab5f66d
Adjust dirname() on Win32 to match CWD per drive semantics.
2002-05-16 16:04:45 +00:00
Rasmus Lerdorf
adf701a3ef
Grr.. I keep leaving my debug in...
2002-05-16 14:42:22 +00:00
Rasmus Lerdorf
5d286e21ea
Fix for #17271
...
@ Fix crash bug in stripslashes() when working in sybase mode (Rasmus)
2002-05-16 14:41:15 +00:00
foobar
2f12941fac
- Made all is_*() functions to return only boolean values.
...
- Killed the "file not found" error for is_link(). (finally..)
2002-05-16 01:07:21 +00:00
Markus Fischer
9b86cff931
- Adjust for improved error messages from win32/sendmail.c
2002-05-14 20:43:48 +00:00
Rasmus Lerdorf
f81ec94ac0
Make sure newtime is never NULL
2002-05-13 18:11:27 +00:00
Zeev Suraski
1bfb3595a8
- Fix a buglet in printing of GPCSE arrays
...
- Remove indirect access
2002-05-13 17:43:04 +00:00
Andrei Zmievski
1668570e4d
Changing email address.
2002-05-13 17:28:38 +00:00
Zeev Suraski
2260e1742d
- Centralize html_puts() again
...
- Revolutionize phpinfo()'s speed
2002-05-13 08:46:24 +00:00
Rasmus Lerdorf
93af4bdfb7
Change safe-mode rule for rmdir() to match unlink() - allow is target
...
is opened by caller or in a directory owned by caller
@ Minor fix to rmdir() under safe-mode (Rasmus)
2002-05-12 15:59:42 +00:00
Sascha Schumann
feaa12a9bf
Use string_len information
2002-05-12 14:50:54 +00:00
Sascha Schumann
a769454d79
reenable php_html_puts
2002-05-12 14:48:22 +00:00
Rasmus Lerdorf
465b2d54db
Another safe-mode fix. parse_ini_file() did not check
...
@ safe-mode fix for parse_ini_file() (Rasmus)
2002-05-11 19:19:49 +00:00
Rasmus Lerdorf
9cbcc9b822
show_source() safe-mode fix
...
@ show_source() was evading safe-mode - fixed (Rasmus)
2002-05-11 18:35:59 +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
Derick Rethans
f58ad95c00
- Add PHP_API_VERSION too
2002-05-09 11:56:52 +00:00
Derick Rethans
7b3ce60a23
- Show both API nos
2002-05-09 11:47:37 +00:00
Derick Rethans
31d1fac578
- Forgot one
2002-05-08 05:19:27 +00:00
Frank M. Kromann
c75e794ebe
Kill a compiler warning on Win32
2002-05-08 03:56:43 +00:00
jim winstead
51e2ea5ed2
fix problem with mkdir() on freebsd
2002-05-06 17:31:22 +00:00
Wez Furlong
a03d09e2d9
Add support for remaining entities in HTML 4 for the UTF-8 encoding in
...
htmlentities/htmlspecial chars.
This is a fix for for #17008 .
# I would *really* appreciate it if someone with a good eye could verify
# that all the entities are there and are correctly numbered; I've checked
# it three times, but it's best to be sure.
2002-05-05 23:06:39 +00:00
Stanislav Malyshev
b67bafefa5
Return right exit status
2002-05-05 17:14:12 +00:00
Thies C. Arntzen
5d177788ea
touch
2002-05-05 16:40:20 +00:00
Thies C. Arntzen
23251ebd1a
re-add accidentily nuked session_adapt_url()
2002-05-05 16:39:49 +00:00
Sascha Schumann
67d00f8c1d
sync
2002-05-05 02:07:33 +00:00
Sascha Schumann
c8f884fac8
the output buffer is flushed during request shutdown before it
...
reaches our rshutdown, so it is safe to delete the contents of
the url rewriter variables here.
2002-05-05 02:07:16 +00:00
Sascha Schumann
d41773e8b6
update
2002-05-04 18:34:29 +00:00
Sascha Schumann
9743860d35
simplify handling of variables by maintaining two strings which
...
are simply appended instead of traversing the hash table on each
URL/form.
also fix an unconditional segfault in rshutdown due to efree'ing
a static char *.
remove remove_var, add reset_vars. move the function declarations
into the right header file.
2002-05-04 18:33:13 +00:00
Sascha Schumann
ebfff2df7e
ret set but unused
2002-05-04 18:11:36 +00:00
Sascha Schumann
74b09cbcf8
c set but unused
2002-05-04 17:41:51 +00:00
Sascha Schumann
34b899e2da
inheader set but unused
2002-05-04 17:41:11 +00:00
Sascha Schumann
ea84524bc2
block_ended/opposite_target were set but never used
2002-05-04 17:38:45 +00:00
Sascha Schumann
a6c3ce15ae
don't emit code for version
2002-05-04 17:36:58 +00:00
Sascha Schumann
1f09644ff7
Fix linkage of symbols
2002-05-04 17:26:45 +00:00
Sascha Schumann
9e91566179
entry_length was set but never used
2002-05-04 17:24:08 +00:00
Sascha Schumann
01c980980c
update
2002-05-04 17:17:54 +00:00
Sascha Schumann
2438488c68
rval_temp was declared but never used
2002-05-04 17:17:43 +00:00
Sascha Schumann
140158734f
redirected is set but never used
2002-05-04 17:16:28 +00:00
Sascha Schumann
62c54fca9f
include url.h
2002-05-04 17:15:09 +00:00
Sascha Schumann
2a4dea6c18
include url.h to pull in declaration of php_url_encode
2002-05-04 17:14:56 +00:00
Sascha Schumann
4378214b80
Make this code work on compilers which don't consider the address
...
of a variable on the stack available at compile time.
2002-05-04 17:12:26 +00:00
Sascha Schumann
e919e7e526
unused var
2002-05-04 16:59:41 +00:00
Rui Hirokawa
fa1904b6e8
fixed a problem that ereg_replace() couldn't match with line stand/end marker.
2002-05-04 11:20:12 +00:00
Thies C. Arntzen
023a381323
forgot
2002-05-03 08:32:03 +00:00
Thies C. Arntzen
9712a4b3c8
@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
...
@ and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so it doesn't
need to fiddle with the output-system any more
2002-05-03 08:00:41 +00:00
Frank M. Kromann
bd75b407cf
Fixing wrong pointer
2002-05-02 17:36:00 +00:00
Derick Rethans
0c16e026b0
- Add Zend API No. to phpinofo() output
2002-05-02 12:33:03 +00:00
Derick Rethans
8fe3c0c5d4
- Fix String is not zero-terminated error in base64_decode
2002-05-01 20:11:09 +00:00
Stanislav Malyshev
f42bb6cfe4
Fix ZE1 build
2002-04-30 14:45:50 +00:00
Sascha Schumann
6f57419453
Touch file
2002-04-30 13:47:16 +00:00
Stanislav Malyshev
18805e8323
ZE2 compatibility fix
2002-04-30 11:30:07 +00:00
Stanislav Malyshev
3dd6217c0b
ZE2 compatibility fixes
2002-04-30 11:29:28 +00:00
foobar
3b1ae7c62a
revert last bogus change. There is bug in is_file()
2002-04-30 10:38:06 +00:00
Sebastian Bergmann
eacad68c68
Fix ZTS build.
2002-04-30 04:27:52 +00:00
Wez Furlong
501ed6ccb2
Make use of new flag so that we can buffer http headers when we know that
...
the stream is not intended to be used in require/include.
2002-04-30 00:30:00 +00:00
Wez Furlong
760573695c
Implement user-space funtions to operate on stream contexts.
2002-04-30 00:28:24 +00:00
Wez Furlong
840ed90f2b
Fix is_file test.
...
# Is there a good reason for having the actual test in an include file??
2002-04-30 00:26:49 +00:00
Stanislav Malyshev
11df2122df
Add comments for the fix
2002-04-29 16:02:41 +00:00
Stanislav Malyshev
91a78e2974
Fix here too
2002-04-29 16:02:10 +00:00
Stanislav Malyshev
aa10ac9a64
Yet another serialization fix - for incomplete class
2002-04-29 15:44:30 +00:00
Sascha Schumann
71124226d5
Touch generated file
...
# is it really so hard to remember this?
2002-04-28 21:24:52 +00:00
Stanislav Malyshev
a57381e3bd
Fix couple of nasty serializer bugs:
...
a) When array unserializer encounters less data than it expects (like:
a:1:{}) it crashes. I don't understand exactly why it does, but the fact
is it does. So now it should catch "}" and bail out.
b) When array/object data are serialized, the count is written by hash
count. However, it can be that in-loop check fails and less data than
expected will then be written into the array. Which, due to a), would
crash on unserialize. So now it will write empty entries in place of
entries it cannot serialize (the other choice would be make two passes on
the data, which I don't like).
2002-04-28 16:56:33 +00:00
Thies C. Arntzen
245708b0db
timestamp
2002-04-28 11:46:58 +00:00
Thies C. Arntzen
42158ef7c8
revert session_set_userdata - diffent patch will come shortly
2002-04-28 11:45:45 +00:00
foobar
c1c8a4fcfa
touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken.
2002-04-28 04:14:47 +00:00
Yasuo Ohgaki
de4a0ba58e
Add test case for file_exist/is_file
2002-04-28 00:05:43 +00:00
Thies C. Arntzen
2dee392e5b
part 2 of last commit
2002-04-27 14:08:07 +00:00
Thies C. Arntzen
eb105693b8
@ - added session_set_userdata() which enables you to specify one variable
...
@ that will be kept in the browser in addition to the session-id. This
@ only works when using trans-sid sessions (no cookie). (thies)
2002-04-27 14:07:52 +00:00
Yasuo Ohgaki
6cc8919dc4
Fixed bug #16861 .
...
touch sets wrong atime or mtime when they are not specified.
touch silently failed when HAVE_UTIME is not defined.
(This needs more consideration. Which platform does not support it?)
# Derick, after HAVE_UTIME issue is resovled, this should be merged.
# or we can just merge 1st problem for now.
2002-04-26 23:46:51 +00:00
jim winstead
79d113ba50
update generated file
2002-04-25 22:12:56 +00:00
jim winstead
bc977dd195
Do not add redundant id attribute. It doesn't make the output any
...
more standards compliant.
2002-04-25 22:12:38 +00:00
Rui Hirokawa
860e675884
fixed directory access problem when direcory name is encoded in japanese Shift_JIS encoding.
2002-04-25 14:43:40 +00:00
Sascha Schumann
46527b3f5a
Touch generated file to increase timestamp
2002-04-25 09:02:01 +00:00
Derick Rethans
8ffd089e02
- Fix for bug #16811
2002-04-25 06:43:11 +00:00
Derick Rethans
4a834dfa44
- Fix for bug 16810 (XHTML compliance)
2002-04-25 06:30:09 +00:00
Andrei Zmievski
5ff970ba7d
Fix Bug #14795 .
2002-04-24 15:23:43 +00:00
Andrei Zmievski
4fc01022e6
Fix unwanted type conversion in array_merge_recursive (Bug #14990 ).
2002-04-24 15:01:53 +00:00
Sascha Schumann
303a784822
remove unnecessary casts
...
# if you mind the bogus warnings, you can either switch the compiler
# or decrease the warning level
2002-04-22 20:42:01 +00:00
Harald Radi
b29604fefc
fixes a warning when compiling under win32
2002-04-22 18:02:01 +00:00
Sascha Schumann
d30fc27e5a
simplify and improve speed of smart_str_print_long.
...
also add a variant for unsigned numbers.
2002-04-21 01:17:49 +00:00
Wez Furlong
928bae9cf8
Make scheme part decoding rfc2396 compliant.
...
Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2://
Tidy up old socket/network code/comments.
2002-04-19 10:06:41 +00:00
Yasuo Ohgaki
fe6990cc6b
Remove compiler warnings
2002-04-19 07:56:41 +00:00
Wez Furlong
b10b24d50c
Always initialize wrappers, regardless of PG(allow_url_fopen).
...
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
2002-04-16 22:14:27 +00:00
Wez Furlong
4adb1e58eb
Fix declarations (Thanks Sebastian)
2002-04-11 12:13:17 +00:00
Marcus Boerger
4407312d4f
thread safe
2002-04-11 08:07:22 +00:00
Marcus Boerger
628e639c08
fix warning
2002-04-11 07:26:53 +00:00
Marcus Boerger
42dc682626
fix testproblem
2002-04-11 06:41:55 +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
foobar
e3cc458d25
- Revert that change. Added a warning about this.
2002-04-08 18:43:35 +00:00
foobar
77c058a06a
There's really no point in allowing using the system regex library.
2002-04-08 07:47:17 +00:00
foobar
23a3cc71e3
Using system regex lib seems not to work quite well when compiled with Apache.
2002-04-08 06:45:52 +00:00
Hartmut Holzgraefe
954dbb2d35
fix and regression test for Bug #16473
2002-04-07 19:46:45 +00:00
Wez Furlong
1f2344104f
fix for #16469
2002-04-07 10:56:30 +00:00
Zeev Suraski
385b233040
Fix gzip/bz2 builds for Windows
2002-04-05 11:51:43 +00:00
foobar
97ba30ba5c
- OS X support for dynamically loaded extensions. (patch by Marko)
...
# NEWS entry coming up..
2002-04-04 00:24:34 +00:00
Wez Furlong
fea3b0a7f8
fix TS build
2002-04-03 13:47:21 +00:00
Wez Furlong
27d1f7db16
Tidy up win32 implementation of proc_open.
...
Respect safe_mode_exec_dir.
Implement proc_close and return process return code under win32.
2002-04-03 13:39:35 +00:00
Wez Furlong
a0f165a5cb
main/streams.c
2002-04-02 16:46:33 +00:00
Derick Rethans
f71adad3cf
- Whitespace
2002-04-02 06:41:23 +00:00
Kirill Maximov
33ed30fce8
(PHP quoted_printable_decode) Fixed CR/LF processing for Windows/OS2
...
@ Fixed CR/LF processing for Windows/OS2 in quoted_printable_decode (kir)
2002-04-01 17:03:01 +00:00
Derick Rethans
f4447a9cc1
- Fix for bug #14966
2002-04-01 09:19:57 +00:00
Stig Bakken
7f89d8c13a
(PHP php_uname) display runtime uname rather than compile-time uname, added
...
an optional parameter to get single fields (like uname(1))
# Windows version is not tested, and I didn't know how to get
# `uname -n` on Windows, so it's hardcoded to "localhost" for now.
# Windows gurus feel free to fix. :-)
2002-03-29 10:19:23 +00:00
Wez Furlong
4361807185
add test for file_get_contents
2002-03-28 01:20:28 +00:00
Wez Furlong
2539cbc74c
Phase 3 of OO wrapper cleanup
...
# What was phase 2?
2002-03-28 00:49:00 +00:00
Hartmut Holzgraefe
492c837272
fix for Bug #16314
2002-03-27 20:20:57 +00:00
Sander Roobol
9b6a8d2639
Fixed the array-tests. Broke the test up into various smaller tests.
...
Reduced the test data because it was unmanageable.
# I hope everything is ok :)
2002-03-26 18:17:38 +00:00
Sascha Schumann
fb048880aa
outcomment default linking against pam due to no feedback
...
regarding its purpose
2002-03-26 11:05:18 +00:00
Sascha Schumann
5428e463bd
If an argument (<tag val=argument..) was not quoted, leave it that way.
2002-03-26 10:23:33 +00:00
Markus Fischer
f521ae3f30
- Fix bug 11244 (patch by "Tal Peer" <hazgul99@hotmail.com>).
...
# Sorry for the delay :-)
2002-03-26 07:57:07 +00:00
Wez Furlong
5ee65bd8f5
Phase 1 of wrapper OO cleanup.
...
# Collecting underpants
2002-03-24 18:05:49 +00:00
Derick Rethans
1f9b519c55
- Remove read_uploaded_file
2002-03-23 23:03:04 +00:00
Hartmut Holzgraefe
e40ce9963e
dl is now aware of modules compiled for php <4.1.0
...
which have a slightly different module_entry structure
2002-03-23 15:37:27 +00:00
Derick Rethans
e2f110d982
- Added read_uploaded_file (patch by Andrew Sitnikov <sitnikov@infonet.ee>)
2002-03-23 14:10:57 +00:00
Derick Rethans
25b42ae3b6
- Fix handling of zero'th argument for sprintf()'s argument swapping code
...
(Patch by Morten Poulsen <morten@afdelingp.dk>)
2002-03-22 09:09:18 +00:00
Hartmut Holzgraefe
10811cd0d8
getting rid of the warn_not_available alias
2002-03-22 01:10:31 +00:00
Markus Fischer
341af63328
- Use proper macros for php_stream_cast() return values ( fixes #16211 ).
2002-03-21 22:05:40 +00:00
Hartmut Holzgraefe
b00d9a5b2c
added fnmatch() and glob() functions
...
could someone please check if i got the virtual dir stuff right?
2002-03-21 19:18:13 +00:00
Wez Furlong
06f6e47e4c
Require that wrappers use <protocol>://<path> to avoid
...
ambiguities when filenames have ':' characters.
This slightly breaks BC with the old style zlib: wrapper.
2002-03-21 17:02:50 +00:00
Andrei Zmievski
1cf188ae1b
Fix compilation when PCRE is disabled.
2002-03-21 15:28:46 +00:00
Sander Roobol
a15c9a31eb
Added tests for pow()'ing with broken exponents and some additional test
...
for count()'ing arrays.
2002-03-21 14:18:30 +00:00
Wez Furlong
a662f012bb
Convert the gzfile related functions into aliases for their equivalents
...
in ext/standard/file.c, so a gzopen()ed file pointer can be used in
fread, fseek etc.
Improved behaviour of zlib stream.
Moved passthru code into streams.c
# I'm not happy about BG(mmap_file)
Nuked gzgetss_state as no longer needed.
2002-03-21 01:11:52 +00:00
Wez Furlong
3dbde95896
Make state parameter of php_strip_tags passed by reference.
...
Move state tracking to stream structure.
2002-03-20 14:38:13 +00:00
Wez Furlong
659a071e3d
Streams are all tracked as resources now.
...
Add some logic that will help track down leaks
when debug is enabled.
2002-03-20 14:21:30 +00:00
Markus Fischer
f130bdb59e
- Fix for #16176 .
2002-03-20 08:17:06 +00:00
Wez Furlong
14a3911866
fix for bug #16168
2002-03-19 17:49:02 +00:00
Wez Furlong
32a4f35580
register some constants for user streams
2002-03-19 14:35:55 +00:00
Wez Furlong
6abe71bebc
s/fgetwrapperdata/file_get_wrapper_data/
2002-03-19 13:33:07 +00:00
Sascha Schumann
3757a81367
Remove trailing ;
...
The macro can now safely be used in constructs such as
if (..) foo() else bar();
2002-03-19 12:11:46 +00:00
Sascha Schumann
f84167571f
touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken.
2002-03-19 11:39:41 +00:00
Thies C. Arntzen
3550d75d0f
fix #12793 - serialize will now spit a notice if the return value of __sleep is
...
bogus.
2002-03-19 11:25:21 +00:00
Wez Furlong
06712a508a
Implement user-space streams.
...
There's probably room for improvement,
docs will following some time this week.
2002-03-19 03:51:01 +00:00
Wez Furlong
e3a884f552
fix error message which appeared even if no ssl mode was selected
2002-03-18 20:44:15 +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
Wez Furlong
1222d80860
having streams is now the default
2002-03-18 10:44:39 +00:00
Zeev Suraski
a145646e74
Fix build
2002-03-18 09:20:43 +00:00
Sascha Schumann
68d2592f52
Rename HAVE_PHP_STREAM to PHP_HAVE_STREAMS, because
...
1.) a PHP-specific symbol should be in the php namespace, and
2.) there are multiple streams and the old configure parameter was plural, too.
2002-03-18 08:29:17 +00:00
Sascha Schumann
d74666a648
touch file
2002-03-18 08:22:33 +00:00
Zeev Suraski
73e79322ba
Fix the build and all of the outstanding VC++ warnings
2002-03-18 08:05:28 +00:00
jim winstead
349936c93e
Fix calculation of output buffer size in wordwrap(). (Thanks to Wez.)
2002-03-18 02:00:57 +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
Stefan Esser
cce45de17c
move_uploaded_files checks open_basedir now
2002-03-17 20:56:20 +00:00
Harald Radi
65c4e9e0fd
removed anoying warnings
2002-03-17 16:45:56 +00:00
Wez Furlong
436e339bc7
Fix for Bug #16121 : make unix socket names binary safe.
...
# Could be applied to 4.2 branch, but I don't have a working copy, and
# I don't think it's amazingly critical.
2002-03-17 13:19:27 +00:00
Wez Furlong
1d3ad85ac2
fix win32 warning and ming leak
2002-03-17 01:58:42 +00:00
Harald Radi
2be6527fc6
fixed TSRM build
2002-03-16 22:08:23 +00:00
Marcus Boerger
f24caf3244
-formatting
2002-03-16 20:12:58 +00:00
Wez Furlong
5d0c53eecf
Fix some issues with gzFile and fsockopen.
2002-03-16 18:42:42 +00:00
Wez Furlong
0895998bef
s/get_file_contents/file_get_contents/
2002-03-16 16:52:24 +00:00