Thies C. Arntzen
ad5b022ed1
@- OCINLogon() sessions are now closed again. (Thies)
...
# happy hacking in hongkong!
2000-03-06 08:02:15 +00:00
Hartmut Holzgraefe
dedd0eb898
SuSE 6.3 imap.rpm puts the library into /usr/lib and the include files into /usr/include/imap
2000-03-05 19:48:23 +00:00
Egon Schmid
79e36bd365
Protos fixed.
2000-03-05 07:00:16 +00:00
Chuck Hagenbuch
e7d03185c4
Attribute list support ported from php3.
2000-03-05 05:36:34 +00:00
Andrei Zmievski
b4b82e05d8
Remove warning.
2000-03-05 04:25:12 +00:00
Andrei Zmievski
b1de472ba3
Don't need this check.
2000-03-04 19:26:27 +00:00
Andrei Zmievski
0e18779e8b
@Added ip2long() and long2ip() courtesy of Faisal Nasim <faisal@nasim.org>
2000-03-04 17:28:16 +00:00
Andrei Zmievski
5610800a7b
@Added ftruncate() and fstat(), courtesy of Faisal Nasim <faisal@nasim.org>
2000-03-04 17:23:03 +00:00
Sascha Schumann
315999da94
Prefix some symbols with php_
...
^(pcre|Xml|XML).*
2000-03-04 14:44:01 +00:00
Sascha Schumann
365f379435
Don't export Lookahead
2000-03-04 14:22:15 +00:00
Sascha Schumann
84bafc1002
Remove outdated PHP 3.1 stuff
2000-03-04 14:21:22 +00:00
Zeev Suraski
d34b144061
@- Added parse_ini_file(). Currently implemented in non thread safe version
...
@ of PHP, and currently lacks section support (Zeev)
- Bring the non thread safe .dsp's uptodate
2000-03-04 02:59:14 +00:00
Chuck Hagenbuch
9ade072706
adding the fix for bug #3685 to php4 as well.
2000-03-03 21:57:26 +00:00
Jouni Ahto
b053e6422f
(imagearc) - Fix #3706 .
2000-03-03 14:15:05 +00:00
Uwe Steinmann
dd4f37a4cf
- tiny changes to testscript and domxml
2000-03-03 12:38:20 +00:00
Uwe Steinmann
9318964f25
- more changes to use zend_llist
2000-03-03 12:37:10 +00:00
Sascha Schumann
6401dc10b2
make it work
2000-03-03 12:12:01 +00:00
Sascha Schumann
51e6ab21d7
Better lib check
2000-03-03 11:54:07 +00:00
Sascha Schumann
2139099781
Also consider $i/include while searching for rfc822.h
2000-03-03 11:47:13 +00:00
Uwe Steinmann
8afd1b1d97
- xmltree() now returns an 'Dom Document' object with prop root and
...
children. root contains just the root element, children is an array
with all nodes on root level, e.g. comment, pi, element
2000-03-03 08:44:25 +00:00
Uwe Steinmann
bd09614526
- added property type to obejct xml doc
2000-03-03 08:02:22 +00:00
Joe Martin
68c10efe1b
Added functions to retrieve scale, precision and raw oracle data type for
...
columns.
2000-03-03 01:28:27 +00:00
Uwe Steinmann
9e0ae58772
- using zend llist instead of dlist (not tested)
2000-03-02 19:56:50 +00:00
Sascha Schumann
fc636abfa7
adjust comment II
2000-03-02 19:39:05 +00:00
Sascha Schumann
aa52ee54c1
adjust comment
2000-03-02 19:38:27 +00:00
Sascha Schumann
4682085405
Enable by default
2000-03-02 19:35:41 +00:00
Uwe Steinmann
11c654bbcd
- some minor changes, cleanups
2000-03-02 18:56:06 +00:00
Uwe Steinmann
2552876786
- dom class now distinguishes between $dom->root() and $dom->children()
...
$dom->root() returns just the element, $dom->children() all nodes e.g.
comments
2000-03-02 16:58:07 +00:00
Uwe Steinmann
ad311c35c7
- The root node of a xml doc is now an array since it is possible
...
to have a comment or pi and an element on root level.
2000-03-02 16:39:50 +00:00
Sam Ruby
14c223b2c7
Eliminate 62 warnings
2000-03-02 02:55:01 +00:00
Evan Klinger
bf8f42835f
Add appropriate check for mckcrypto lib
2000-03-02 02:05:39 +00:00
Uwe Steinmann
d693d6b2cb
- started to implement overload class for xml node
2000-03-01 21:16:24 +00:00
Egon Schmid
70893ff7af
Only two lines are allowed here.
2000-03-01 19:56:46 +00:00
Hartmut Holzgraefe
33cb181af2
round(-0.1) will now return 0 instead of -0
2000-03-01 19:36:37 +00:00
Thies C. Arntzen
490569ca28
@- OCINLogon no longer crashes. (Thies)
2000-03-01 08:17:33 +00:00
Evan Klinger
ae552c39fd
get rid of warning when $url["port"] isn't set
2000-03-01 07:03:33 +00:00
Chuck Hagenbuch
9f3c8ffeb0
Fix compile warnings.
2000-03-01 01:43:26 +00:00
Chuck Hagenbuch
f19fe37dec
Add _php_imap_parse_address(), which replaces a lot of duplicated,
...
hard-to-follow code in imap_headerinfo(). This code also happened to be
broken, causing the $h->to, $h->from, etc arrays to contain only the first
address, not every address. This is fixed now.
2000-03-01 01:35:15 +00:00
Chuck Hagenbuch
c87f13951f
Show the minor MCAL version if we have it.
2000-03-01 01:34:05 +00:00
Chuck Hagenbuch
e37ddc1368
Fix Bug #3632 - sanity check to not access a message that doesn't exist.
2000-02-29 19:58:31 +00:00
Jouni Ahto
aeb6f86fe6
(image(createfrom?)png) Fix a typo & remove unused variable.
2000-02-29 18:45:47 +00:00
Sascha Schumann
cc91e5ea64
Automatically try to symlink c-client.a to libc-client.a, so people
...
can avoid changing things.
2000-02-29 13:21:51 +00:00
Sascha Schumann
a05db57374
Rewrite IMAP checks. This should solve the problems people had with
...
shared imap libs
2000-02-29 13:12:48 +00:00
Andrei Zmievski
4c7af667a7
Made php_escape_html_entities() as a separate function for export.
2000-02-29 04:38:14 +00:00
Chuck Hagenbuch
d3d45277a1
fixing segfaults in imap_getmailboxes and imap_getsubscribed.
2000-02-28 21:03:08 +00:00
Andrei Zmievski
0e7e4d30f6
WDDX header comments now conform to the latest DTD.
2000-02-28 17:16:12 +00:00
Sam Ruby
6189e219ff
Improved handing of instances of private classes. Added servlet examples.
2000-02-28 17:02:28 +00:00
Jouni Ahto
bafbbea051
- Use *_ex-API and *_RESOURCE-macros (partial).
...
# Yell if this breaks all the hell loose. Otherwise I'll continue with the
# wonderful experience of learning PHP4/Zend-APIS.
2000-02-28 16:52:03 +00:00
Andrei Zmievski
fd629e6ee0
(php_set_session_var)
...
$foo and $HTTP_SESSION_VARS["foo"] are no longer references to the same
value.
2000-02-28 16:00:46 +00:00
Chuck Hagenbuch
556e2b9c6e
fixing number of arguments to be consistent with php3 code.
2000-02-28 01:37:21 +00:00
Chuck Hagenbuch
d91d3bbee2
mcal_next_recurrence() actually works again now (in addition to not
...
crashing).
Also, cleaned up the formatting.
2000-02-28 01:16:35 +00:00
Andi Gutmans
e45c1af8b4
- Hopefully fix browscap problem
2000-02-27 20:23:31 +00:00
Thies C. Arntzen
08055feffa
out of space in private (brain) memory;-)
2000-02-27 18:02:14 +00:00
Zeev Suraski
863651dff1
Compile fix
2000-02-27 17:11:03 +00:00
Thies C. Arntzen
48bc90a8aa
just so that i don't forget
2000-02-27 14:31:04 +00:00
Chuck Hagenbuch
4beb8a0d7d
Some formatting, and fix the crashes in mcal_next_recurrence (finally!)
2000-02-27 01:38:31 +00:00
Zeev Suraski
ece1369191
Fix Sybase DB compilation
2000-02-26 21:35:15 +00:00
Zeev Suraski
1261271839
Allow the INI callbacks to know at what stage PHP is
2000-02-26 15:36:23 +00:00
Zeev Suraski
fd344d3602
@- Added ini_set() as an alias to ini_alter() (Zeev)
2000-02-26 14:53:18 +00:00
Uwe Steinmann
a86e27db95
- More function in php module
2000-02-26 11:58:49 +00:00
Chuck Hagenbuch
3a59390e9d
fixing imap_undelete to accept 2 or 3 arguments, not 3 or 4.
2000-02-26 06:58:15 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Chuck Hagenbuch
1841e77906
- Removing the code that checks for Zend, since this is distinctly
...
php4-specific now.
- bringing it up to date with the mcal functions in php3
- cleanups
Unfortunately, it still segfaults. I'll file a bug report about that...
2000-02-26 03:09:11 +00:00
Stig Bakken
d23e5d837a
@- Implemented default_charset and default_mimetype config directives (Stig)
...
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
2000-02-25 21:27:03 +00:00
Zeev Suraski
99d572ad14
Make 4-diogit date RFC 2068 compliant
2000-02-25 16:45:52 +00:00
Egon Schmid
10f52b4805
Breaks funclist.txt
2000-02-25 11:28:41 +00:00
Egon Schmid
c0b3d86d91
More protos.
2000-02-25 08:54:12 +00:00
Jouni Ahto
ab7bbbb160
Ported T1lib support from PHP3.
...
@- Ported T1lib support from PHP3. (Jouni)
# That's almost a lie... needs still some work.
2000-02-25 06:43:51 +00:00
Zeev Suraski
b51805caeb
Update .dsp
2000-02-24 20:03:58 +00:00
Egon Schmid
e387105e35
Thies I will give up until tomorrow.
2000-02-24 17:23:04 +00:00
Egon Schmid
35a5c6f192
More protos.
2000-02-24 16:53:39 +00:00
Egon Schmid
c846de3fb4
More protos.
2000-02-24 16:36:07 +00:00
Egon Schmid
0178fb1ab5
More protos.
2000-02-24 16:30:42 +00:00
Egon Schmid
76ec07c402
Is it ok, Andrei.
2000-02-24 16:03:27 +00:00
Zeev Suraski
5520a43b77
- Fix Win32 build in Release_TS* modes
2000-02-24 15:56:48 +00:00
Egon Schmid
478abf57d4
More protos.
2000-02-24 15:55:10 +00:00
Egon Schmid
971a6f1702
More protos.
2000-02-24 15:11:09 +00:00
Egon Schmid
284491887f
There are more '|' and should be mixed.
2000-02-24 15:06:33 +00:00
Egon Schmid
c07b5282af
More protos.
2000-02-24 14:43:53 +00:00
Andrei Zmievski
2b9b11d3af
Fix bug #3599 .
2000-02-24 14:37:05 +00:00
Andrei Zmievski
c401bbe22e
Fix proto.
2000-02-24 14:07:35 +00:00
Sascha Schumann
189847996d
Revert last commit (cybercash has its own version of base64.h)
2000-02-24 10:58:21 +00:00
Egon Schmid
0275e4f665
Will watch the diffs as much as I can.
2000-02-24 10:11:42 +00:00
Thies C. Arntzen
88b903da66
zorro does a Z - egon does an e?
2000-02-24 09:32:50 +00:00
Egon Schmid
fe615efb5c
More protos.
2000-02-24 08:39:02 +00:00
Egon Schmid
7da7a50c69
More protos.
2000-02-24 08:07:29 +00:00
Egon Schmid
3b5efa05f7
More protos.
2000-02-24 07:49:43 +00:00
Egon Schmid
dcf5f1a8d5
Most functions don't have protos.
2000-02-24 07:46:56 +00:00
Egon Schmid
5bccee70ae
More protos.
2000-02-24 07:38:19 +00:00
Egon Schmid
9c94a2b971
More protos.
2000-02-24 07:27:39 +00:00
Zeev Suraski
b82f261918
Fix name
2000-02-23 22:50:57 +00:00
Zeev Suraski
6981775d23
Remove obsolete code
2000-02-23 21:52:23 +00:00
Stig Bakken
b275477b76
(PHP getrusage) don't define this function at all if the getrusage() function
...
is not available on the system.
2000-02-23 21:37:43 +00:00
Danny Heijl
4eae85673a
- Win32 compile fixes
2000-02-23 21:18:06 +00:00
Andi Gutmans
de6c9f35a1
- MySQL now compiles right into the PHP 4 binary on Windows
2000-02-23 21:10:18 +00:00
Sascha Schumann
1e1e162e31
Define SQL_SUCCEEDED for Solid.
...
PR: #3383
2000-02-23 19:16:34 +00:00
Sascha Schumann
027512320f
Include <sys/types.h> and <sys/time.h> before <sys/resource.h>
2000-02-23 17:39:58 +00:00
Egon Schmid
7bc9ea2b9f
More protos.
2000-02-23 16:57:09 +00:00
Egon Schmid
11e2405489
More protos.
2000-02-23 16:38:38 +00:00
Andreas Karajannis
324391bc30
uodbc now uses zend's reference system. The crashes on request shutdown should be gone.
2000-02-23 16:34:08 +00:00
Egon Schmid
1970a527ff
More protos.
2000-02-23 16:33:01 +00:00
Egon Schmid
ecb74a01a1
More protos.
2000-02-23 16:26:10 +00:00
Egon Schmid
6aff02506e
Thies, it looks now a little bit better.
...
Please correct my dummy entries.
2000-02-23 15:54:23 +00:00
Sascha Schumann
53e1ea7728
php.h should be the first file included, so that HAVE_* are defined
2000-02-23 15:44:02 +00:00
Egon Schmid
86c96359f3
More protos.
2000-02-23 15:04:36 +00:00
Egon Schmid
eb1cc78be8
Changed here also.
2000-02-23 14:50:40 +00:00
Sascha Schumann
21ca719293
Include <sys/resource.h> for getrusage(2)
...
PR: #3479
2000-02-23 14:13:34 +00:00
Sascha Schumann
9dc605afe5
Fix include file path
...
Suggested by: stephen@ecoverage.com
PR: #3542
2000-02-23 14:08:16 +00:00
Sascha Schumann
b828e6971c
Speling mistake, fix suggested by zeekamotay@hotmail.com in #3558
2000-02-23 14:05:56 +00:00
Egon Schmid
835fb93f63
More protos.
2000-02-23 09:29:10 +00:00
Andi Gutmans
4c0058f44a
- Make libmsyql.lib compile. It fails with two unresolved symbols on link
...
with PHP 4 so I am not commiting the .dsw quite yet.
2000-02-23 05:25:28 +00:00
Sascha Schumann
67f6945e8a
Revert part of the last commit
2000-02-22 22:52:14 +00:00
Andrew Skalski
ceebb2db61
added the ftp_site() function
2000-02-22 20:50:00 +00:00
Uwe Steinmann
5283b0b821
- added support for namespaces
...
- made entities in attributes possible
2000-02-22 20:24:56 +00:00
Andrei Zmievski
98674b73bd
(PHP exec) Return last line of output properly.
2000-02-22 18:00:32 +00:00
Uwe Steinmann
5f34cfddbc
- dom tree isn't editable anymore. Will probably change back in the future
2000-02-22 17:03:01 +00:00
Egon Schmid
18fee17d38
More protos.
2000-02-22 16:46:40 +00:00
Egon Schmid
e06c2021c9
More protos.
2000-02-22 15:48:43 +00:00
Sascha Schumann
3b74bbe999
Print out a warning, if writing the session data failed. This might
...
happen in a request shutdown handler; php_error() worked for me in the
CGI version.
2000-02-22 14:44:29 +00:00
Andrei Zmievski
e9abf023b4
Typo.
2000-02-22 14:23:09 +00:00
Thies C. Arntzen
e0b0919375
@- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies)
2000-02-22 13:56:48 +00:00
MySQL Team
a75a9fb8ef
Autogenerated file.
2000-02-21 16:42:14 +00:00
Uwe Steinmann
5dd0055c77
- pdf_set_text_matrix() disappeared in pdflib 2.30. Put in another ifdef
...
- small fix in testdom to suppress error msg.
2000-02-21 16:23:09 +00:00
Andi Gutmans
9ff0159bf4
- Update CVS with right version
2000-02-21 16:19:02 +00:00
Chuck Hagenbuch
13f27d8063
being accountable for the imap and mcal work that I've done (and adding an
...
MCAL credits line)
2000-02-21 14:50:41 +00:00
Andrew Skalski
b99722ddf5
added myself to the FTP/IMAP credits
2000-02-21 14:35:28 +00:00
MySQL Team
8a61125a54
Some small changes for readability
2000-02-21 00:07:09 +00:00
MySQL Team
bac6df0475
Autogenerated!
2000-02-21 00:03:28 +00:00
MySQL Team
349e81e468
Update for libmysql.
2000-02-20 22:50:57 +00:00
Sam Ruby
c764f2e3ab
php4ts.lib => php4ts_debug.lib when building for Debug_TS target
2000-02-20 14:27:17 +00:00
Sam Ruby
6e7b5172ea
Added support for arrays
...
Better support for instances of non-public classes (based on a suggestion
by Patrick Beard of NetScape)
2000-02-20 12:09:34 +00:00
Zeev Suraski
e3f95d1c5f
Win32 compile fix
2000-02-20 07:27:46 +00:00
Evan Klinger
7763337255
Eliminate compile errors relating to signals.
2000-02-20 05:32:51 +00:00
Zeev Suraski
ccaff4461b
Win32 compile fix
2000-02-19 23:43:27 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
17129a0deb
It didn't all go through
2000-02-19 23:40:09 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Zeev Suraski
bf25d1cec9
Restore the singal protection in the MySQL module
2000-02-19 22:41:53 +00:00
MySQL Team
d7c9624c5b
Add missing files to Makefile
2000-02-19 21:45:44 +00:00
MySQL Team
71613cbd57
First version from the MySQL team.
2000-02-19 21:35:02 +00:00
Zeev Suraski
739bdec582
Worked on beautifying rfc1867.c a bit
...
@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
@ through HTTP upload (Zeev)
2000-02-19 20:12:26 +00:00
Andi Gutmans
4f8ae75f4f
- Add two missing files
2000-02-19 19:51:47 +00:00
Zeev Suraski
1c4532dcbf
*** empty log message ***
2000-02-19 13:11:02 +00:00
Andi Gutmans
0cda28f77b
- Add libmysql to the tree
2000-02-19 10:10:46 +00:00
Zeev Suraski
f1dac01f11
- 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()
2000-02-18 17:59:44 +00:00
Sascha Schumann
9935ddee99
File is found in $(srcdir)
2000-02-18 09:59:42 +00:00
Chuck Hagenbuch
f27920214c
fixing imap_delete. All of the argcount checks were against one integer too
...
high.
2000-02-18 01:56:01 +00:00
Zeev Suraski
ae22fe4c52
- Update .dsp's
...
- Fix a possible crash bug in failed file open error message
- Fix SAPI initialization issue that could lead to a crash
2000-02-18 01:52:11 +00:00
Andrei Zmievski
087e39a7ef
Don't need dlist.h anymore.
2000-02-17 23:08:33 +00:00
Andrei Zmievski
588ea96deb
Updated to use Zend's internal doubly-linked list instead of dlist.[ch]
...
implementation.
Also fixed serialization to always output objects as struct. In the past,
if the object did not have any member variables initialized it would've
been output as array of length 0.
2000-02-17 23:07:47 +00:00
Uwe Steinmann
d526de3fa8
- fixed bug if attribute value is entity
2000-02-17 20:30:00 +00:00
Zeev Suraski
a6393de6f7
Make POST handling the way it should be. RFC1867, and any future POST handlers we might
...
have in the future now obey to the variables_order directive, and there's a real way modular
way to handle POST content.
This is all untested, BEFORE_SAPI_POST_PATCH_17_FEB_2000 tagged before submission
@- Made multipart/form-data content obey to the variables_order directive (Zeev)
2000-02-17 20:23:59 +00:00
Uwe Steinmann
995c565fba
- change some function name into php style
2000-02-17 15:05:24 +00:00
Sam Ruby
08dc9ba24f
Allow non-public enumerations to be accessed
2000-02-17 06:44:14 +00:00
Frank M. Kromann
6062f199d9
Fixing up TS-modes. Non TS-modes will bee added later
2000-02-16 21:20:10 +00:00
Frank M. Kromann
b770a07e9c
Fixing up TS-modes. Non TS-modes will bee added later
2000-02-16 21:18:47 +00:00
Zeev Suraski
75b1316e70
@- Updated the browscap module to work with PHP 4.0 (Zeev)
2000-02-16 17:46:14 +00:00
Andrew Skalski
2ba009c0f1
recognize 125 as success for put/get commands
2000-02-16 16:07:27 +00:00
Thies C. Arntzen
9819391442
(url_parse) only free regex if compile worked.
2000-02-16 11:47:20 +00:00
Thies C. Arntzen
1fae341a98
(url_parse) fix memory leak ( #3495 )
2000-02-16 11:41:49 +00:00
Andi Gutmans
c854703ad6
- PHP_WIN32
2000-02-16 09:33:19 +00:00
Andrei Zmievski
1f19c43d9d
Fix enable again.
2000-02-15 22:55:45 +00:00
Chuck Hagenbuch
ea459657d1
adding a missing PHP_FALIAS to imap_listsubscribed()
2000-02-15 20:06:53 +00:00
Andrei Zmievski
530bb8ec9e
Changed --with-wddx to --enable-wddx.
2000-02-15 14:43:32 +00:00
Andrei Zmievski
4661030b38
Test for --enable-xml.
2000-02-15 14:24:59 +00:00
Andrei Zmievski
24150ded0d
Changing the header.
2000-02-15 14:24:46 +00:00
Uwe Steinmann
385b6a22a4
- initial support for pdflib 2.20, little testing till now
2000-02-15 08:10:32 +00:00
Andrei Zmievski
f71098906b
Fix for filesize() and others on sockets.
2000-02-14 14:18:17 +00:00
Hartmut Holzgraefe
f4c778ff04
imap_delet(),imap_undelete() and imap_move() will now optionaly accept UDIs
2000-02-14 13:09:51 +00:00
Frank M. Kromann
7fa7c8a8e3
Fixing compile and link with current cvs.
2000-02-13 19:06:51 +00:00
Andi Gutmans
bac7a5085e
- Not sure if len can be zero but it's better to check it once then
...
rechecking for it every loop and having an extra variable do nothing.
2000-02-13 15:59:32 +00:00
Andi Gutmans
7441ee5175
- Beautify a bit.
2000-02-13 15:56:07 +00:00
Zeev Suraski
6ae0902498
- Hopefully fix strip_tags bug
...
@- Fix overrun in strip_tags (Stas, Zend library)
2000-02-13 15:35:51 +00:00
Thies C. Arntzen
017a6353d1
@- Fixed crash in strip_tags() and related functions. (Thies)
2000-02-13 14:56:35 +00:00
Danny Heijl
9d4e4545fe
- PHP_WIN32
2000-02-13 11:24:14 +00:00
Zeev Suraski
003ef1aa74
Trap bailout of shutdown functions
2000-02-13 00:26:54 +00:00
Andi Gutmans
bbb25255b0
- Update the C file to use PHP_WIN32
2000-02-12 19:47:49 +00:00
Andi Gutmans
d997d485ff
- Update the project file with the Win32 defines.
2000-02-12 19:46:45 +00:00
Sascha Schumann
e7a4d5f18d
Tell expat the byte order
2000-02-12 15:08:32 +00:00
Sascha Schumann
0036b8bba0
#if WIN.* => #ifdef PHP_WIN32
...
#if !(WIN.* => #ifndef PHP_WIN32
2000-02-12 14:38:31 +00:00
Sascha Schumann
f6eb750183
Use bundled expat library on UNIX. Note: Need to fix --enable-xml=shared
2000-02-12 14:28:49 +00:00
Sam Ruby
34723d02f8
on WIN32, PHP_WIN32 and ZEND_WIN32 need to be defined
2000-02-11 23:50:01 +00:00
Andrei Zmievski
a60e91b313
(request_shutdown) Prevent infinite loop on shutdown if there is an error
...
in shutdown function.
(php_array_walk) Print a warning if the walk function doesn't exist.
Split shutdown function call into a separate function that's called with
zend_hash_apply() instead of as destructor to keep hash consistent.
This fixes bug #3419 .
2000-02-11 21:14:42 +00:00
Andrei Zmievski
0f4b9aa812
Fix prototype.
2000-02-11 19:19:06 +00:00
Andrei Zmievski
055645b079
(PHP passthru) Shouldn't return anything.
...
This fixes bugs #3428 and #3430 .
2000-02-11 19:16:36 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andrei Zmievski
80f4886c5a
Define phpext_oracle_ptr properly.
2000-02-11 15:34:11 +00:00
Sascha Schumann
12d3e3d775
More cosmetic things
2000-02-11 13:41:30 +00:00
Sascha Schumann
fe416bd353
Kill warnings
2000-02-11 13:25:26 +00:00
Sascha Schumann
89553f5df6
Some style(9) cosmetics
2000-02-11 12:59:08 +00:00
Andi Gutmans
1c7f36465b
- A few more
2000-02-10 22:00:52 +00:00
Andi Gutmans
8d012c45e2
- A bit more PHP_WIN32 work
2000-02-10 21:55:30 +00:00
Andi Gutmans
29280bb9ec
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
2000-02-10 21:53:56 +00:00
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
...
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
2000-02-10 19:41:21 +00:00
Zeev Suraski
41f6bca92f
More cleanup!
2000-02-10 18:19:04 +00:00
Sascha Schumann
c59993005c
- Fixed ^#[ ]+preprocessor directive$ constructions which break
...
some compilers
- Made php_xml.h useable without having xmltok.h/xmlparse.h in the include
path
2000-02-10 18:03:55 +00:00
Zeev Suraski
0fd89aa20d
More cleanup - move getenv() to SAPI
2000-02-10 17:55:01 +00:00
Thies C. Arntzen
4a824eb8cb
@- Added NULL-support in gettype(). (Thies)
2000-02-10 15:51:50 +00:00
Uwe Steinmann
992e808451
- added funktion xmltree(), renamed dom() to xmldoc() and domfile()
...
to xmldocfile().
- testdom covers most of the functionality
2000-02-10 15:24:13 +00:00
Uwe Steinmann
e79c87aca0
- added pdf_open_tiff()
2000-02-10 10:20:31 +00:00
Thies C. Arntzen
c59c663619
@- base64_decode() will decode POST data correct. (Thies)
...
@ Patch submitted by: Turadg Aleahmad <turadg@wise.berkeley.edu>
2000-02-10 09:44:22 +00:00
Uwe Steinmann
e548a31510
- removed stupid leftover in testdom
...
- added more functions to domxml
2000-02-09 20:06:23 +00:00
Uwe Steinmann
9603c7cc83
- new function to read and parse xml doc from file
2000-02-09 14:07:44 +00:00
Uwe Steinmann
06c586932a
- fixed several bugs an did some testing. Parsing and creating simple
...
XML docs should work. See the script testdom.
2000-02-09 12:46:32 +00:00
Zeev Suraski
2460569ccb
Change string->str where possible; string is basic a C++ class, so gdb can't look
...
inside variables named 'string'.
2000-02-08 22:21:43 +00:00
Zeev Suraski
489b705d4b
@- Fixed memory corruption in fgetss(), strip_tags() and gzgetss() (Zeev)
2000-02-08 21:29:18 +00:00
Uwe Steinmann
3b5659ae92
- made hyperwave extension compile again
2000-02-08 09:47:55 +00:00
Thies C. Arntzen
de0774041c
@- Made the output of var_dump() more informative. (Thies)
2000-02-07 18:00:16 +00:00
Hartmut Holzgraefe
ce62bbb674
another re-sync with the PHP3 tree
...
imap_mail deactivated for win builds, as the files
win32/imap_sendmail.c win32/imap_sendmail.h from
PHP3 are still missing
2000-02-07 15:52:47 +00:00
Thies C. Arntzen
aee1dd9ec0
kill warning
...
@- Fixed some OCIBindByName() problems. (Thies)
2000-02-07 10:31:43 +00:00
Danny Heijl
44c0f591f7
- Make it compile again with new (p)list globals.
2000-02-06 15:36:44 +00:00
Thies C. Arntzen
90ac20ebb5
@- Fixed possible buffer-overflow in base64_decode. (Thies)
...
fix #3226
2000-02-06 15:18:59 +00:00
Thies C. Arntzen
59e466d54c
fix for #3413
...
@- Fixed possible buffer-overflow in setcookie(). (Thies)
2000-02-06 14:36:27 +00:00
Zeev Suraski
c630fe664f
Standardize
2000-02-05 22:58:59 +00:00
Zeev Suraski
82dbc9c74f
Get Win32 IMAP DLL to compile
2000-02-05 19:22:17 +00:00
Andi Gutmans
8c813dbb96
- Make Win32 compile again
2000-02-05 17:58:11 +00:00
Zeev Suraski
39cb8fe0ac
Fix PostgreSQL startup routine in thread-safe mode
2000-02-05 17:26:35 +00:00
Zeev Suraski
bf609338ae
Fix
2000-02-05 17:09:00 +00:00
Thies C. Arntzen
b29ad75564
fix compile
2000-02-05 16:36:15 +00:00
Zeev Suraski
212e25e4be
PostgreSQL compile fixes
2000-02-05 16:12:23 +00:00
Zeev Suraski
c12aa454ff
Compile fixes
2000-02-05 15:44:20 +00:00
Zeev Suraski
3a816341f9
Cleanup patches
2000-02-05 15:16:12 +00:00
Andrei Zmievski
c77aa759ea
Implemented setting of session cookie parameters.
...
@ Added session_set_cookie_params() function. (Andrei)
2000-02-04 23:34:24 +00:00
Zeev Suraski
8055da9830
Use the new state functions
...
@- If header information is sent after output has already been sent, the warning
@ message will now state the filename and line number at which the first output
@ was made (Zeev)
2000-02-04 14:54:30 +00:00
Uwe Steinmann
fb46032cbb
- fixed several bugs, left some for tomorrow :-)
2000-02-03 21:11:58 +00:00
Uwe Steinmann
a6869f2333
- more functions added but none of them tested
2000-02-03 17:21:23 +00:00
Uwe Steinmann
0b414c4e4e
- fixed segm fault in hw_docbyanchor()
2000-02-03 17:20:49 +00:00
Andrei Zmievski
1a4e39838f
(PHP wddx_deserialize) Fixed a problem with deserializing empty values.
...
(php_addslashes) Guard against NULL data.
2000-02-02 21:53:27 +00:00
Uwe Steinmann
ef4cd692e0
- support libxml installed in gnome
2000-02-02 20:57:49 +00:00
Zeev Suraski
e1a753c3d0
Add expat to the distribution
...
Add expat support to Win32 builds
2000-02-02 18:42:04 +00:00
Andrei Zmievski
0c535aa355
(php_sock_fgets) Respect timeout event.
2000-02-02 18:00:44 +00:00
Andrei Zmievski
1258fbb077
Some rearranging.
2000-02-02 14:15:46 +00:00
Thies C. Arntzen
3ccff40306
use FREE_ZVAL where appropiate
2000-02-02 11:31:37 +00:00
Uwe Steinmann
22c5c021f0
- several minor cleanups like removing unused variables
2000-02-02 11:18:06 +00:00
Andrei Zmievski
f0f00daa92
Moved ext/apache into sapi/apache.
2000-02-02 06:09:00 +00:00
Andrei Zmievski
83a0278171
Not needed.
2000-02-01 22:17:06 +00:00
Zeev Suraski
c47452f729
Compile fix
2000-02-01 22:13:13 +00:00
Andrei Zmievski
a753430fb9
- Implemented socket_get_status() function. Some more stuff can be added
...
to it in the future.
- Renamed set_socket_timeout() to socket_set_timeout()
- Renamed set_socket_blocking() to socket_set_blocking() but kept the
old name for compatibility. It now outputs a warning that
set_socket_timeout() is deprecated but still goes through.
@ Added socket_get_status() function. Renamed:
@ set_socket_timeout() -> socket_set_timeout()
@ set_socket_blocking() -> socket_set_blocking(). (Andrei)
2000-02-01 20:02:44 +00:00
Thies C. Arntzen
c145f85638
make it work without the zend_hash_pointer*() functions. some work on the shutdown issues (more to follow)
2000-02-01 14:39:59 +00:00
Andrei Zmievski
91bb21c522
Implemented realpath().
...
@ Added realpath() function. (Andrei)
2000-02-01 06:06:03 +00:00
Zeev Suraski
86a19f4714
Add the complement to the putenv() security
2000-01-31 22:31:00 +00:00
Sascha Schumann
f8e1457be0
(PHP mktime) Added windowing support for 0..70
...
@- mktime interprets years in the range 0-70 now as 2000-2070. You can
@ continue to specify the complete year (i.e. 1920) (Sascha)
2000-01-31 17:22:17 +00:00
Zeev Suraski
53a0d6fb9d
Fix typo
2000-01-30 22:14:58 +00:00
Zeev Suraski
5540028340
@- Added the ability to prevent the user from overriding certain environment
...
@ variables in Safe Mode (Zeev)
- Finished work, more or less
2000-01-30 22:10:30 +00:00
Zeev Suraski
01362974d6
Some more work, I'll finish this when I get home
2000-01-30 20:49:16 +00:00
Zeev Suraski
430571d62c
Initial work on the protected env vars stuff
2000-01-30 20:31:41 +00:00
Zeev Suraski
8a2f6c5e60
@- Fixed a crash bug in strtr() working on large input strings (Zeev)
2000-01-29 17:54:30 +00:00
Sam Ruby
8a75e48bd4
Progress: sapi/servlet now builds again on Unix
2000-01-29 17:53:58 +00:00
Zeev Suraski
99f079a349
- A few fixes
...
- Added register_argv_argc directive to allow disabling of argv/argc
2000-01-28 18:29:37 +00:00
Zeev Suraski
9ab35ae393
Tried to centralize global variable registration as much as possible:
...
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
to $HTTP_GET_VARS[], contain environment and server variables. Setting
register_globals to Off will now also prevent registration of the
environment and server variables into the global scope (Zeev)
- Renamed gpc_globals to register_globals (Zeev)
- Introduced variables_order that deprecates gpc_order, and allows control
over the server and environment variables, in addition to GET/POST/Cookies
(Zeev)
2000-01-28 17:24:53 +00:00
Zeev Suraski
fc678100cd
post.c really had nothing to do with POST anymore, and it belongs to the top level directory
2000-01-28 13:31:12 +00:00
Zeev Suraski
3a35a6955d
Get rid of the old implementation
2000-01-28 12:53:05 +00:00
Sam Ruby
137765c95a
accomodate old versions of kaffe which don't support jar
2000-01-28 10:53:06 +00:00
Sam Ruby
302ccb0d97
Shutdown cleanly (prevents Kaffe from trapping on exit)
2000-01-28 00:32:28 +00:00
Chuck Hagenbuch
b87e48802e
Mcal cleanup, stage 1: it compiles again (the php3 syntax to php4/zend
...
syntax conversion left a lot of: PHP_FUNCTION void ... definitions, giving
two types to every function).
However, it's still segfaulting. I'll look into that next.
2000-01-27 16:38:45 +00:00
Sam Ruby
5924c920ec
PHP now starts up in CGI mode with Kaffe on RedHat Linux 6.1.
...
status: segfault atexit, npe in jawt - but otherwise both samples work!
Installation needs more work
2000-01-27 13:44:45 +00:00
Sam Ruby
31e3466556
Forward progress, thanks to Sascha Schumann.
...
libphp_java.so is now built again - it just refuses to load.
At least I now have something I can debug!
2000-01-27 02:13:21 +00:00
Uwe Steinmann
5c3917478a
- resumed work on domxml and found a way to circumwent a segm fault
...
(see the source). No solution to fix it, yet. Probably needs some
understanding of zend, which I don't have.
- added more functions
2000-01-25 17:00:09 +00:00
Egon Schmid
99ff6e3b76
Proper indentation here also.
2000-01-24 20:25:57 +00:00
Andreas Karajannis
2b6d84ff37
Fix for wrong library ordering with adabas
2000-01-19 18:21:53 +00:00
Sam Ruby
e6c203832e
First step to restoring the ability to build Java support on Unix:
...
1) Restore the ability to build CGI as a shared library
2) Correct make dependency rule so that the jar files are included
3) Search for jar executable, and use it, if found
Left TODO: actually build the shared libraries
2000-01-19 14:45:26 +00:00
Thies C. Arntzen
fb6a1b8b83
RETURN_NULL -> RETURN_NULL() // we don't want macros without an argumnet
2000-01-19 09:38:45 +00:00
Zeev Suraski
4b006cb8b0
This doesn't seem to be necessary, and causes a leak in case of output_buffering=on
2000-01-18 22:25:48 +00:00
Thies C. Arntzen
c6df8ab565
@- Ora_GetColumn()/Ora_FetchInto() now return NULL for NULL-Columns. (Thies)
...
also changed return-type for list-dtor
2000-01-18 08:35:55 +00:00
Zeev Suraski
df138c2e2f
- MS-SQL fix
...
- Fix a crash bug in session_register()
2000-01-17 22:41:59 +00:00
Zeev Suraski
62114c1806
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
2000-01-17 17:33:37 +00:00
Zeev Suraski
ec386cc9fd
- Remove the pre-request-shutdown hooks, they should no longer be necessary.
...
The session module may not work due to an unknown (and until now, IMO, misdiagnosed) problem,
if it does, please report it!
2000-01-16 21:03:49 +00:00
Zeev Suraski
97e1ad136a
Fix
2000-01-16 20:37:09 +00:00
Zeev Suraski
2dea694ab4
Remove the post-startup callback support. Modules are now started only after
...
the entire engine is started. People - please make sure that the session module
works properly for you.
2000-01-16 19:43:34 +00:00
Thies C. Arntzen
8950aa75c4
@- OCI8 now supports binding of NULL-values. Module cleanups. (Thies)
...
lots of cleanup - all invisible to the user (i hope;-)
- full refcounting of connections & statements
- cleanup of the descriptor-code (descriptors are now real resources)
- we now use SQLT_CHR instead of SQLT_STR (no trailing \0) - smarter & faster
- ocifetchinto(OCI_BOTH) will use references.
2000-01-16 13:30:57 +00:00
Andrei Zmievski
3e5dc58f35
(wddx_stack_destroy) Properly free the dangling varname.
...
(php_wddx_deserialize_ex) There should be only 1 value on the stack after
parser is done.
2000-01-15 23:34:51 +00:00
Andrei Zmievski
878906fbb8
Another idea I had today.
2000-01-15 21:35:50 +00:00
Andrei Zmievski
2fc0dac01e
(php_sockwait_for_data) timeout is not assigned yet, so check the right one.
2000-01-15 20:39:06 +00:00
Sascha Schumann
44a712d810
(php_sockwait_for_data) clean up
2000-01-15 19:51:44 +00:00
Andrei Zmievski
bfc85c288a
Fix prototype.
2000-01-15 19:42:40 +00:00
Andrei Zmievski
4423bf9d10
Added ability to set timeout on socket read operations. New function
...
set_socket_timeout(socket, seconds, microseconds) sets the timeout.
@- Added ability to set timeout on socket read operations through
@ set_socket_timeout() function. (Andrei)
2000-01-15 19:41:17 +00:00
Zeev Suraski
a0591b32c7
Fix logic
2000-01-15 17:23:18 +00:00
Sascha Schumann
b83739945e
Initialize flag correctly
2000-01-15 17:16:21 +00:00
Zeev Suraski
259c05829b
Compile fixes for ZTS
2000-01-15 16:56:30 +00:00
Thies C. Arntzen
bf4d20aaa8
just add a remark. zend_hash_apply can & will cause problems here unless
2000-01-15 13:39:19 +00:00
Thies C. Arntzen
b42603eee6
in an rshutdown function we should not access the regular_list like this.
2000-01-15 13:35:06 +00:00
Sascha Schumann
a0b08b5e0b
Be more verbose, if headers were already sent and remove RSHUTDOWN handler
2000-01-15 13:20:39 +00:00
Thies C. Arntzen
64c6e1e90e
sessions are now written via a _php_session_shutdown which is registered
...
via php_register_pre_request_shutdown().
2000-01-15 13:09:32 +00:00
Sascha Schumann
e078a04fd0
Complain verbosely, if a destroy failed
2000-01-15 12:17:18 +00:00
Zeev Suraski
3f74baed02
Woops, forgot to commit the right version of the file...
2000-01-13 17:54:51 +00:00
Zeev Suraski
972631be71
- Added flush() support to SAPI
...
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
2000-01-13 17:37:25 +00:00
Sascha Schumann
d67a4cec24
Add description for AC_DEFINEs
2000-01-12 19:03:34 +00:00
Sascha Schumann
3164ac7217
Fix compile on AIX, #2071
2000-01-12 18:21:39 +00:00
Zeev Suraski
736570923d
@- Fixed a crash in pfsockopen() (Zeev)
2000-01-10 19:56:23 +00:00
Uwe Steinmann
78e84f9da3
- changed cpdf_global_set_document_settings() to cpdf_global_set_document_limits()
2000-01-10 12:42:05 +00:00
Uwe Steinmann
a4dc650d11
- added cpdf_global_set_document_limits()
2000-01-10 11:01:56 +00:00
Zeev Suraski
8acd3e3818
@- Fixed a possible crash in phpinfo() (Zeev)
...
phpinfo() now ensures that HTTP_*_VARS[] are actually arrays before it tries
to access them...
2000-01-09 18:32:13 +00:00
Thies C. Arntzen
e1334ec9bb
fix solaris compile
2000-01-07 13:30:53 +00:00
Thies C. Arntzen
48e10ec9c4
@- Applied safe-mode patch to popen(). (Patch by Kristian Köhntopp)
2000-01-06 15:27:03 +00:00
Sascha Schumann
4bd0b72b98
Fix namespace pollution
2000-01-05 19:37:13 +00:00
Jouni Ahto
9a07df6c4a
(php_setlocale) Fixed memory leak (bug #3105 ).
...
# Must have been thinking something else when originally wrote this.
2000-01-05 12:26:41 +00:00
Andrei Zmievski
16a35c234e
Fix IS_UNSET -> IS_NULL rename.
2000-01-04 14:41:56 +00:00
Andi Gutmans
60841f1231
- Separate the overloaded objects' types from Zend's data types.
...
There is no reason for them to be the same, and IS_METHOD just cluttered
the data types.
- Overloaded elements should now use OE_IS_OBJECT, OE_IS_ARRAY, and
OE_IS_METHOD
2000-01-04 13:56:13 +00:00
Andi Gutmans
bdefd5da15
- Change IS_UNSET -> IS_NULL
2000-01-04 13:22:58 +00:00
Thies C. Arntzen
402a9db2fe
@- str_repeat() now returns correct length. (Thies)
2000-01-04 09:45:28 +00:00
Sascha Schumann
2602a59e87
Replace all += constructs with equivalent ones
2000-01-04 02:58:46 +00:00
Rasmus Lerdorf
ed3c962b39
@ Don't assume libz and libpng are installed for the GD checks (Rasmus)
2000-01-04 02:42:27 +00:00
Andrei Zmievski
4595bf1e20
* Implemented <boolean> and <null> types. We now support WDDX version 1.0
...
as best as we can.
* Cleaned up the API function names, _ was really not needed.
* Cleaned up the repetitive stack var name stuff with a macro.
* WDDX now no longer converts numbers to strings in arrays when during
serialization.
@Implemented support for <boolean> and <null> types according
@to WDDX version 1.0 (Andrei)
2000-01-03 18:10:27 +00:00
Andreas Karajannis
0ab3cda84a
Statements get closed before connection shutdown.
...
Disabled fetching all errors for Adabas.
2000-01-02 15:59:01 +00:00
Thies C. Arntzen
953bf8bbf6
(var_dump, serialize, unserialize) support NULL
...
@- Added new NULL constant (Zeev, Zend library)
2000-01-02 11:49:27 +00:00
Sascha Schumann
890c1de998
Remove second (equal) definition of isleap()
2000-01-01 20:50:37 +00:00
Thies C. Arntzen
8edf2b88dc
tiny optimisation
2000-01-01 16:54:55 +00:00
Thies C. Arntzen
e81d9aaca3
Happy new year (especially to Zeev :)
2000-01-01 16:52:14 +00:00
Sascha Schumann
2fd8cbff2a
Declare timezone only, if the system fails to do so.
2000-01-01 02:22:01 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
3762f2d25c
Be as portable as possible
2000-01-01 01:20:59 +00:00
Zeev Suraski
ccb4b18348
Happy new year (especially to Thies :)
...
- Zend branch patches merged in - get the PHP tree uptodate
- Clean
1999-12-31 14:06:31 +00:00
Sascha Schumann
f5bf967660
Fix linking problems with iODBC. This is from the Adabas section, so
...
this might work for iODBC.
1999-12-31 00:38:22 +00:00
Sascha Schumann
797b8885c5
First try at getting the ODBC stuff right
1999-12-31 00:21:01 +00:00
Andreas Karajannis
7c88c6fce1
Replaced some ODBC 3 stuff to be backwards compatible to ODBC 2
1999-12-30 17:11:47 +00:00
Sascha Schumann
0c46c25633
Append liblber to satisfy symbols in libldap
1999-12-30 14:49:17 +00:00
Sascha Schumann
7948fe36c4
Fix define.
...
This should be the last one, my earlier search didn't find macro names
contain numbers.
1999-12-30 13:19:56 +00:00
Thies C. Arntzen
c76f23420e
fix AC_DEFINE
1999-12-30 12:27:09 +00:00
Sascha Schumann
163f5f4993
Propagate error condition correctly
1999-12-30 06:16:55 +00:00
Sascha Schumann
3a82ae9244
Ease include file selection. Let's see which cpps support this construct.
1999-12-30 06:09:46 +00:00
Sascha Schumann
cf5a5fb1dd
Whoops, defining them to empty values generates many parse errors.
...
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Sascha Schumann
aec0bb339b
Fix -Wall warnings
1999-12-28 20:50:34 +00:00
Sascha Schumann
09d2e3d159
Move include into source file
1999-12-28 18:47:59 +00:00
Sascha Schumann
a20c76fcbc
Add neccessary includes
1999-12-28 18:45:10 +00:00
Thies C. Arntzen
eb1927d94e
non-ZTS fix
1999-12-28 12:14:18 +00:00
Sascha Schumann
5d65261362
Remove unneccessary include to make stand-alone build work
1999-12-28 07:54:21 +00:00
Sascha Schumann
7e156e73b5
Build correctly on systems which lack localtime_r
1999-12-27 10:52:46 +00:00
Sascha Schumann
068596552d
Cache results of crypt capability checks
1999-12-26 22:35:55 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Zeev Suraski
90f1218fbb
- Change uint32 to php_uint32 (PostgreSQL defines uint32, and perhaps other packages too)
...
- PostgreSQL finally compiles&links
1999-12-26 00:18:44 +00:00
Zeev Suraski
7d2d48e116
Make PostgreSQL compile again
1999-12-25 23:59:14 +00:00
Andi Gutmans
d6f788f56a
- Get rid of two warnings
1999-12-25 09:06:55 +00:00
Andi Gutmans
3bf1b04cb4
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
1999-12-24 17:39:27 +00:00
Andi Gutmans
3f6e00e48d
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
...
more tricky and I'm not sure how many places this is. zval allocations
were only made directly in 11 places.
1999-12-24 15:43:39 +00:00
Thies C. Arntzen
63d0849403
pval->zval
1999-12-23 14:59:01 +00:00
Thies C. Arntzen
a94721fc4c
@- strrev() no longer modifies arg1. (Thies)
1999-12-23 14:55:50 +00:00
Thies C. Arntzen
a04805ce88
killed warning + added reminder
1999-12-23 12:52:12 +00:00
Thies C. Arntzen
337bcc7014
ZTS fix
1999-12-23 12:46:25 +00:00
Thies C. Arntzen
4e095276af
digital cc doe not like whitespaces before a # mark
1999-12-23 08:18:35 +00:00
Sascha Schumann
5eeb9db457
Kill compiler warning
1999-12-22 22:47:18 +00:00
Sascha Schumann
b0e1f9ca2f
Enable --with-oci8 to use relative paths as input parameters
1999-12-22 22:16:47 +00:00
Thies C. Arntzen
ec33704c39
@- Fixed buffer overruns in iptcembed(). (Thies)
1999-12-22 14:46:31 +00:00
Sascha Schumann
095909be79
Logic fix, improved comments, better SID checking
1999-12-22 00:38:04 +00:00
Sascha Schumann
f889148335
Warn users, if they have disabled gpc_globals and track_vars. Also work
...
correctly, if users have enabled track_vars/disabled gpc_globals.
1999-12-22 00:11:04 +00:00
Sascha Schumann
a2276107ab
Some cleanup
1999-12-21 22:58:04 +00:00
Zeev Suraski
e538fcbf10
@- 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)
1999-12-21 20:35:43 +00:00
Andrei Zmievski
42847f7d5c
Some more php3->php stuff.
1999-12-21 20:02:26 +00:00
Andrei Zmievski
cc205c60ae
Correct PHP's mime type.
1999-12-21 19:40:27 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Thies C. Arntzen
e96c5401f1
commented out select() & friends for now - we need to come up with a good API for those!
1999-12-21 16:51:27 +00:00
Evan Klinger
8306501e48
Ex API
1999-12-21 06:11:52 +00:00
Zeev Suraski
06ab44337f
This should get it to compile...
1999-12-21 05:22:43 +00:00
Sam Ruby
8a34d1a7e0
Further cleanup as including php.h is no longer harmful
...
- thanks to Sascha for noticing it.
Tested on Linux and WinNT, should work everywhere.
1999-12-21 02:34:20 +00:00
Sascha Schumann
ed0a307ccd
Use sapi_module_struct to contain SAPI module name
1999-12-20 23:09:54 +00:00
Andrei Zmievski
742c58c240
(PHP preg_quote) Made binary-safe.
...
@ Made preg_quote() binary-safe. (Andrei)
1999-12-20 20:49:56 +00:00
Andrei Zmievski
6e1dbe497c
Made quotemeta() binary-safe.
...
@ Made quotemeta() binary-safe. (Andrei)
1999-12-20 20:43:47 +00:00
Andrei Zmievski
1ad5180f28
getParameters -> zend_get_parameters
1999-12-20 17:34:55 +00:00
Zeev Suraski
f455a484bd
Make the Win32 tree compile again
1999-12-20 15:38:44 +00:00
Andrei Zmievski
2603f1c419
Zend fixups.
1999-12-20 15:23:38 +00:00
Egon Schmid
5eba3fbd34
Corrected some protos.
1999-12-20 13:28:17 +00:00
Hartmut Holzgraefe
a4c22c8b3a
IMAP should now be in sync with its PHP3 counterpart
1999-12-20 11:10:33 +00:00
Sascha Schumann
0d70a91b6d
Add information about chosen SAPI module to phpinfo()
1999-12-20 07:12:27 +00:00
Evan Klinger
f5d5637f72
Ex API
1999-12-20 02:09:58 +00:00
Evan Klinger
eb54c032c8
Ex API
1999-12-20 01:23:15 +00:00
Evan Klinger
9ea9ca32ba
Ex API and UDP support.
...
@- Added UDP support in fsockopen() (Evan).
# UDP activated with "udp://hostname"
1999-12-20 00:55:58 +00:00
Zeev Suraski
dc0a5f9c24
Fix PostgreSQL build
1999-12-19 22:44:55 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00
Danny Heijl
4dbf758f4c
(ext/informix) function name changes: zend_get_parameters_ex (danny)
1999-12-19 20:05:53 +00:00
Zeev Suraski
489de5dce2
Support the latest update to call_user_function_ex()
1999-12-19 18:58:27 +00:00
Hartmut Holzgraefe
9947223800
replaced PHP_FE by PHP_FALIAS in imap_functions[] where appropriate
1999-12-19 16:31:26 +00:00
Sascha Schumann
cb45c2ea55
Use zend_sprintf by default (which is defined to sprintf, if the system's
...
sprintf is useable).
1999-12-19 14:39:41 +00:00
Evan Klinger
e760c2b3b9
DAV extension now compiles.
1999-12-19 02:15:18 +00:00
Sascha Schumann
63d4411560
Use workaround function for sprintf, if the return value of sprintf is needed
1999-12-19 02:12:31 +00:00
Sascha Schumann
d15e7a5ec2
Fix for missing RAND_MAX on SunOS 4.1
...
Reported by: Brian Lalor <blalor@netDrives.com>
1999-12-18 23:28:43 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Danny Heijl
6bdcfc745d
(ext/informix) : remove traces of php3 (danny)
1999-12-18 17:08:41 +00:00
Andrei Zmievski
74dcad5107
Fix #2999 .
1999-12-18 17:05:21 +00:00
Thies C. Arntzen
69c046e53b
compiles again
1999-12-18 15:10:04 +00:00
Zeev Suraski
e1e08ae506
Some more php3_ cleanup
1999-12-18 12:03:53 +00:00
Zeev Suraski
ea20775565
More php3_ cleanup
1999-12-18 11:59:43 +00:00
Zeev Suraski
e18a883796
More php3_ cleanup
1999-12-18 11:49:31 +00:00
Zeev Suraski
3db6716761
More php3_ annihilation
1999-12-18 11:38:04 +00:00
Zeev Suraski
83fef4866d
More php3_ cleanup
1999-12-18 04:08:03 +00:00
Zeev Suraski
3ee4e65c95
More php3_ annihilation
1999-12-18 04:01:20 +00:00
Zeev Suraski
8a581c3536
More php3_ annihilation
1999-12-18 03:20:53 +00:00
Zeev Suraski
396bccfb1d
More php3_ cleanup
1999-12-17 22:34:04 +00:00
Zeev Suraski
878ed4934c
More cleanup
1999-12-17 22:01:09 +00:00
Zeev Suraski
bb3ca12629
More cleanup...
1999-12-17 21:50:07 +00:00
Zeev Suraski
502bb9c746
More php3 cleanup
1999-12-17 21:34:28 +00:00
Zeev Suraski
59a3b83bf5
More php3 cleanup
1999-12-17 21:19:59 +00:00
Zeev Suraski
66f5e50050
More cleanup...
1999-12-17 21:13:15 +00:00
Zeev Suraski
2d0b84ee30
More work on php3_ annihilation...
1999-12-17 20:55:32 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
a3c6514332
More php3_ annihilation
1999-12-17 19:51:39 +00:00
Zeev Suraski
02d3b39420
More php3_ annihilation
1999-12-17 19:16:50 +00:00
Hartmut Holzgraefe
9ebd037226
merged in imap_search() from the PHP3 tree
...
more ( like imap_lasterror() ) will follow
1999-12-17 18:30:06 +00:00
Andrei Zmievski
8f17fbb900
Added get_loaded_extensions(), extension_loaded(), and
...
get_extension_funcs() functions.
@ Added get_loaded_extensions(), extension_loaded(), and
get_extension_funcs() functions. (Andrei)
1999-12-16 23:47:10 +00:00
Sam Ruby
5da8a25c5c
force ext/java to be built as a shared library
1999-12-16 17:15:02 +00:00
Uwe Steinmann
3c700f9260
switched to Ex Api
1999-12-15 19:10:54 +00:00
Uwe Steinmann
1ccad1ab7d
fixed some compile errors.
1999-12-15 15:27:51 +00:00
Evan Klinger
4e86f5d754
Ex API
1999-12-15 05:21:28 +00:00
Evan Klinger
5ca6da5ae8
I would've compiled first, I swear...
1999-12-15 03:51:25 +00:00
Evan Klinger
bc7b3fc745
Ex API
1999-12-15 03:46:00 +00:00
Andrei Zmievski
1be7a8d461
Moved function_exists() to Zend library.
1999-12-14 22:15:55 +00:00
Danny Heijl
88892c6792
(bcmath) Name of header changed from php3 to php but include forgotten.
1999-12-14 21:44:35 +00:00
Joey Smith
7dfeb4fd21
# Added date/time stamping to php3_log_error
...
@ Preliminary support for date/time stamping in error logs
Preliminary support for date/time stamping in error logs
1999-12-14 18:37:14 +00:00
Uwe Steinmann
7af301be55
always check if output is ok after php3_header()
1999-12-14 12:50:21 +00:00
Mark Musone
32486ef0b3
whoops..need to allow 7 parameters also
1999-12-14 06:22:41 +00:00
Thies C. Arntzen
1cad06afda
(getimagesize) grrr, fixed newly (30 min ago) introduced NPR
1999-12-14 04:32:54 +00:00
Thies C. Arntzen
ad764253ca
use ex-API
1999-12-14 04:10:01 +00:00
Thies C. Arntzen
6553540153
@- implemented count_chars(). (Thies)
1999-12-14 03:52:12 +00:00
Thies C. Arntzen
8267934235
use ex-API
1999-12-14 03:49:42 +00:00
Thies C. Arntzen
d90daba134
use _ex-API
1999-12-14 03:48:46 +00:00
Andrei Zmievski
8ebba516a3
Boo.
1999-12-14 03:25:04 +00:00
Andrei Zmievski
a15916a47a
Made strspn() and strcspn() binary-safe.
...
# Please test if you can, especially cases with embedded chr(0).
@ Made strspn() and strcspn() binary-safe.
1999-12-13 23:40:36 +00:00
Andrei Zmievski
457a13dac5
Finished array_multisort() function. Basically it sorts multiple arrays
...
similar to ORDER BY SQL clause.
@ Added array_multisort() function. (Andrei)
# Docs are coming soon
1999-12-13 19:42:26 +00:00
Sascha Schumann
e911ee38bd
Make rand.c thread-safe.
1999-12-13 18:31:29 +00:00
Sascha Schumann
75db7e91c6
(_ps_files_path_create) terminate string correctly and append the whole key instead of the rest key
1999-12-13 15:55:49 +00:00
Sascha Schumann
61a6a92618
Make filestat.c thread-safe
1999-12-12 16:48:54 +00:00
Sascha Schumann
d9258da42e
@- Made pageinfo.c thread-safe (Sascha)
1999-12-12 16:14:40 +00:00
Sascha Schumann
1627a57d96
Remove trailing white-spaces
1999-12-12 14:22:55 +00:00
Sascha Schumann
996216b499
Add cache_limiter and cache_expire options. Rename extern_referer_check
...
to referer_check.
1999-12-12 14:16:55 +00:00
Sascha Schumann
5928624a1c
Kill a warning
1999-12-12 11:02:24 +00:00
Sascha Schumann
ecb6e75add
Initialize variables
1999-12-12 11:02:07 +00:00
Sascha Schumann
0233d7cf82
Initialize value properly
1999-12-12 10:55:27 +00:00
Sascha Schumann
db27dadf27
Call SLS_FETCH() only, if it is needed
1999-12-12 10:53:45 +00:00
Sascha Schumann
58a33274c9
Make it compile in ZTS mode
1999-12-12 10:51:44 +00:00
Sascha Schumann
9279df2025
Include header file for php_file_le_fopen()
1999-12-12 10:51:13 +00:00
Sascha Schumann
9278d9d911
Remove unnecessary ARRAYLS_FETCH() calls
1999-12-12 10:50:30 +00:00
Andrei Zmievski
dbaf6c5c65
Added array globals in preparation for multisort() changes.
1999-12-11 22:42:01 +00:00
Andrei Zmievski
0c779c51c9
(PHP php_implode) Made binary-safe.
...
@ Made implode() binary-safe (Andrei)
1999-12-11 20:00:40 +00:00
Andrei Zmievski
33d82cb6d1
get_meta_tags() was using php_stristr() so it needed to be changed.
...
Optimized it to use php_memnstr() directly.
1999-12-11 19:51:04 +00:00
Andrei Zmievski
17ff0f3af3
Made strstr(), stristr(), and ucwords() binary-safe(). Also corrected
...
stristr() behavior to match that of strstr() if needle is not a string.
@ Made strstr(), stristr(), and ucwords() binary-safe() (Andrei)
1999-12-11 19:50:01 +00:00
Andreas Karajannis
4bd855e69f
Don't include functions not supported by Solid
1999-12-11 10:56:42 +00:00
Andrei Zmievski
2b2e6ff6cb
Fixed #2952 .
1999-12-10 14:27:19 +00:00
Andrei Zmievski
d18ff45c4c
A few more fixes for php_strtolower().
1999-12-10 04:44:32 +00:00
Andrei Zmievski
7e4bd9fb60
(PHP strtoupper, strtolower, substr_replace) Made binary-safe.
...
@Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
1999-12-09 23:45:30 +00:00
Sascha Schumann
2a794e8205
(php_set_session_var): logic fix:
...
gpc_globals set? Add it to the global symbol table
track_vars set? Add it to the HTTP_STATE_VARS array
1999-12-09 18:57:57 +00:00
Thies C. Arntzen
0489895d0b
(unserialize) closed mem-leak
1999-12-09 11:24:51 +00:00
Thies C. Arntzen
99b5652f40
small cleanups in MINIT code
...
OCIInitialize is now called at the "right" spot again
1999-12-09 11:02:41 +00:00
Nick Gorham
25096ac9e9
Report all ODBC error's not just the top of the stack
1999-12-09 09:59:17 +00:00
Uwe Steinmann
ec7088e1df
- improved configuration due to compile problems which suddently show up
1999-12-09 07:15:36 +00:00
Zeev Suraski
e19e57d2f7
- Use Set-Cookie for consistency with SetCookie() (and possibly for adherence with
...
with some clients?)
- Remove unnecessary directive from configuration-parser.y
1999-12-08 22:22:20 +00:00
Sascha Schumann
01c7fc6c8f
Use global ctor in non-ZTS mode as well
1999-12-08 19:07:58 +00:00
Thies C. Arntzen
276c0a378d
(unserialize) now cleans up better on failure!
1999-12-08 14:40:46 +00:00
Thies C. Arntzen
f7089e600f
make non-ZTS happy again
1999-12-08 14:18:28 +00:00
Thies C. Arntzen
40340b5aa0
@- OCI8 now returns NULL values in LONG columns correct. (Thies)
1999-12-08 14:04:55 +00:00
Thies C. Arntzen
19023f3a05
ZTS compile fixes
1999-12-08 11:48:10 +00:00