Hartmut Holzgraefe
545ae277bc
post handler registration done right
...
(never use emalloc in an extension MINIT function)
2000-10-13 12:13:35 +00:00
Hartmut Holzgraefe
6d5f1d97f8
now it works for me as CGI and APXS, with or without --enable-debug ...
2000-10-13 10:04:17 +00:00
Daniel Beulshausen
afef79762d
step to 4.0.4-dev
2000-10-13 09:29:49 +00:00
Daniel Beulshausen
6fb51171c8
compile fixes & update of win32 dsp
2000-10-13 09:13:01 +00:00
Hartmut Holzgraefe
cae27179ce
fopen wrappers cleanup
...
- comfiguration is now done by an ini parameter
instead of a compile time option
- the implementations of the three standard wrappers
now live in seperate files in ext/standard
- the compiler is happy again, no more warnings
2000-10-13 00:09:31 +00:00
Andi Gutmans
e91c188e85
- Fix memory leak.
2000-10-12 19:58:20 +00:00
Hartmut Holzgraefe
a57282df4b
forgot this one yesterday, fdfdata.[ch] is no more ...
2000-10-12 06:32:10 +00:00
Hartmut Holzgraefe
a70ae211e1
removed fdfdata.h
2000-10-11 22:45:45 +00:00
Hartmut Holzgraefe
e880e3fe0c
removed fdfdata.c
2000-10-11 22:45:01 +00:00
Hartmut Holzgraefe
22e48a814a
@ - POST handler for Adobe FDF format (Hartmut)
...
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed
2000-10-11 22:44:15 +00:00
Alexander Feldman
aee3c65a8f
Fixed a problem in the configuration scanner where two extra NULL bytes
...
were added to each encapsulated string.
2000-10-11 19:38:16 +00:00
Zeev Suraski
57a5bbd387
Go with 4.0.3
2000-10-11 17:31:34 +00:00
Daniel Beulshausen
d667e05543
more cleanup of info code
2000-10-08 11:45:18 +00:00
Andi Gutmans
31a5160a0a
- Add calendar to default Win32 build.
2000-10-06 00:03:02 +00:00
Andi Gutmans
9ece8612b8
- Add FTP extension to default Win32 build
2000-10-05 23:25:41 +00:00
Andi Gutmans
acc4a8ed6d
- Package RC2
2000-10-03 17:08:41 +00:00
Andi Gutmans
18f86e7757
- Fix V_CHDIR_FILE() to only chdir() when a directory part is specified.
...
Use this instead of broken php_dirname() in fopen-wrappers.c
2000-10-03 15:05:50 +00:00
Andi Gutmans
d37b140601
- Fix VC++ warning
2000-10-03 14:43:04 +00:00
Andi Gutmans
a37b138d7c
- Darn file is needed for Windows. Maybe it should be called
...
php_version.w32.h?
2000-10-02 15:12:47 +00:00
Andi Gutmans
79a898697d
- Any reason why php_version.h is in the CVS? I'm removing it so if I'm
...
screwing something up scream *now* :)
2000-10-02 15:04:26 +00:00
Andi Gutmans
5819b6d4a6
- Remove unneeded IS_SLASH() definition.
2000-10-01 18:13:41 +00:00
Daniel Beulshausen
01927063d5
move have_snmp to the dsp already
2000-09-30 17:40:52 +00:00
Andi Gutmans
2622eba31d
- Cleanup some output functions
2000-09-30 16:13:48 +00:00
Zeev Suraski
ec4a36ec12
complementary PHP patch
2000-09-27 19:46:47 +00:00
Daniel Beulshausen
8b23529beb
let windows build with trans sid
2000-09-18 17:23:45 +00:00
Stanislav Malyshev
1fbc3945a2
Fix crash
2000-09-18 15:15:27 +00:00
Andi Gutmans
e740042363
- Fix doc_root problem. If you need to limit under which directories the
...
scripts should reside use open_basedir.
2000-09-17 05:52:26 +00:00
Andi Gutmans
0e874a094c
- Use IS_ABSOLUTE_PATH() so that this will work correctly under Windows
2000-09-14 20:47:35 +00:00
Andi Gutmans
962c163cdf
- Time to remove these two.
2000-09-14 20:43:13 +00:00
Andi Gutmans
f5cf7d7eb7
- Windows and UNIX compile fixes
2000-09-11 19:14:42 +00:00
Andi Gutmans
b510fcf96e
- Get rid of stuff which is already done in php.h
...
- More can probably be removed as the code doesn't use lots of sys calls.
2000-09-11 19:11:03 +00:00
Andi Gutmans
824fc6a084
- Move php_open_temporary_file() out of file.c
2000-09-11 18:56:47 +00:00
Stanislav Malyshev
1ccac6ed55
Add additional parameter to parse_str for saving result (thanks to
...
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)
2000-09-11 14:50:26 +00:00
Derick Rethans
eba1b6221d
- Fixed missing parameter in php_atoi
2000-09-09 23:21:44 +00:00
Stig Venaas
d8a4a9b1dd
Added IPv6 support to php_fopen_url_wrap_ftp (EPSV and php_hostconnect())
2000-09-09 21:29:37 +00:00
Zeev Suraski
b7ecaacd07
More security-related (control) patches:
...
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).
2000-09-09 15:02:15 +00:00
Zeev Suraski
6c4cb4c079
Security related updates:
...
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.
2000-09-09 11:41:14 +00:00
Zeev Suraski
3edf46ff73
Implement move_uploaded_file() (untested)
2000-09-08 22:31:21 +00:00
Zeev Suraski
75086e3088
- Implemented is_upload_file()
2000-09-08 21:56:47 +00:00
Zeev Suraski
91c808ecc4
Restore the headers_only test to the centralized SAPI startup. If necessary, it can
...
be overriden in the activate() callback.
2000-09-08 14:43:57 +00:00
Stanislav Malyshev
522aec4443
Never trust snprintf return value
2000-09-08 12:52:05 +00:00
Stanislav Malyshev
6426d1c9ce
Fix crash on very long error messages
...
Manual for snprintf says:
If the output was truncated, the return value is -1, oth-
erwise it is the number of characters stored, not includ-
ing the terminating null.
And that's a blatant lie - in reality, libc 2.1 always returns number of
characters that _would be_ stored. I hate those libc bugs. Now we should go
and check every place we trusted snprintf return value.
2000-09-08 12:32:29 +00:00
Stanislav Malyshev
df5e0cb0a5
Fix syslog call
2000-09-08 12:07:21 +00:00
Stig Venaas
f68fb8fad2
Better IPv6 checking
2000-09-07 17:56:12 +00:00
Andi Gutmans
204f4adca7
- Smarter detection of MAXPATHLEN
2000-09-07 15:20:29 +00:00
Zeev Suraski
677d4b9913
Send $HTTP_POST_FILES to the right place
2000-09-07 04:12:31 +00:00
Sascha Schumann
4d2515d6be
4.0.3-dev
2000-09-06 16:52:33 +00:00
Daniel Beulshausen
81daa0899e
deleted unnecessary defines
...
i also plan to let windows build with crypt() support
2000-09-06 10:00:34 +00:00
Zeev Suraski
bfa301dfd0
Fix ordering
2000-09-06 04:56:22 +00:00
Zeev Suraski
12adebbc3a
- Fix leak
...
- Remove redundant php_ini code
2000-09-05 21:18:00 +00:00