Zeev Suraski
9e862c11ec
Fix a memory leak
28 years ago
Zeev Suraski
be8b9778e0
This should be centralized...
28 years ago
Zeev Suraski
c57c0e9cd5
* Fix error handling startup on the thread-safe CGI version
* A failed require() is a compile-time error, consider it as one
28 years ago
Zeev Suraski
59a539f6ad
Use OutputDebugString() or fprintf(stderr,) for memory leaks
28 years ago
Andi Gutmans
7eef22472c
- Small fixes
28 years ago
Zeev Suraski
d2c16bf5bd
*** empty log message ***
28 years ago
Zeev Suraski
1fb61df8a5
* Include all of the standard modules in internal_functions.c.in. Stig - is that
the way you intended it to be? How does the basic_functions module get in there?
* Fix to get MySQL objects working, even though I'll probably make a dedicated
MySQL object in the future.
28 years ago
Zeev Suraski
5eaed486e1
* HTTP-auth bugfix
* Patch the regex thread safe code to compile in thread safe mode
28 years ago
Zeev Suraski
49b01a4b3d
Support HTTP Auth under ISAPI. Now, these short pieces of code took *A LOT* of
research :(
28 years ago
Thies C. Arntzen
d470b4cfe0
added _php3_hash_next_index_pointer_insert
28 years ago
Sascha Schumann
a4d20864a6
- regex cache (needs some work)
- str_replace changes from php3
28 years ago
Zeev Suraski
ceeb9b38ba
* Finally commit that -q patch
* Refine SAPI built in header support
* Use DllMain() in ISAPI to clean after threads and initialize tsrm/sapi as soon as possible.
28 years ago
Zeev Suraski
9fd708a313
Handle the Location: header centrally for all SAPI modules.
28 years ago
Zeev Suraski
ba88c0c47c
* Move unclean_shutdown from PHP to Zend.
* The Master/Local headers in the phpinfo() table were reversed.
* Fix a gpc bug
28 years ago
Zeev Suraski
dc5ed5a3fb
beatify Apache's info func
28 years ago
Zeev Suraski
0b77132507
* Get Apache to work. POST doesn't work yet.
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for
the Apache module, so we can #include any php/Zend header.
* Rename config.h to php_config.h
28 years ago
Andrey Hristov
ea0f19850e
A couple of fixes.
28 years ago
Zeev Suraski
928e322038
Weed out all BoundsChecker-found bugs
28 years ago
Zeev Suraski
8f48b83df4
Only read POST info if the request method is POST.
28 years ago
Andi Gutmans
4079f914bd
* Make read_post() read input by chunks instead of returning a single string.
This will allow us to efficiently support file upload through SAPI in the future.
* Fixes
28 years ago
Zeev Suraski
60fcac8f2a
A few other minor fixes
28 years ago
Zeev Suraski
5ba4b3311d
Several minor fixes
28 years ago
Zeev Suraski
bc415d5a88
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
28 years ago
Zeev Suraski
ae6f852cb6
Oh yeah, wrong license
28 years ago
Zeev Suraski
ade1117ebd
* Get output buffering to work again
* Warn about adding header information after headers are sent
* Several fixes
28 years ago
Zeev Suraski
842b5ee941
vpath fix
Apache compatability fix
28 years ago
Zeev Suraski
6f1c611868
Fixes
28 years ago
Zeev Suraski
54fa0e5d16
fix
28 years ago
Zeev Suraski
aee864e9d8
Get CGI to work with the new headers code.
Now Apache is the only interface that doesn't use it.
28 years ago
Zeev Suraski
2740382c2c
ISAPI WORKS!
28 years ago
Andi Gutmans
537cc54acd
Added initial headers support in SAPI
*untested*
It definitely broke the thread-safe CGI, it may have broken other stuff as well.
28 years ago
Zeev Suraski
9e67cded5e
Get Win32 to compile again
28 years ago
Zeev Suraski
95af652d2b
An initial default builtin modules file for Win32
28 years ago
Stig Bakken
9a66ffbaee
* added --enable-thread-safety switch
* now generating internal_functions.c
28 years ago
Zeev Suraski
a5ab6b9638
Move path_info to the SAPI structure
28 years ago
Zeev Suraski
7071131f81
Get rid of request_info.path_translated
28 years ago
Andi Gutmans
5dbe924660
- Make ISAPI hook in as an extension too.
- Some work on moving stuff to SAPI.
28 years ago
Zeev Suraski
d843632629
Remove redundant code
28 years ago
Zeev Suraski
a877f6d380
Additional generalization of the INI mechanism. Avoid needing specialized
message handlers in 99% of the cases.
28 years ago
Zeev Suraski
66476011dd
A step towards generalizing the INI mechanism even more
28 years ago
Andi Gutmans
a74b342612
- Small startup fix.
28 years ago
Zeev Suraski
1245356128
* Get rid of the memory leak messages in case of fatal errors or exit()
* .dsp fixes
* Minor fixes
28 years ago
Zeev Suraski
9b56453566
* Small startup fix
* Fix min() and max()
28 years ago
Zeev Suraski
48de4ce0dd
Somehow the rules for the configuration parser/scanners disappeared
28 years ago
Zeev Suraski
3cd0af11ee
* Get the Apache module to compile again
* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
but it nuked a global)
28 years ago
Zeev Suraski
7942eaf381
* Plenty of thread safety and Win32 work.
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
* Switched to using the DLL runtime library under Win32. PHP will NOT work if
compiled against the static library!
* Removed yesterday's php4libts project (with php4dllts, it's obsolete).
This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
dependant on the thread-unsafe DLL.
28 years ago
Andi Gutmans
9c51acdc17
-More
28 years ago
Zeev Suraski
23a1d3fb91
Win32 isn't a good os to commit uppercase files with...
28 years ago
Andi Gutmans
4ebb4060f9
* Fix a couple of thread safety issues
* Add initial ISAPI support. Very very experimental.
* In the thread safe version, generate php4 as a library so that we can link it with both
php.exe and the ISAPI dll. We should probably consider doing that under all circumstances,
under UNIX as well.
The thread-unsafe version *should* be unharmed.
28 years ago
Zeev Suraski
125275b084
Small fixes
28 years ago