Thies C. Arntzen
e2d66a6d28
new api fo dl() - renamed php3_dl to php_dl (added compat header)
1999-10-13 19:55:25 +00:00
Thies C. Arntzen
0cc1641447
starting to clean-up/new API'ize and resourcify the file-stuff - nothing happened yet - just renaming things around.
1999-10-12 18:50:05 +00:00
Sascha Schumann
965c9c2187
Use correct data type for mutex.
1999-10-08 16:29:33 +00:00
Sascha Schumann
9c995e93d7
Implement temporary workaround for thread-safety issues. This
...
serializes all request accesses. To disable, define NO_GLOBAL_LOCK
1999-10-08 16:24:31 +00:00
Thies C. Arntzen
601b837c56
SET_VAR_STR* expect a emalloc'ed copy of the string!
1999-10-07 09:13:39 +00:00
Uwe Steinmann
8c473e1f47
- support for mimetype application/vnd.fdf needed by fdf module
...
(only active if fdf support is compiled in)
1999-10-06 05:26:25 +00:00
Sascha Schumann
c36bff57ca
Fix logic.
1999-10-05 12:06:35 +00:00
Sascha Schumann
7aed3d51fc
* Fix header("HTTP/..") behaviour
...
* Fix leak WRT http_status_line
* Update sapi/README
* Remove %PHP_OUTPUT_FILES sort
1999-10-04 18:07:46 +00:00
Thies C. Arntzen
b357d0eaf8
i swear, i compiled (at least) before i committed!
1999-10-04 10:39:32 +00:00
Thies C. Arntzen
0dbabb9871
"cc -32" on IRIX 6.4 does not like (PHP_TRACK_VARS?"1":"0") - at least not if PHP_TRACK_VARS is 0.
1999-10-04 09:56:52 +00:00
Stig Bakken
2a854ca8b9
Generalized server-API build process on UNIX. Each SAPI
...
implementation now has its own directory under sapi/, just like
extensions have theirs under ext/. To make the final targets appear
in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc
from the selected sapi backend. This is a plan Makefile stub without
any autoconf substitutions. Each SAPI backend also has its own
config.m4 like extensions (read at the end of diversion 2) and
config.h.stub files.
Each SAPI backend has to contain:
config.m4: just like for extensions, this file contains
autoconf/automake directives that end up in the configure script. The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3. The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET
(the name of the resulting library or program, previously BINNAME).
If they are not specified, they will default to "cgi" and "php",
respectively.
Makefile.inc: has to exist, has to define "INSTALL_IT" to the command
used to install the final target (or ":" for no operation). It also
has to define a plain Makefile rule (without autoconf substitutions)
to build $(SAPI_TARGET)
Makefile.am: just what you think. Make sure your target is called
"libphpsapi_NNN.a", where NNN is the value of PHP_SAPI.
Some testing and fixing probably remains. To make everything hang
together, I've done some ugly tricks that I can imagine causing some
problems. I've built and run the CGI version and built the Apache
DSO.
1999-09-27 16:34:28 +00:00
Stig Bakken
33a946d317
#if !HAVE_FOO -> #ifndef HAVE_FOO
1999-09-24 14:41:27 +00:00
Andi Gutmans
96a19593b2
- Internal functions which are basic language functions should be in Zend
...
and not in PHP. I.e. strlen(), each(), error_reporting(), count(),
get_class_name().
1999-09-20 16:56:02 +00:00
Sascha Schumann
dbc6964fbb
There is no reason to define malloc() to xmalloc() in this context.
1999-09-18 12:13:48 +00:00
Sascha Schumann
61f288ced3
0' flag ignored with precision specifier and
X' format
1999-09-17 01:16:54 +00:00
Zeev Suraski
98d95dd88e
- Added support for unknown POST content types (Zeev)
...
- Introduce the convert_to_*_ex() API in strlen()
1999-09-16 23:18:15 +00:00
Zeev Suraski
71a4740847
*** empty log message ***
1999-09-16 22:31:33 +00:00
Zeev Suraski
13e67642fa
Generalize SAPI a bit
1999-09-16 22:15:43 +00:00
Thies C. Arntzen
328d08bd63
HASH_OF is usable enough (i hate duplicating macros all over the place)
1999-09-15 09:51:20 +00:00
Stig Bakken
1740e6ee4e
Clean up the strlcat/strlcpy checks.
1999-09-15 09:35:20 +00:00
Andi Gutmans
37d7b91d48
- First go at using strlcat().
1999-09-14 20:12:46 +00:00
Andi Gutmans
6a836bee6f
- Support strlcpy/strlcat in windows.
1999-09-14 20:02:47 +00:00
Andi Gutmans
61a3c147c3
Add strlcpy/strlcat to the build process
1999-09-14 19:12:57 +00:00
Thies C. Arntzen
ac1a484c84
i'm sure this was left-over debugging code!
1999-09-14 13:32:54 +00:00
Andi Gutmans
331221eec6
- X-* is probably more standard.
1999-09-13 20:03:56 +00:00
Thies C. Arntzen
95303a4bb2
added Metaphone support
1999-09-13 15:48:32 +00:00
Zeev Suraski
b2c0acb9ec
- Rewrote the GET/POST/Cookie data reader to support multi-dimensional
...
arrays! (Zeev)
This still needs a lot of more testing, but it seems to work more or less.
1999-09-12 23:51:12 +00:00
Zeev Suraski
ce5a09ea40
Add PHP-Version header in IIS
1999-09-12 21:07:53 +00:00
Zeev Suraski
9e3315799c
That's important enough to be cached
1999-09-12 20:36:48 +00:00
Zeev Suraski
a1784083e9
Time to do that - rename the output layer prefix
1999-09-12 03:25:02 +00:00
Andrey Hristov
99caa5d43b
Use OnUpdateBool for Boolean entries.
1999-09-11 20:36:47 +00:00
Zeev Suraski
7afbcb4fef
Rename allow_builtin_links to expose_php
1999-09-11 16:32:08 +00:00
Zeev Suraski
27afe4e49b
More cleanup
1999-09-11 16:16:16 +00:00
Zeev Suraski
15fee4d3a6
- Seriously optimize and clean php_parse_gpc_data()
...
- Added gpc_globals directive to turn global definitions of GPC variables on/off
(untested)
1999-09-11 15:04:45 +00:00
Zeev Suraski
1b6ccfe86c
Cleanups & optimizations
1999-09-11 14:09:29 +00:00
Zeev Suraski
fb910c64cd
Cleanups
1999-09-11 13:44:23 +00:00
Andi Gutmans
48ab0fb57d
- Fix warnings and win32 compile
1999-09-07 20:29:31 +00:00
Zeev Suraski
959ad0e9ea
A couple of BoundsChecker fixes
1999-09-06 22:40:27 +00:00
Andi Gutmans
f1afd5796c
- Should fix Win32 compile
1999-09-06 20:43:25 +00:00
Sascha Schumann
8aa0c92bc6
fix warning
1999-09-05 19:59:28 +00:00
Andi Gutmans
7ebbe20fb0
- Should fix short_tags and co. problem.
1999-09-05 19:49:54 +00:00
Andi Gutmans
52cb8bb275
- Make Win32 compile once again.
1999-09-05 19:36:04 +00:00
Andi Gutmans
14d9a59f1c
- Make dir functions compile in Win32
...
- Fix too early memory manager initialization (For you Thies)
1999-09-05 19:04:40 +00:00
Sascha Schumann
5a2189f3d3
work around gcc bug, otherwise compiler would die with
...
toplev.c:2261: Internal compiler error in function float_signal
in basic_functions.c
1999-09-05 11:38:01 +00:00
Andi Gutmans
04b0bc4c70
- php_error(E_ERROR,...) won't ever return so change the connection_status
...
before it is called.
1999-09-05 05:15:42 +00:00
Rasmus Lerdorf
bcb0020705
Forgot one
1999-09-04 22:18:43 +00:00
Zeev Suraski
ce4e09daff
This was actually intentional... put it back in and improve
1999-09-04 22:13:41 +00:00
Rasmus Lerdorf
54ec3a8e2f
Cleanups
...
What the heck was that dangling (c) for in the PUTC macros? Were they
supposed to serve some sort of purpose, because I sure don't see one for
them.
1999-09-04 22:06:12 +00:00
Rasmus Lerdorf
d3439023d3
Catch a timeout and add user-level interface for connection handling
1999-09-04 21:10:39 +00:00
Rasmus Lerdorf
82d975d671
Might as well bail as soon as we know we should since this is now
...
possible. We still need to set our connection status bit field so a
shutdown function can figure out if a script was terminated due to an
abort, timeout or finished normally.
1999-09-04 20:37:24 +00:00