George Schlossnagle
7adb8e0ba9
header code cleanup
2002-10-08 06:25:02 +00:00
George Schlossnagle
b85162590d
sync with head. add optional content type param to send_http_header
2002-10-08 02:17:02 +00:00
George Schlossnagle
d44619a811
added all the sub_request methods and logging methods
2002-08-28 21:23:12 +00:00
George Schlossnagle
2bc1d055cb
Added wrapper functions for the majority of the apache API_EXPORT functions
...
as class methods for the ApacheRequest objects. broke sapi_activate
into two functions to allow for reading of headers/cookies separately
from request bodies (POST stuff). Altered some of the send_headers code
in mod_php4.c to prevent sending headers twice (since a phpResponseHandler
needs to be able to have full freedom for setting headers using the
ap_*_header* functions.
2002-08-28 18:56:51 +00:00
George Schlossnagle
0a105b4130
added wrapper for ap_send_http_header so that phpResponseHandler is now
...
working. Added protections to mod_php4's internal call to the same so
that headers cannot be accidentally sent twice.
2002-08-28 04:37:37 +00:00
lukas schroeder
dc0ad431c8
- add interface functions for headers_in, headers_out and err_headers_out
2002-08-26 23:49:15 +00:00
George Schlossnagle
f05126e2cf
Import of Lukas Schroeder's work to give php a full interface to apache 1.3.x's hook interface, and full class wrappers around the apache request object and it's interfaces.
2002-08-26 20:06:31 +00:00
Rasmus Lerdorf
2797cf1323
Apache request handler hook framework. So far only the uri hook is
...
implemented, but the others will be easy once I finish the uri translation
example. The big things left to do is to create a proper $r request
object to be manipulated in user-space and also to verify that the hooks
don't steal the POST data such that it isn't available to the content
handler once it is finally called. Or if we do steal it, make sure it
is somehow available to the content handler later on.
Comments and help with this stuff is more than welcome. Check out these
files from the 'apache_hooks' branch to play along.
2001-09-06 09:53:34 +00:00
Daniel Beulshausen
ba761ce9b1
TSRMLS fixes
2001-08-14 17:05:53 +00:00
Sascha Schumann
480ffb3d75
more tsrm cleanup
2001-08-05 16:43:57 +00:00
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Sebastian Bergmann
b99798fda0
Another one bites the dust.
2001-08-04 17:07:16 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Rasmus Lerdorf
15ae74d3ba
Fix typo
2001-07-28 14:01:24 +00:00
Zeev Suraski
dde79b86c5
Build fix
2001-07-28 12:05:15 +00:00
Zeev Suraski
63829bc949
Some more fixes
2001-07-28 12:02:42 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Zeev Suraski
89c7b891c9
Add missing info
2001-05-17 13:31:45 +00:00
Daniel Beulshausen
0f60b4b8a5
fix typo
2001-05-14 10:30:30 +00:00
Zeev Suraski
0113263991
Safer detection of recursive PHP invocations
2001-05-13 09:03:46 +00:00
Zeev Suraski
d229f82a46
Allow virtual() of PHP files. We may have to improve the detection code a
...
bit, but it worked well on everything I tried.
2001-05-07 11:07:22 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Daniel Beulshausen
0d258cc523
make threaded apache module build again
2001-01-05 17:00:07 +00:00
Daniel Beulshausen
3b20a425c9
added missing SLS_FETCH()
2000-12-14 22:16:21 +00:00
Sascha Schumann
276cb7cdb1
Add apache_child_terminate() and INI setting apache.child_terminate
...
which defaults to 0.
Submitted by: Sam Liddicott <sam.liddicott@ananova.com >
2000-12-13 13:19:56 +00:00
Sascha Schumann
107aa9f71a
Align ZTS handling of globals with common usage
2000-12-10 23:22:20 +00:00
Daniel Beulshausen
d41137fedf
fix win32 apache module
...
# this is ugly, has someone a better way?
2000-12-10 22:40:07 +00:00
Daniel Beulshausen
1f31360f01
fix windows build
2000-12-10 22:06:07 +00:00
Sascha Schumann
0ddb725f91
Axe rest of DAV leftovers and use STD_PHP_INI_ENTRY in the INI section
2000-12-07 13:07:18 +00:00
Daniel Beulshausen
c6e0cef254
trivial output change
...
# someone urged me too
2000-10-13 19:08:05 +00:00
Rasmus Lerdorf
8a36eb220e
Missed a couple of center attributes
2000-08-28 09:01:54 +00:00
Zeev Suraski
52ff887db5
Made ob_start() and friends reentrant. It's now possible to implement this
...
long-requested functionality, now that output buffering is re-entrant:
function eval_ret($code)
{
ob_start();
eval($code);
$retval = ob_get_contents();
ob_end_clean();
return $retval;
}
2000-07-29 14:46:09 +00:00
Andi Gutmans
2987d5216e
- More #if WIN32|WINNT -> #ifdef PHP_WIN32 conversions
2000-06-15 23:45:05 +00:00
Rasmus Lerdorf
78d77c1476
Fix virtual() when used with output buffering
...
@ Fix virtual() when used with output buffering (Marc Pohl)
2000-06-05 21:19:21 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Shane Caraveo
8d3ce80f48
apache module now compiles under win32, apache loads, but crashes on line 1167 main.c on page request
2000-04-30 04:15:26 +00:00
Colin Viebrock
adc5bbc925
last one ... promise
2000-04-07 17:09:18 +00:00
Colin Viebrock
d02a351061
typo
2000-04-07 17:04:57 +00:00
Colin Viebrock
02c3eb2bd5
typo
2000-04-07 17:02:01 +00:00
Colin Viebrock
86cff779c3
*** empty log message ***
2000-04-07 16:46:59 +00:00
Colin Viebrock
5628b3f0ab
more prettiness
2000-04-07 16:41:19 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Sascha Schumann
02d647b5f9
Fix warnings when compiling static Apache module
2000-02-18 10:13:15 +00:00
Zeev Suraski
9eef999b38
No need for a value (not that it seems to work anyway...)
2000-02-17 20:25:08 +00:00
Zeev Suraski
75b1316e70
@- Updated the browscap module to work with PHP 4.0 (Zeev)
2000-02-16 17:46:14 +00:00