Zeev Suraski
83cdc9476d
Generate Visual Studio compatible error messages when compiling under Win32
1999-05-27 03:14:57 +00:00
Zeev Suraski
064a16c7b2
Moved all SET_ and RETURN_ macros to Zend
...
Fixed all RETVAL_ macros
1999-05-27 00:45:31 +00:00
Zeev Suraski
cf58b7ef16
Add container for file-upload. It's not quite implemented yet.
1999-05-25 22:28:24 +00:00
Zeev Suraski
4f545f9c6b
Allow unregistering content types as well.
1999-05-25 21:19:46 +00:00
Zeev Suraski
72f6e823f9
* Add generic POST content-type support. Only application/x-www-form-urlencoded
...
supported at this time, but the framework allows for any other types, including
runtime addition of types.
1999-05-25 21:14:54 +00:00
Zeev Suraski
7b98592282
include regex in Win32 build
1999-05-24 18:02:42 +00:00
Zeev Suraski
d62a739cca
More fixes. Should hopefully work well now.
1999-05-22 12:19:57 +00:00
Zeev Suraski
9df57a2263
php_ini fixes
1999-05-22 11:34:21 +00:00
Zeev Suraski
9b4d71205b
* Minor fixes
...
* Better handling for multiple repeated memory leaks (libzend updated)
1999-05-22 10:56:36 +00:00
Zeev Suraski
a08e3925b1
Time to rename the child
1999-05-22 09:24:21 +00:00
Zeev Suraski
58a0ae7b35
Small fix
1999-05-22 01:15:25 +00:00
Zeev Suraski
9e862c11ec
Fix a memory leak
1999-05-21 23:51:19 +00:00
Zeev Suraski
be8b9778e0
This should be centralized...
1999-05-21 23:25:46 +00:00
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
1999-05-21 19:22:17 +00:00
Zeev Suraski
59a539f6ad
Use OutputDebugString() or fprintf(stderr,) for memory leaks
1999-05-20 19:06:28 +00:00
Andi Gutmans
7eef22472c
- Small fixes
1999-05-20 12:06:45 +00:00
Zeev Suraski
d2c16bf5bd
*** empty log message ***
1999-05-15 14:56:23 +00:00
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.
1999-05-14 18:25:16 +00:00
Zeev Suraski
5eaed486e1
* HTTP-auth bugfix
...
* Patch the regex thread safe code to compile in thread safe mode
1999-05-13 15:54:49 +00:00
Zeev Suraski
49b01a4b3d
Support HTTP Auth under ISAPI. Now, these short pieces of code took *A LOT* of
...
research :(
1999-05-12 21:35:16 +00:00
Thies C. Arntzen
d470b4cfe0
added _php3_hash_next_index_pointer_insert
1999-05-12 16:11:35 +00:00
Sascha Schumann
a4d20864a6
- regex cache (needs some work)
...
- str_replace changes from php3
1999-05-12 15:40:15 +00:00
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.
1999-05-11 20:38:16 +00:00
Zeev Suraski
9fd708a313
Handle the Location: header centrally for all SAPI modules.
1999-05-11 18:36:35 +00:00
Zeev Suraski
ba88c0c47c
* Move unclean_shutdown from PHP to Zend.
...
* The Master/Local headers in the phpinfo() table were reversed.
* Fix a gpc bug
1999-05-11 16:52:58 +00:00
Zeev Suraski
dc5ed5a3fb
beatify Apache's info func
1999-05-11 00:43:46 +00:00
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
1999-05-11 00:01:47 +00:00
Andrey Hristov
ea0f19850e
A couple of fixes.
1999-05-10 20:41:42 +00:00
Zeev Suraski
928e322038
Weed out all BoundsChecker-found bugs
1999-05-10 19:48:23 +00:00
Zeev Suraski
8f48b83df4
Only read POST info if the request method is POST.
1999-05-09 20:58:26 +00:00
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
1999-05-09 18:40:59 +00:00
Zeev Suraski
60fcac8f2a
A few other minor fixes
1999-05-09 13:57:09 +00:00
Zeev Suraski
5ba4b3311d
Several minor fixes
1999-05-09 13:55:15 +00:00
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.
1999-05-09 08:48:05 +00:00
Zeev Suraski
ae6f852cb6
Oh yeah, wrong license
1999-05-06 22:31:46 +00:00
Zeev Suraski
ade1117ebd
* Get output buffering to work again
...
* Warn about adding header information after headers are sent
* Several fixes
1999-05-06 21:58:49 +00:00
Zeev Suraski
842b5ee941
vpath fix
...
Apache compatability fix
1999-05-05 21:47:04 +00:00
Zeev Suraski
6f1c611868
Fixes
1999-05-05 21:29:26 +00:00
Zeev Suraski
54fa0e5d16
fix
1999-05-05 21:11:27 +00:00
Zeev Suraski
aee864e9d8
Get CGI to work with the new headers code.
...
Now Apache is the only interface that doesn't use it.
1999-05-05 21:05:44 +00:00
Zeev Suraski
2740382c2c
ISAPI WORKS!
1999-05-05 19:53:15 +00:00
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.
1999-05-05 18:25:20 +00:00
Zeev Suraski
9e67cded5e
Get Win32 to compile again
1999-05-04 20:27:30 +00:00
Zeev Suraski
95af652d2b
An initial default builtin modules file for Win32
1999-05-04 03:43:49 +00:00
Stig Bakken
9a66ffbaee
* added --enable-thread-safety switch
...
* now generating internal_functions.c
1999-05-03 11:11:23 +00:00
Zeev Suraski
a5ab6b9638
Move path_info to the SAPI structure
1999-05-02 19:54:02 +00:00
Zeev Suraski
7071131f81
Get rid of request_info.path_translated
1999-05-02 19:31:56 +00:00
Andi Gutmans
5dbe924660
- Make ISAPI hook in as an extension too.
...
- Some work on moving stuff to SAPI.
1999-05-02 18:07:41 +00:00
Zeev Suraski
d843632629
Remove redundant code
1999-04-28 21:29:31 +00:00
Zeev Suraski
a877f6d380
Additional generalization of the INI mechanism. Avoid needing specialized
...
message handlers in 99% of the cases.
1999-04-28 21:14:47 +00:00
Zeev Suraski
66476011dd
A step towards generalizing the INI mechanism even more
1999-04-28 20:26:33 +00:00
Andi Gutmans
a74b342612
- Small startup fix.
1999-04-28 17:38:24 +00:00
Zeev Suraski
1245356128
* Get rid of the memory leak messages in case of fatal errors or exit()
...
* .dsp fixes
* Minor fixes
1999-04-27 10:00:54 +00:00
Zeev Suraski
9b56453566
* Small startup fix
...
* Fix min() and max()
1999-04-26 20:20:12 +00:00
Zeev Suraski
48de4ce0dd
Somehow the rules for the configuration parser/scanners disappeared
1999-04-26 19:02:59 +00:00
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)
1999-04-26 17:26:37 +00:00
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.
1999-04-26 14:00:49 +00:00
Andi Gutmans
9c51acdc17
-More
1999-04-26 03:03:36 +00:00
Zeev Suraski
23a1d3fb91
Win32 isn't a good os to commit uppercase files with...
1999-04-25 21:04:17 +00:00
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.
1999-04-25 19:35:44 +00:00
Zeev Suraski
125275b084
Small fixes
1999-04-24 16:51:15 +00:00
Zeev Suraski
6ecc81c097
We'd have to find a different way of allowing timeouts in Win32
1999-04-24 16:17:04 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
05d24c6022
Remove redundant code
1999-04-23 22:45:01 +00:00
Zeev Suraski
09946676d2
Thread-safe header_is_being_sent
1999-04-23 20:20:30 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Zeev Suraski
f9cdc88471
Testing unified diffs
1999-04-23 10:26:49 +00:00
Zeev Suraski
8a2f6371fe
*** empty log message ***
1999-04-23 03:36:17 +00:00
Stig Bakken
2c0ad3ee25
last bunch of extensions moving to ext/
...
fhttpd module taken out of functions, functions is ready to go.
The only extensions I have tested are gd+freetype and odbc(solid).
Please try compiling in your favourite extensions and let me know how it
works.
1999-04-22 02:48:28 +00:00
Stig Bakken
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Stig Bakken
f9f82960d9
moved bcmath
1999-04-21 23:28:00 +00:00
Stig Bakken
23280d0a75
added PHP_API_VERSION, simply set it to 19990421 for now
1999-04-21 19:39:21 +00:00
Zeev Suraski
7d34d425be
Minor fixes
1999-04-21 19:10:18 +00:00
Zeev Suraski
751709a469
* Rename php_compat.[ch] to flock_compat.[ch] and move it to ext/standard
...
* Fix Win32 compilation
1999-04-21 19:01:38 +00:00
Zeev Suraski
7aad231327
Thread safety patch. It works now with just-in-time resource initialization!
1999-04-21 17:28:54 +00:00
Sascha Schumann
dcc16af80c
port some fixes, add compat routines
1999-04-21 17:11:01 +00:00
Zeev Suraski
c5af324ec3
More thread safety work
1999-04-21 04:02:11 +00:00
Stig Bakken
54468d2e75
odbc compiles and runs on UNIX again (tested with Solid 2.3)
1999-04-20 01:03:12 +00:00
Zeev Suraski
1390eadc14
Ah, so that file is generated too
1999-04-18 20:59:54 +00:00
Zeev Suraski
5e8c322859
Make Win32 happy with the recent changes.
1999-04-18 15:58:27 +00:00
Zeev Suraski
2e8fb4e329
Win32 registry support
1999-04-18 15:09:46 +00:00
Stig Bakken
257de2bade
First commit of re-structuring phase one. We have started using automake in
...
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
1999-04-17 00:37:12 +00:00
Andi Gutmans
8cf2d74b76
- Make the memory leak message print PHP4.
1999-04-16 08:12:51 +00:00
Zeev Suraski
0666083907
NULL's should remain NULLs (at least in strings)
1999-04-12 19:40:33 +00:00
Stig Bakken
4213b5d6b6
tolerate uninitialized ini settings in php_ini_{long,double,string}()
1999-04-12 16:35:25 +00:00
Zeev Suraski
4869bd3bfc
Test patch...
1999-04-10 21:39:23 +00:00
Zeev Suraski
3b53a8ad0f
test patch
1999-04-10 21:34:53 +00:00
Zeev Suraski
1c23f75627
Oops
1999-04-10 21:30:49 +00:00
Zeev Suraski
4b98f345d1
php3_ini? What's that?
1999-04-10 17:39:08 +00:00
Zeev Suraski
bb6dff9c67
Buh-bye php3_ini
1999-04-10 16:25:23 +00:00
Zeev Suraski
e3d2234b80
A lot of php3_ini -> php_ini work
1999-04-10 13:32:47 +00:00
Zeev Suraski
79f9f0ce88
Move safe_mode to the new php_ini mechanism
1999-04-10 12:17:20 +00:00
Zeev Suraski
7685b44c4b
Move asp_tags and short_open_tag to the new php_ini mechanism
1999-04-10 11:22:18 +00:00
Zeev Suraski
4fd1d5b81b
* php_ini fixes
...
* convert the MySQL module to use the new php_ini mechanism
1999-04-10 00:19:33 +00:00
Zeev Suraski
d40e88a016
Apache php_ini support
1999-04-09 21:15:07 +00:00
Zeev Suraski
e95ebe0453
testing 123
1999-04-09 21:10:11 +00:00
Zeev Suraski
f92db069c3
test, ignore
1999-04-09 21:08:34 +00:00
Zeev Suraski
651e232f04
Testing 123
1999-04-09 21:04:12 +00:00
Zeev Suraski
f8ef66d1a4
*** empty log message ***
1999-04-09 20:12:46 +00:00
Zeev Suraski
011813cce8
*** empty log message ***
1999-04-09 19:16:46 +00:00
Zeev Suraski
3e58450513
* A lot of work on php_ini stuff
...
* A lot of work on getting rid from php3_ini
1999-04-09 19:09:29 +00:00
Zeev Suraski
3edb99e8ac
Type library support in COM module
1999-04-08 23:14:56 +00:00
Zeev Suraski
6a97e1662d
* Add arguments to shutdown function
...
* Bring php_ini uptodate
1999-04-08 21:32:57 +00:00
Zeev Suraski
9d1a9331b3
Fix for php -v
1999-04-08 14:55:42 +00:00
Stig Bakken
a12d0a1c1c
patched in fsock.c from php3
1999-04-08 08:57:09 +00:00
Zeev Suraski
aceaabceff
PHP 4.0
1999-04-07 21:05:13 +00:00