Stefan Roehrich
cce0d2f72d
Added "Vary: Accept-Encoding" header to zlib.output_compression
...
compressed output as with obgzhandler().
@ If zlib.output_compression is enabled and a page is compressed
@ a "Vary: Accept-Encoding" header is added. (Stefan)
# obgzhandler() sends this header, I think it is recommened by
# RFC 2616. If there are problems (e.g. with some browsers)
# it should be reverted.
2002-06-02 21:35:06 +00:00
Stefan Roehrich
506282af5c
WS change to make very old compilers/preprocessors (e.g. HP/UX 9)
...
happy (thanks to Andreas Ley for recognizing this).
2002-06-01 20:14:58 +00:00
Frank M. Kromann
426b47837f
Makring function declarations match implementations (ZTS compilation)
2002-06-01 05:45:25 +00:00
foobar
73ab5708b4
Fixed typo..
2002-05-31 23:20:04 +00:00
Brad LaFountain
fa60d31d27
Changed PHP_EXPORTS to DOMXML_EXPORTS as Edin Kadribasic suggested
2002-05-31 13:38:58 +00:00
Harald Radi
d3383bab2d
added wez to the com extension
2002-05-31 10:06:19 +00:00
Harald Radi
d1b01b92ab
added wez and ordered names alphabetically
2002-05-31 09:43:22 +00:00
Brad LaFountain
5313321e08
initalize variable in domxml_doc_document_element()
2002-05-31 06:14:29 +00:00
Brad LaFountain
2eb29ca917
defined PHP_EXPORTS for exporting php_domobject_new()
2002-05-31 06:01:50 +00:00
Brad LaFountain
e6fa086537
added the ability to use new keywork with domxmls objects "new DomDocument()"
...
instead of xmldoc. This also allows you to create nodes without having
a whole document "new DomElement("foo")".
moved DOMXML_API_VERSION to php_domxml.h
exposed php_domobject_new for other extensions to use
removed some un-needed code
2002-05-31 05:58:40 +00:00
Harald Radi
acc1021f0d
#forgot something
2002-05-30 23:17:48 +00:00
Harald Radi
d3ca5abab7
@ Added missing AddRef() calls in the COM extension. This should
...
@ fix weird behaviour (in particular with ADODB). (Harald)
# waah, this suxx
2002-05-30 23:07:23 +00:00
Markus Fischer
39f16dbc65
- Tell the user why his session doesn't work if he uses custom session_id()s.
2002-05-30 11:41:37 +00:00
Den V. Tsopa
509df14ff4
Fixes some dummy errors (again).
2002-05-30 10:10:16 +00:00
Den V. Tsopa
1da8768cae
Added GB2312 alias for CN-GB
2002-05-29 09:15:28 +00:00
Derick Rethans
b049f9bf17
- Fix for bug #17503
2002-05-29 08:40:43 +00:00
Den V. Tsopa
9cd5bf77a7
@Fixed some dummy errors. (dets)
2002-05-29 08:33:23 +00:00
Hartmut Holzgraefe
f404c23b5f
moved to PECL
2002-05-27 13:14:02 +00:00
Stig Bakken
90efd3abe6
@Fix segfault in version_compare() (Stig)
2002-05-26 12:01:30 +00:00
Rui Hirokawa
d3012238bc
reverted my patch.
2002-05-24 22:30:24 +00:00
Rui Hirokawa
ee480a7ec8
reverted patch to support iso2022kr.
2002-05-24 22:28:42 +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
Andrei Zmievski
001b4c71e4
This code adds string offset capturing in preg_split() results. Original
...
patch by David Brown, modified by me.
2002-05-23 17:22:05 +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
Wez Furlong
762effcf60
Add documentation comment for properties in com_print_typeinfo
2002-05-21 22:44:10 +00:00
Wez Furlong
fbf920d9a3
Enhance com_print_typeinfo.
...
The main expected use is like this, for figuring out what methods
are allowed for a COM object:
$ie = new COM("InternetExplorer.Application");
// Prints class definition for IE object
com_print_typeinfo($ie, "InternetExplorer.Application", false);
// Prints class definition for default IE event handler
com_print_typeinfo($ie, "InternetExplorer.Application", true);
2002-05-21 22:41:45 +00:00
Andrei Zmievski
f08e0ef9d4
Fix bug #16939 .
2002-05-21 21:23:20 +00:00
Wez Furlong
8a53a89a94
Correct usage of convert_to_string_ex which is not allowed to zval*
2002-05-21 20:57:04 +00:00
Wez Furlong
c05834fbce
Reformat some comments.
2002-05-21 20:51:31 +00:00
Wez Furlong
e2b9f0d964
Fix a flag, remove an old comment.
2002-05-21 20:46:08 +00:00
Wez Furlong
e04d6ca9f7
- Make sure that COM and VARIANT resources are returned as resources
...
rather than longs.
- Make the IDispatch implementation a bit more generic (and
fix my mess of pointers).
- Add new com_message_pump() function that acts like an interruptible
usleep() that processes COM calls/events.
- Add new com_print_typeinfo() function for "decompiling" the typeinfo
for an interface into PHP script. This is useful for generating a
skeleton for use as an event sink.
- Add new com_event_sink() function for sinking events from COM
objects. Usage is like this:
<?php
class IEEventSinker {
var $terminated = false;
function ProgressChange($progress, $progressmax) {
echo "Download progress: $progress / $progressmax\n";
}
function DocumentComplete(&$dom, $url) {
echo "Document $url complete\n";
}
function OnQuit() {
echo "Quit!\n";
$this->terminated = true;
}
}
$ie = new COM("InternetExplorer.Application");
$sink =& new IEEventSinker();
com_event_sink($ie, $sink, "DWebBrowserEvents2");
$ie->Visible = true;
$ie->Navigate("http://www.php.net ");
while(!$sink->terminated) {
com_message_pump(4000);
}
$ie = null;
?>
2002-05-21 18:58:11 +00:00
Hartmut Holzgraefe
8a6f6fca1d
ZTS issues fixed
2002-05-21 12:02:44 +00:00
Hartmut Holzgraefe
7f732313a7
not beautifull (yet), but should fix ZTS builds
2002-05-21 10:14:12 +00:00
Sebastian Bergmann
4405b313c5
ZTS fixes.
2002-05-21 07:10:26 +00:00
Den V. Tsopa
4974e6073e
Added russian codepages (koi8-r,cp1251,cp866) support.
2002-05-21 07:00:34 +00:00
Edin Kadribasic
16e9e77e2a
Fix for #17315 . Requires client library 7.2 or greater to compile.
2002-05-21 01:03:13 +00:00
Markus Fischer
94501132c6
- Fix posix_isatty() and posix_ttyname() ( Closes #17323 )
2002-05-20 23:26:13 +00:00
Markus Fischer
601cf3690c
- Add safe_mode/uid and open_basedir check to zip_open() ( closes #16927 ).
2002-05-20 18:33:08 +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
Harald Radi
e47a667cc9
integrating wez's patch
2002-05-20 15:35:57 +00:00
Yasuo Ohgaki
62b8c29083
Fixed possible pg_lo_write() overflow and make it more fail safe.
2002-05-20 01:40:22 +00:00
Wez Furlong
fc964e88d3
Added generic COM wrapper for PHP objects.
2002-05-20 01:31:48 +00:00
Yasuo Ohgaki
c6873da401
Improve large object performance. pg_lo_read() and pg_lo_read_all() should perform
...
much better now.
Fixed Old API support for pg_lo_import().
2002-05-20 01:02:29 +00:00
Edin Kadribasic
544694255a
Added glob() support for windows.
2002-05-19 14:32:24 +00:00
foobar
3b9401a3ed
DO NOT use C++ comments!
2002-05-19 00:02:07 +00:00
Christian Stocker
ccd962e155
- delete attributes as well in php_free_xml_node
...
- more consistent naming in phpinfo()
2002-05-18 20:19:43 +00:00
Christian Stocker
b692311fdd
added "domxml API version" in phpinfo() output.
2002-05-18 17:07:59 +00:00
Christian Stocker
def8bc92fc
mem leak fix for domxml_dump_node
2002-05-18 14:38:22 +00:00
Christian Stocker
987ab91efb
fixes memleak in html_dump_mem
2002-05-18 14:23:31 +00:00
Christian Stocker
81c8b8e7a4
rename the object name for comment nodes to domcoment
2002-05-18 14:21:46 +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
Christian Stocker
034d684089
WS fixes
2002-05-18 10:05:21 +00:00
Christian Stocker
f275fe0b0b
This should fix a big bad memory leak in freeing the nodes at script end.
2002-05-18 09:35:28 +00:00
Wez Furlong
7ae1630a97
proto tweak
2002-05-17 12:42:40 +00:00
Wez Furlong
c347e0ce88
Add an optional flag to sem_get that specifies if the semaphore should be
...
automatically released on request shutdown. (#16986 )
Fix a segfault in sem_remove (#17274 )
2002-05-17 12:33:49 +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
Christian Stocker
78acc6d865
- replaced domxml_doc_document_element implementation do use libxml2 method
...
- renamed domxml_add_root to domxml_doc_add_root (and added alias for BC)
- aliased $doc->get_root to domxml_document_element
@ - added domxml_doc_set_root to change the root node (Lukas Schroeder)
2002-05-16 21:59:26 +00:00
Preston L. Bannister
e3ae02255b
Restrict ctype tests to POSIX portable characters (0..127) and add numeric character tests.
2002-05-16 21:55:26 +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
Preston L. Bannister
0b70f9e884
Range check arguments to mb_strcut().
...
Test ext/mbstring/013.phpt causes a hard failure w/o this.
2002-05-16 12:31:05 +00:00
Preston L. Bannister
9d3ed920b5
Proper declaration to suppress compiler warning.
2002-05-16 12:07:11 +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
Frank M. Kromann
7ca89cedf7
Fixing the mssql_query to handle multiple results correct if the first result does not return any data.
2002-05-15 18:07:17 +00:00
Harald Radi
37b9089bfa
this should finally fix bug #14353
2002-05-15 17:59:48 +00:00
Christian Stocker
20226f71fc
libxml2 >= 2.4.14 is needed (since quite some time ...)
2002-05-15 12:41:55 +00:00
Rui Hirokawa
5f8009a7ea
added ISO-2022-KR support in mbstring.
2002-05-15 12:13:56 +00:00
Derick Rethans
c2f2a0a86c
- It's bundled, thus not experimental anymore
2002-05-15 05:25:16 +00:00
Frank M. Kromann
8d4097b29c
Fixing hanfling of data type REAL.
...
Remove extra bytes allocated by emalloc calls
2002-05-14 23:57:43 +00:00
Rui Hirokawa
e0a10acf8f
fixed a initialization bug in euc-tw.
2002-05-14 21:42:46 +00:00
Markus Fischer
9b86cff931
- Adjust for improved error messages from win32/sendmail.c
2002-05-14 20:43:48 +00:00
Rasmus Lerdorf
01835e0469
fix copyresampled bug in bundled gd lib
2002-05-13 20:20:16 +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
Jon Parise
9ec5aa9a92
Instead of calling mail_fetchheader_full() to retrieve the complete header
...
information just to extract the message envelope, call mail_fetchenvelope(),
which returns just what we need.
This is simpler, faster, and saves the IMAP server some work.
Submitted by: Adam Kauffman <adam.kauffman@mindspring.com>
2002-05-13 00:29:22 +00:00
Jon Parise
066d417d69
@Improve IMAP performance when dealing with large mailboxes.
...
Submitted by: Rob Siemborski <rjs3@andrew.cmu.edu>
2002-05-12 20:53:25 +00:00
Sascha Schumann
226e1ed246
As far as I can tell, the AC_CHECK_MEMBER could not succeed,
...
because it does not include <sys/socket.h> which is necessary
for the definition of struct msghdr. This include file is not
part of ac_includes_default.
Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we
expand it here for 2.13 compatibility.
2002-05-12 17:28:12 +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
Sebastian Bergmann
90229ba841
Nuke unused local variables.
2002-05-12 15:14:21 +00:00
Marko Karppinen
554b7684ed
Add an option to calculate easter dates based on the Gregorian calendar
...
during the years 1582-1752. Earlier this was only possible from
1753 onwards. Use the optional parameter CAL_EASTER_ROMAN with
easter_days() to enable this. This is a fix for bug #12766 .
# As you can see, my Sundays are *so* busy...
2002-05-12 15:06:04 +00:00
Sascha Schumann
b3de60dbf0
Fix this again.
...
If you are unsure whether enable or with shall be used, please
inquire on the mailing list.
WITH is solely for the purpose of pointing to paths and other external
entities.
Note that the comment has always mentioned "--disable-mbstring" which
clearly refers to enable and not with.
2002-05-12 14:55:25 +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
Rui Hirokawa
767fa10a92
added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr.
2002-05-12 13:06:13 +00:00
Sascha Schumann
38ad391894
- Fix the way code was outcommented
...
- Remove unused STR_CAT macro
- Remove limits/tests based on unused macro
- Implement cache_limiter(private) using private_no_expire
2002-05-12 12:51:42 +00:00
Daniela Mariaschi
87148b6edd
fix bug #17040 ibase_close again.....
...
User can't close a connection if there are blobs opened.
He must close them before to not loose data....
2002-05-12 12:18:56 +00:00
Jason Greene
969d7e5a82
Fix build on IRIX for both mips and gcc
2002-05-12 07:22:47 +00:00
Rui Hirokawa
b3690bbe19
fixed to support --with-mbsting=LANG.
2002-05-12 00:26:43 +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