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