Rasmus Lerdorf
cad60c3760
Add SAPI hook to get the request time if provided by the web server,
otherwise call time(0) on the first call and store it so subsequent
calls will get the same time. Hook support for Apache1/2 included.
22 years ago
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
22 years ago
Stefan Esser
446f4d1bc2
Security Fix broken! Destroyed Basic auth. Blame: me
4.3.x not affected
22 years ago
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
22 years ago
Rasmus Lerdorf
44df89f00d
MFB - see bug #25753 for details
22 years ago
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
22 years ago
James Cox
f68c7ff249
updating license information in the headers.
23 years ago
Rasmus Lerdorf
a516171dec
MFB - fix a couple of missing closing folding tags
23 years ago
Edin Kadribasic
d758f2ea0b
Reverting my last patch because user reports it does not help
solve the problem. (bug #23504 )
23 years ago
Edin Kadribasic
97f3a35d73
Fixed MFB side effect
23 years ago
Edin Kadribasic
6f0e0a61b6
MFB
23 years ago
Sterling Hughes
3f700e58ab
update php module name to php5, not php4.
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
23 years ago
George Schlossnagle
e49bc59a79
ws fix
23 years ago
George Schlossnagle
f5fb75f390
hopefully a fix for 19919
23 years ago
Sascha Schumann
67f18fcf6c
Detect whether BUFFs contain a fd element. IBM is hiding the actual
descriptor behind a void *, so we just disable this for IBM servers
23 years ago
Sascha Schumann
ba32a619ae
use SUCCESS/FAILURE instead of 0/-1
23 years ago
Ilia Alshanetsky
acc9c13c36
Build Fix.
23 years ago
Ilia Alshanetsky
13f8b211c4
Fixed compilation of Apache & Apache Hooks SAPIs.
23 years ago
Zeev Suraski
3a1a209baf
Updates reflecting infrastructure changes
23 years ago
Sascha Schumann
294e776d95
add sapi_get_target_uid/_gid for obtaining information about the
non-privileged user the web server is running as. this is useful
for creating shared memory segments which need to be accessed by
the child processes/threads.
23 years ago
Sebastian Bergmann
2c5d4b8c23
Bump year.
24 years ago
Andrei Zmievski
2feb1cf6d7
MFB.
24 years ago
Sascha Schumann
2b95b3c83b
add a "force HTTP/1.0 response" facility to the SAPI layer
this is necessary, when you want to take over control of a connection
and the web server is doing stupid things by default (like enabling
chunked transfer encoding for no reason).
24 years ago
Sascha Schumann
09f463ddae
Add sapi_get_fd() and implement it for the Apache/thttpd SAPIs.
24 years ago
Ilia Alshanetsky
b09c1afe0e
PHP flags specified in .htaccess can now be turned on by using '1' as well as
'On'.
24 years ago
Moriyoshi Koizumi
f2f19761a5
Forgot this one.
24 years ago
Hartmut Holzgraefe
c4cb92229c
this will be handled elsewhere
24 years ago
Ilia Alshanetsky
fd094b5b1e
Fixed bug #15038 , original patch by: phpman@toowards.com
24 years ago
Zeev Suraski
76312b4508
another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
24 years ago
Christian Stocker
9495fb9d7d
@ - Added php.ini option "allow_webdav_methods" to allow handling of
@ WebDAV http requests within PHP scripts. (chregu)
# More methods (for DeltaV) will follow.
24 years ago
foobar
91b3644a72
These functions are not used elsewhere.
24 years ago
foobar
8beb1e2237
Fix ZTS build
24 years ago
Rasmus Lerdorf
f5630aa246
Fix xbithack bug finally (see bug #16515 )
24 years ago
Stefan Esser
8d2bc70752
make POST requests work again
24 years ago
Zeev Suraski
9e743e83a5
Fix a NASTY multithreading bug with in the Apache module
24 years ago
Dan Kalowsky
0917902b92
Fix for Bug #9280 with regards to an Expect header. patch submitted by
Ilia <ilia@prohost.org>
# someone just give the man his php4 karma please!
24 years ago
Stefan Esser
44a5b43b79
Fixing the same possible memory leak.
24 years ago
foobar
f9e492d00b
@- Fixed bug with Apache which let PHP_AUTH_* variables to be set when
@ external basic auth mechanism was used. (Jani)
Fixes bugs: #16653 , #14534 , #14370
24 years ago
Venkat Raghavan S
575e3682f5
NetWare related changes
24 years ago
Zeev Suraski
ce20564d1e
whitespace
24 years ago
Rui Hirokawa
f30b722f14
Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto.
24 years ago
foobar
f54f199906
This was not supposed to be uncommented..yet.
24 years ago
foobar
dace2eca03
Part 4 of apache sapi build fixes:
- Fixed many conflicts caused by bogus includes, e.g the infamous XtOffset
redefinition warning is gone now.
24 years ago
Sebastian Bergmann
38933514e1
Update headers.
25 years ago
Jeroen van Wolffelaar
eb38ca844b
Undo Z_ subst for sapi and ext/yaz
25 years ago
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
25 years ago
Sascha Schumann
7c161fe069
WS-fix and directly use ap_psprintf instead of sprintf/ap_pstrdup
25 years ago
Thies C. Arntzen
9938137725
fixed memory_peak resetting
25 years ago
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
25 years ago
Sterling Hughes
198e6f3ea7
no need to cast a 'HashTable *' to 'HashTable *'
25 years ago