1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Commit Graph

10226 Commits

Author SHA1 Message Date
Marcus Boerger 8820a9cdcc More tests 2003-04-27 20:02:35 +00:00
Stanislav Malyshev cddface7f1 fix TSRM 2003-04-27 16:18:43 +00:00
Stanislav Malyshev cad71d8c92 MFB 4_3:
Fix very nasty bug - session cookie kills one of the cookies
set before it on certain non-Apache SAPIs.
# for example, this code:
# <?
# setcookie("abc", 1);
# setcookie("def", 2);
# session_start();
# ?>
# would output only 'def' cookie on CGI and ISAPI
2003-04-27 16:04:53 +00:00
Wez Furlong 3bf392c160 Seems like a better fix.. 2003-04-27 14:01:09 +00:00
Marcus Boerger 783d1d7b24 More safe_emalloc() 2003-04-27 13:46:07 +00:00
Wez Furlong 23c4c206a4 WS, plus default: would prevent case SQLITE_DONE: in php_sqlite_fetch(). 2003-04-27 13:32:43 +00:00
Marcus Boerger fe94e0394e Enable some more functions with unbuffered queries 2003-04-27 13:25:10 +00:00
Marcus Boerger 88ef12964b Add more tests 2003-04-27 11:29:39 +00:00
Sara Golemon bb48c7d861 Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properties set to 0 since the FTP protocol simply doesn't support exploring them. url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers. 2003-04-26 01:55:31 +00:00
Ilia Alshanetsky ab0e80d42f emalloc -> safe_emalloc
Fixed possible buffer overflow in pg_lo_read()
2003-04-25 21:59:58 +00:00
foobar b83fc1a802 - Fixed some AIX/HPUX compile issues.
# Just a modified diff of the same file found in mysql 4.0.12 :)
2003-04-25 21:31:23 +00:00
Moriyoshi Koizumi 0e5df53be5 Moved copyright notice to the better place. 2003-04-25 17:39:46 +00:00
Moriyoshi Koizumi 4c2d694aa3 Added a bogus copyright notice. 2003-04-25 17:35:06 +00:00
foobar a64269f0da Make these tests actually work. 2003-04-25 15:43:28 +00:00
foobar 6bfa5b405f Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to crypt") 2003-04-25 08:57:49 +00:00
foobar 93b154fea4 Some AIX version failed to compile if this was redefined. 2003-04-25 08:10:11 +00:00
Sara Golemon 2d558127af No idea how that character dissapeared. 2003-04-24 22:25:33 +00:00
Sara Golemon 2fc1d2c330 Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper 2003-04-24 21:21:41 +00:00
Marcus Boerger 8a5ba51ac8 MFB: safe_emalloc() 2003-04-24 20:54:43 +00:00
Sara Golemon 228f65f889 Abtract some ftp connection/negotiation steps out and add support for stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path') 2003-04-24 20:32:14 +00:00
David Hill cec89b2446 Fix compiler error on null statement in switch 2003-04-24 18:01:26 +00:00
foobar 92096ac753 Fix obvious flaw in this test 2003-04-23 08:54:49 +00:00
Wez Furlong 604a41e244 win32 fixes 2003-04-22 23:24:44 +00:00
Wez Furlong 9d43def392 Fix the extension...
# guess which extension I copied this from??
2003-04-22 21:41:46 +00:00
Rasmus Lerdorf 0d248d81a6 MFB: &039; which is a single-quote may also come in as &39;
I see no reason not to support both in html_entity_decode()
2003-04-22 20:47:09 +00:00
Wez Furlong 11a96965c9 Add windows .dsp and some kludgy pre-generated headers. 2003-04-22 19:06:31 +00:00
Sara Golemon cb89565ba4 Feature Request #7121.
Allow overwritting of files via ftp:// wrapper.
Requires context option:  $context['ftp']['overwrite'] != 0
2003-04-22 04:13:09 +00:00
Sascha Schumann c523fc4766 Add vr class
Noticed by: Jon Parise
2003-04-22 03:21:29 +00:00
Wez Furlong 71722f28ba I will use my brain properly next time 2003-04-22 00:21:02 +00:00
Wez Furlong eb22d78db8 allow sqlite_query() to accept the query string and database resource in
either order.

Forgot to bump the package version number displayed by phpinfo()...
Bump to 0.9a
2003-04-22 00:19:48 +00:00
Edin Kadribasic 43349ea014 Added sqlite.assoc_case ini entry with 0 as the default value.
0 - Make no changes to the keys in the associative array
1 - Change the keys to uppercase
2 - Change the keys to lowercase
2003-04-22 00:08:48 +00:00
Wez Furlong 04c5e2fc06 Prepare for release. 2003-04-21 20:24:03 +00:00
Moriyoshi Koizumi f9e805d52b The feature is less revelant to encoding conversion indeed 2003-04-21 19:07:21 +00:00
Moriyoshi Koizumi c591d4decd Reduced leaks in userland filters 2003-04-21 18:43:36 +00:00
Moriyoshi Koizumi cf620ddfdb Unified all those redundant printf's 2003-04-21 18:00:41 +00:00
foobar dd0228d3d8 Fix bug #23198 2003-04-21 17:53:37 +00:00
Stanislav Malyshev 5a904d6ea8 Update to latest inteface change for get_class_name 2003-04-21 17:03:29 +00:00
Wez Furlong 276e721f96 Tidy up package.xml file.
Cleaner approach for setting THREADSAFE and NDEBUG for bundled libsqlite.
Tested with: static, shared and shared with separate build roots under a
non-zts build only.
2003-04-20 16:09:16 +00:00
Wez Furlong 8ccae81db2 Eliminate leaks from registering plain or aggregate functions.
Also, reduce (probably eliminate) the risk of a segfault when registering a
callback on a persistent connection and later triggering the callback from a
different script.
2003-04-20 15:13:04 +00:00
Wez Furlong ac33bc48f0 Revise todo 2003-04-20 13:33:46 +00:00
Wez Furlong d40a615a8e Implement sqlite_create_function(), which allows binding of php functions by
name; this is a higher performance alternative to the generic php() SQL
function. (saves parsing the additional function call in the SQL and a call to
zend_is_callable on each function invocation).

Add test for sqlite_create_function().

Fixup proto for sqlite_create_aggregate().

Tweak package file and speling in header file.
2003-04-20 13:31:36 +00:00
Tal Peer b0d26a11ac Remove rendundant function 2003-04-20 13:21:17 +00:00
Tal Peer 2a54c9a308 typo 2003-04-20 13:17:17 +00:00
Tal Peer a676f6c29d Update 2003-04-20 13:15:45 +00:00
Wez Furlong 7360c5dfdd Add test for aggregates 2003-04-20 13:08:40 +00:00
Wez Furlong 4a46882648 Implement sqlite_create_aggregate() which can be used to create aggregation
functions for use in SQL statements.
2003-04-20 13:08:22 +00:00
Edin Kadribasic 3f18d16957 Kluge, but it seems to work now in both phpize and bundled builds.
Only in there until Wez fixes it for real.
2003-04-20 03:03:28 +00:00
Edin Kadribasic 04d06dac3f Reinstating these two items due to the fact that current config.m4
detection for debug and thread-safe build does not work if sqlite
is built as a standalone extension with phpize.
2003-04-20 01:55:20 +00:00
Edin Kadribasic a10c8a3e1c Erm, this works much better :) 2003-04-20 01:25:59 +00:00
Edin Kadribasic 3f95e99afc Set appropriate flags when compiling bundled lib in thread-safe
and debug modes.
2003-04-20 01:22:08 +00:00