1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Commit Graph

959 Commits

Author SHA1 Message Date
Hartmut Holzgraefe 74ca22e9ca will now work again on 1-character urls, spaces before and after '='
and urls containing '#' scrolling info
# argh, this file's not even a week old and already needs
# a heavy cleanup rewrite, but at least it gets all my test cases right
2000-08-03 11:42:39 +00:00
Hartmut Holzgraefe 4c9709ff0d typo fix 2000-08-01 20:21:35 +00:00
Hartmut Holzgraefe f194a3a25d protect datetime() against all zero inputs ... 2000-08-01 11:16:20 +00:00
Hartmut Holzgraefe b59e98b87c "undefined function" error message will now suggest similar named
functions as jikes compiler for java does (typo protection)
2000-08-01 07:57:19 +00:00
Hartmut Holzgraefe ea5ab044bf trans-sid rewrite, is now state-aware (fix for bug #3411 and friends) 2000-08-01 07:45:14 +00:00
Stanislav Malyshev e109aa30d6 When output is empty, exec should return "", not "\0" (#5775)
@- Fixed exec() returning "\0" when output is empty
2000-08-01 07:22:59 +00:00
Hartmut Holzgraefe 0df7721842 fix for bug #5672 2000-07-30 21:55:27 +00:00
Rasmus Lerdorf 75bb019760 Fix bug in strip_tags function as per bug #5857
@ Fix bug in strip_tags function as per bug #5857 (Rasmus)
2000-07-30 05:04:06 +00:00
Rasmus Lerdorf 677df784c1 This url symbol was a bit too generic. Change it to php_url instead.
It was clashing with a similar typedef in the UdmSearch integration I am
working on.
2000-07-29 22:32:21 +00:00
Thies C. Arntzen 51fc3dede2 @- Fix reading of IPTC via GetImageInfo() for certain JPEG files. (Thies) 2000-07-29 15:29:35 +00:00
Zeev Suraski 52ff887db5 Made ob_start() and friends reentrant. It's now possible to implement this
long-requested functionality, now that output buffering is re-entrant:

function eval_ret($code)
{
	ob_start();
	eval($code);
	$retval = ob_get_contents();
	ob_end_clean();
	return $retval;
}
2000-07-29 14:46:09 +00:00
Stanislav Malyshev f24c8c6f4b Fix safe mode handling by touch 2000-07-27 13:47:03 +00:00
Stanislav Malyshev 9aa854dc6e Fix memory leak in touch when safety check fails 2000-07-27 13:28:21 +00:00
Sascha Schumann 08f7586031 Get rid of unnecessary preprocessor constructs. 2000-07-26 16:42:04 +00:00
Sascha Schumann 30472a1cc1 Use the lcg as another entropy source for seeding the PRNG when creating
a salt for crypt().
2000-07-26 16:35:32 +00:00
Egon Schmid e4b7e9e916 Protos fixed. 2000-07-26 11:43:01 +00:00
Stanislav Malyshev 79527dd539 Make proper object initialization 2000-07-26 11:21:03 +00:00
Sterling Hughes 56b7b7a8a9 * 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.
2000-07-26 05:41:38 +00:00
Stanislav Malyshev 104b4f38df Fix more bugs in browscap
# now it shoudl work, but leaks like hell, so don't use it yet
2000-07-25 18:50:02 +00:00
Stanislav Malyshev 85eb0bb29d Report configuration path that is really used, not that is compiled in
# it does matter when using -c option
2000-07-25 10:54:07 +00:00
Hartmut Holzgraefe 772c4026bb htmlspecialchars and htmlentities will now
encode single quotes to '
(due to feature request in BUG ID#5254)
2000-07-25 10:18:06 +00:00
Stanislav Malyshev 005d4c4deb Default section name should be uppercase, I guess 2000-07-25 08:09:00 +00:00
David Croft 0836e10a15 various version 2.0 and 2.01 licenses -> 2.02 2000-07-24 05:41:02 +00:00
David Croft 83513d9580 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.
2000-07-24 01:40:02 +00:00
Thies C. Arntzen 9752d1a089 (getimagesize) fix FORCE_REF. 2000-07-23 16:49:42 +00:00
Stanislav Malyshev 7c296bd9cc Add another check for broken browscap object
# I do not know how it could get broken, but just in case...
2000-07-23 11:32:18 +00:00
Stanislav Malyshev a172147a91 Try to fix some get_browser crashes and clean it up
# Probably needs more work, just what I could see immediately
2000-07-23 11:11:35 +00:00
David Croft a5a9a4928b # zeev is god 2000-07-22 04:23:41 +00:00
David Croft 89153d9c05 fixed socket_set blocking in windows
(bug 3845)
2000-07-22 01:53:16 +00:00
David Croft 8dd1fdb1a0 wordwrap function from Chris Russel <russel@yorku.ca>
differences from his patch:
 - wordwrap width and wrap-string now optional parameters
   (default to 75 and "\n" respectively)
 - wordwrap_byte is now just an automatic special case of wordwrap
 - Zend API compliant

@- Added new function "wordwrap" to wordwrap long strings from Chris
@  Russel <russel@yorku.ca> (David Croft)
2000-07-22 01:12:24 +00:00
Andrei Zmievski fbced1b9cc (php_addslashes) Fixed stop condition - it should only take into account
the length of the string, not the characters.
2000-07-21 15:29:59 +00:00
Ken Coar f869e47eae Undo numerical format regression introduced by the fix of the
zero-precison %s formatting.
2000-07-21 03:21:56 +00:00
Hartmut Holzgraefe 5390b6a291 fix for bug #5707 2000-07-20 23:08:26 +00:00
Rasmus Lerdorf 30c81ea5c5 Itanium patch from Steve Robb <steve@eu.c2.net>
@ Itanium patch (Steve Robb)
2000-07-19 16:19:40 +00:00
Zeev Suraski 327e33972b Shutup a gcc warning 2000-07-18 20:40:23 +00:00
Ken Coar 0ca493768b Bring forward the zero-precision (%.0s) string formatting fix
from PHP3.  (After being nagged by Thies. :-)  Whee!  My first
	PHP4 commit..
2000-07-18 16:34:30 +00:00
Stig Bakken 7bb67a6200 @Set default include_path so PEAR files can be reached (Stig) 2000-07-18 11:02:28 +00:00
Andrei Zmievski 8f96ea6b20 *** empty log message *** 2000-07-17 13:37:26 +00:00
Stanislav Malyshev 7b9d2e33bf Fix crash in stripcslashes("") (#5628) 2000-07-17 10:22:30 +00:00
Rasmus Lerdorf e3fd1edc49 Make it possible to specify an empty string as a thousands-seperator
in number_format()
@ Make it possible to specify an empty string as a thousands-seperator
@ in number_format()
2000-07-14 18:46:13 +00:00
Rasmus Lerdorf 1d0ae2cde4 Use dashes and short day name in cookies since some browsers seem picky
about this
@ Use dashes and short day name in cookies since some browsers seem picky
@ about this (Rasmus)
2000-07-14 01:08:59 +00:00
Andrei Zmievski c9c425d625 Updated comments. 2000-07-11 16:51:04 +00:00
Andrei Zmievski 3ac0ae9dff @- Improved array_multisort() to be able to specify sort type as well sort
@  order. Incidentally, it can be used to sort multi-dimensional arrays
@  as well. (Andrei)
2000-07-11 16:48:03 +00:00
Sascha Schumann e8101d4f7b Unify use of my email address 2000-07-10 10:09:15 +00:00
Egon Schmid 1231a3e473 Fixed other protos. 2000-07-09 19:33:19 +00:00
Egon Schmid d7b554ee11 Fixed a proto. 2000-07-09 14:26:50 +00:00
Egon Schmid 11b749e047 Corrected a mispelled word. 2000-07-09 14:14:51 +00:00
Egon Schmid ee513d6ed5 Eliminated a typo. 2000-07-08 22:55:40 +00:00
Andrei Zmievski 885e40db05 @- Updated str_pad() to be able to pad on left/right/both sides. (Andrei) 2000-07-08 20:38:23 +00:00
Egon Schmid 2bd5ad3131 Uncomplete proto. 2000-07-08 19:31:16 +00:00