Sebastian Bergmann
b506f5c8f8
Bump year.
24 years ago
Ilia Alshanetsky
b801568bbb
Fixed a crash in headers_sent(), that occures if
php_get_output_start_filename() returns NULL.
24 years ago
Hartmut Holzgraefe
4e6635742d
it should not only work for the failure case
but also not fail (segfault) on the working case
24 years ago
Hartmut Holzgraefe
0c7d9c3742
headers_sent() may now return information about where output started
using the optional $file and $line reference parameters
24 years ago
Anantha Kesari H Y
8b8f1e0590
NetWare related additions/modifications
24 years ago
Marcus Boerger
149ad05b4f
php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
24 years ago
Marcus Boerger
9c8ba935d6
Improved handling of output buffers (see news)\n#No trim for the string parameter...
24 years ago
Marcus Boerger
783fddeb0f
possible memoryleak
24 years ago
Derick Rethans
728f2de442
Unify error messages
24 years ago
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");
24 years ago
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)
24 years ago
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
24 years ago
Sebastian Bergmann
90613d2282
Maintain headers.
25 years ago
Sebastian Bergmann
38933514e1
Update headers.
25 years ago
Frank M. Kromann
b4d9b70c6e
Make php_setcookie available from shared extensions
25 years ago
Andrei Zmievski
030e873758
convert to use new parameter parsing API.
25 years ago
Egon Schmid
1f852425d1
Fixed other protos.
25 years ago
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
25 years ago
Rasmus Lerdorf
4d11d90880
Track down a few more functions that don't check for 0 args and use
faster mechanism
25 years ago
Zeev Suraski
c0404f4631
Whitespace
25 years ago
Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
25 years ago
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
25 years ago
Rasmus Lerdorf
cc44119bf6
Left-over outdated comment
25 years ago
Zeev Suraski
20d53346ce
Remove redundant code
25 years ago
Zeev Suraski
38e5a2077d
Clarify and optimize
25 years ago
Rasmus Lerdorf
bf513871bc
Fix more crashes related to this switch to z_value
25 years ago
Stanislav Malyshev
5ad3d2828f
Fix potential crash
25 years ago
Zeev Suraski
1093ed17fb
Clean-up
Remove a lot of 100% redundent code
25 years ago
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
25 years ago
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
25 years ago
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
26 years ago
Sascha Schumann
9b2a1110a6
Allow users to specify whether they want to replace existing header fields.
26 years ago
Sascha Schumann
102c6ce4b8
Move main.h to php_main.h.
26 years ago
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
26 years ago
Zeev Suraski
e043439ff6
Update the license with the new clause 6
27 years ago
Hartmut Holzgraefe
e5a2f0f95c
proto-takeover from php3
27 years ago
Zeev Suraski
3220bb570e
- Fix an invalid trick (it was valid when header() was using
zend_get_parameters(), but it became invalid when someone switched it
to zend_get_parameters_ex(), and I decided to remove it anyway).
- Remove a redundant function call
27 years ago
Stig Bakken
99e0b36321
@Cleaned up extension namespace (Stig)
Cleaned up extension namespace, and changed ext/standard into one single
extension.
27 years ago
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
27 years ago
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
27 years ago
Thies C. Arntzen
59e466d54c
fix for #3413
@- Fixed possible buffer-overflow in setcookie(). (Thies)
27 years ago
Zeev Suraski
fc678100cd
post.c really had nothing to do with POST anymore, and it belongs to the top level directory
27 years ago
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)
27 years ago
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
27 years ago
Evan Klinger
f5d5637f72
Ex API
27 years ago
Zeev Suraski
3ee4e65c95
More php3_ annihilation
27 years ago
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
27 years ago
Zeev Suraski
a3c6514332
More php3_ annihilation
27 years ago
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
27 years ago
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
27 years ago