Rui Hirokawa
ead78e9125
fixed shift_jis character corruption including 0x5c as second byte following a slash on uploaded filename.
2002-07-05 15:06:39 +00:00
Sebastian Bergmann
0e52055f70
Fix ZTS build.
2002-07-03 21:07:24 +00:00
Frank M. Kromann
720f4b8365
Added MBSTR_ENC_TRANS to allow compilation and linking under win32
2002-07-03 18:44:40 +00:00
Rui Hirokawa
bb21c40738
fixed shift_jis character corruption including 0x5c as second byte on uploaded filename.
2002-07-03 13:36:19 +00:00
Sascha Schumann
fee236fb80
fix typo
2002-07-03 10:47:16 +00:00
Sascha Schumann
9c876ea01a
Add sapi_header_op interface which supersedes the sapi_add_header and _ex
...
calls.
Revert the change to the sapi_add_header_ex interface.
Fix various bugs:
1. header("HTTP/1.0 306 foo");
header("Location: absolute-uri");
did not work in combination with several SAPI modules, because
http_status_line was never properly reset. And thus, all SAPI
modules which looked at http_status_line ignored the changed
http_response_code.
2. The CGI SAPI did not send out the HTTP status line at all, if
http_status_line had not been set explicitly by calling
header("HTTP/1.0 200 foo");
2002-07-03 10:42:31 +00:00
Derick Rethans
d73eed9210
- No C++ comments
2002-07-01 18:52:30 +00:00
foobar
4b321b0430
Fix win32 build.
2002-07-01 09:00:00 +00:00
Sander Roobol
d325d07b1a
Main script should not be parsed when (include|require)_once()'ed, #17720
...
# Derick, MFH?
2002-06-30 13:38:16 +00:00
Marcus Boerger
d96924ffc5
-xbuf_resize does not need to have return value
2002-06-26 21:03:28 +00:00
Derick Rethans
d812929d2f
- Implement Andrei's request for disabling memory leak reporting in debug
...
builds.
#- Andrei: I can show you the logs :)
2002-06-26 19:43:46 +00:00
Marcus Boerger
302bfefac7
explain difference between sprintf, snprintf and spprintf
...
#before complaining snprintf is often used wrong:
#snprintf does not terminate the buffer but most people expect it
#that could be a security isuue at somewhere
2002-06-23 22:16:35 +00:00
Marcus Boerger
02ac908307
#some sentences about the functions
2002-06-23 22:12:22 +00:00
Marcus Boerger
db39a2efa7
-freeing memory for pbuf=NULL
...
#should have been one commit but to many versions during tests
2002-06-23 22:10:30 +00:00
Marcus Boerger
d3222bb5b7
-allow pbuf = NULL in case of NO MEMORY, too
2002-06-23 22:06:52 +00:00
Marcus Boerger
fd4d8d5450
-allways terminate buffer
...
-allow pbuf parameter to be NULL for buffer size calculation
2002-06-23 22:02:35 +00:00
Marcus Boerger
761e234a43
-unlimited php_printf
2002-06-23 00:57:01 +00:00
Marcus Boerger
76aa60d4e4
-compiler warning (missing data type)
2002-06-23 00:34:47 +00:00
Edin Kadribasic
2203ef1979
Made pgsql compile on win32 again.
...
All defines regarding libpq capabilities are kept in ext/pgsql/pgsql.dsp
where HAVE_PQESCAPE is already defined.
2002-06-21 13:11:47 +00:00
Derick Rethans
6869cb3f5a
- Added a new parameter to the header() function which overrides the HTTP
...
response code.
@- Added a new parameter to the header() function which overrides the HTTP
@ response code. (Derick)
2002-06-21 09:31:21 +00:00
Edin Kadribasic
0af2ae718f
No need to check for allow_url_fopen here.
...
#This closes two bugs which I cannot find right now courtesy our buggy bug
#database.
2002-06-19 00:31:30 +00:00
foobar
d2f2ed76d1
Use correct macro for boolean ini values.
2002-06-19 00:18:40 +00:00
Stefan Esser
028b25362b
fix: appending the default charset to text/ content types never worked
...
fix: removed double free
2002-06-18 15:04:58 +00:00
Stefan Esser
28ad564c29
keep fingers away from already freed memory.
2002-06-18 12:57:09 +00:00
Sander Roobol
0c1718c614
Patch by Michael Sisolak <msisolak@yahoo.com> to make header() honor the
...
replace parameter. Closes #16458 .
2002-06-18 10:16:36 +00:00
Markus Fischer
17b3ef47f3
- Fix builtin gets() emulation (hopefully).
2002-06-11 21:22:12 +00:00
Markus Fischer
4290da23d0
- Add missing Id tag.
2002-06-11 18:55:48 +00:00
Markus Fischer
709785a90a
- Always \0 terminate data returned from _php_stream_copy_to_mem().
2002-06-11 18:54:57 +00:00
Hartmut Holzgraefe
c39a3bc880
macro definition fixed, guess it was the usual kind of cut&past bug?
2002-06-11 09:36:48 +00:00
Jason Greene
c6a36d585b
@Impelemented timeout functionality, and fixed error handling of fsockopen() on win32
...
Also fixed error handling on unix (micropatch)
Closes Bug #14740
2002-06-11 03:55:28 +00:00
Harald Radi
ecad1fbc5a
pg_escape_* functions were not available on win32 due to a missing define
...
#if this breaks the build because the win32 pg libs don't export the functions
#we should consider implementing them somehow else
#some linuxtag work
2002-06-09 14:32:40 +00:00
Markus Fischer
0cd40c2808
- Since streams are always enabled, instead of just printing 'enabled' we tell
...
what streams are currently registered.
2002-06-08 10:25:44 +00:00
Sebastian Bergmann
874cdf43a6
Unbreak build by setting PHP_PREFIX to c:\php4 for now.
2002-06-07 15:30:13 +00:00
Sebastian Bergmann
49446bb216
Fugbix typo.
2002-06-07 15:24:03 +00:00
Stig Bakken
41e31645dd
* fix SHLIB_SUFFIX_NAME define for Windows
2002-06-07 12:20:28 +00:00
Stig Bakken
40ab700677
@New constants: PHP_PREFIX and PHP_SHLIB_SUFFIX (Stig)
2002-06-07 12:19:26 +00:00
Stefan Esser
5956656864
- Stay always in buffer
2002-06-07 08:00:12 +00:00
Stefan Esser
23ceadfe2b
fixed multiline header detection (':' is valid within following lines)
...
fixed fill_buffer to fill the buffer always completely
2002-06-05 13:35:34 +00:00
Stefan Esser
a06a3e1f7f
fixing some crashbugs that can be triggered with bogus uploads.
2002-06-05 11:28:33 +00:00
Markus Fischer
b04656ad40
- Finish implementation of custom smtp port (introduces "smtp_port" ini config).
2002-06-02 17:13:48 +00:00
Derick Rethans
f3c71c43b0
- Don't issue a notice when no file was uploaded
2002-05-31 09:05:39 +00:00
Venkat Raghavan S
575e3682f5
NetWare related changes
2002-05-31 04:49:45 +00:00
Sebastian Bergmann
ae6b6359d7
Add HAVE_MBSTR_RU support for Win32.
2002-05-21 07:15:42 +00:00
Wez Furlong
50f7427e69
Protect C code with extern "C"
2002-05-20 01:32:48 +00:00
Sander Roobol
751cd67cc0
get_cfg_var("get_file_path") didn't work correctly when an alternative
...
php.ini _file_ was specified using -c
2002-05-19 14:45:31 +00:00
Edin Kadribasic
544694255a
Added glob() support for windows.
2002-05-19 14:32:24 +00:00
Zeev Suraski
2260e1742d
- Centralize html_puts() again
...
- Revolutionize phpinfo()'s speed
2002-05-13 08:46:24 +00:00
Zeev Suraski
2369533bf9
Remove redundant code (thanks to Jani for pointing that out)
2002-05-12 22:17:58 +00:00
Sascha Schumann
f866bdc368
Simplify even more
2002-05-12 15:30:44 +00:00
Sascha Schumann
5c4ae13670
Simplify white space handling in php_html_puts.
...
If we encounter a ' ', we will look for the next non-' ' and set p
accordingly.
2002-05-12 15:22:11 +00:00