foobar
6083eb1030
- Handle more error types when uploading files.
2001-11-24 18:23:35 +00:00
Zeev Suraski
ee111cf9c8
whitespace
2001-11-24 16:07:05 +00:00
Zeev Suraski
a25ccbec2e
whitespace
2001-11-24 16:05:22 +00:00
Zeev Suraski
312a226707
Fix set_time_limit() to affect only the current request (fix bug #13711 )
2001-11-19 14:59:38 +00:00
foobar
1e5e73e0ae
- Nuked some memleaks
...
- Changed the error to be set always. Otherwise the index for error
wouldn't be correct in case of uploading multiple files within array.
( <input type="file" name="test[]"> )
2001-11-16 03:34:26 +00:00
foobar
37dec69a7c
No use of populating the hash if there is no file saved.
2001-11-16 01:06:48 +00:00
foobar
ae82e1ccf2
In case of submitting form without any files selected don't set
...
the tmp_name.
2001-11-15 15:37:02 +00:00
foobar
b893e59095
Make the filesize 0 when upload fails. And changed the error messages to be different from each other.
2001-11-11 01:51:17 +00:00
foobar
7d479f4abb
Fix for bug: #14008 . Still needs some minor changes but should give idea about this.
2001-11-11 00:45:31 +00:00
Alex Waugh
bc26250413
Included header files needed by RISC OS
2001-11-04 12:35:49 +00:00
Derick Rethans
2830e45fe7
- Applied patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>
2001-11-01 10:57:49 +00:00
foobar
d6adcc98b5
After discussing with Rasmus, this line should be enough. Speak up if it is not.
2001-10-29 19:12:43 +00:00
foobar
3be12d1d9b
- Added myself to authors.
...
- Modified the clause about Apache to say what exactly was borrowed.
Should there be the Apache license included in this file?
2001-10-29 18:58:15 +00:00
Zeev Suraski
66a2690700
Fix pointer mess
2001-10-29 01:18:10 +00:00
foobar
44b68122c2
@- Fixed HTTP file upload support to handle big files better. (Jani)
...
# There are some minor memleaks still..I tried to eliminate them but
# without luck. I'd be glad if someone could check this code out.
# Also, this uses the Apache libapreq. So there might be need to add some
# license thingie there too?
2001-10-27 05:26:24 +00:00
Rasmus Lerdorf
db75202426
Let's suppress this warning if always_populate is enabled
2001-10-24 20:10:30 +00:00
Rasmus Lerdorf
42ec547950
Ok, now actually make it work - maybe...
2001-10-23 20:48:30 +00:00
Rasmus Lerdorf
71d341e2c0
@- $HTTP_RAW_POST_DATA was not populated on a missing content-type even when
...
@ always_populate_raw_post_data was on - fixed. (Rasmus)
$HTTP_RAW_POST_DATA was not populated on a missing content-type even when
always_populate_raw_post_data was on - fixed. (Rasmus)
2001-10-23 19:34:29 +00:00
Rasmus Lerdorf
8064e685be
Check if PCRE support is compiled in and only use the pcre functions if
...
it is. Otherwise just set the realm to the safe mode user id if it isn't.
2001-10-21 17:41:15 +00:00
Rasmus Lerdorf
02e25f0a1e
# Butt-ugly looking code here, but I need regular expressions to do this.
...
Re-instated safe-mode realm mangling as it was in php 2 and 3 albeit
in a somewhat more robust way.
@ Re-instated safe-mode realm mangling (Rasmus)
2001-10-20 22:01:56 +00:00
Harald Radi
67e663efbf
rename com module entry
2001-10-17 12:50:44 +00:00
Sebastian Bergmann
cb37652ca5
Bump version.
2001-10-15 20:18:02 +00:00
Stig Bakken
d7acbbe2c3
* set PHP_EXTENSION_DIR to c:\php4 and change the default
...
PHP_INCLUDE_PATH to c:\php4\pear
2001-10-15 08:29:00 +00:00
Stig Bakken
8d86cc6efe
* fix Windows default include path
2001-10-15 05:47:07 +00:00
Derick Rethans
a0bbfb590c
- <br> -> <br />
2001-10-06 20:13:39 +00:00
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.
2001-09-25 21:58:48 +00:00
Daniel Beulshausen
e014d58e46
nuke VARIANT module
2001-09-25 17:08:02 +00:00
Andi Gutmans
315c894da8
- Commit fix for bug #11998 by Ralf Bolte <r.bolte@gmx.net>
2001-09-23 19:17:44 +00:00
Sterling Hughes
bcb426a207
Merge in qsort changes
2001-09-17 21:02:53 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
foobar
8d8e26577d
Cleanup.
2001-09-07 00:58:23 +00:00
foobar
b54ce06e96
Removed unused lines.
2001-09-05 01:03:50 +00:00
Rasmus Lerdorf
00ef03186e
This is a list of char *'s, not zvals (caught by Nick - see bug #13107 )
2001-09-03 18:58:00 +00:00
foobar
e46decaa32
First step for chunkifying the HTTP uploads.
2001-09-03 02:31:56 +00:00
Zeev Suraski
9e8a2e5ba9
Update API number
2001-09-01 14:55:29 +00:00
Zeev Suraski
357dfd5f14
Support multiple chunked output buffering layers
2001-08-31 15:56:48 +00:00
Zeev Suraski
5c1c22764a
Fix double freeing
2001-08-31 15:16:15 +00:00
Zeev Suraski
6bba521dd3
API update
2001-08-31 14:34:40 +00:00
Sebastian Bergmann
452c41ec9e
HEAD has been 4.0.8-dev for some time now, so name it accordingly.
2001-08-30 15:33:43 +00:00
Zeev Suraski
ab48027b3e
Fix unclean shutdown value
2001-08-30 13:38:33 +00:00
Zeev Suraski
b8763a6f8c
Get rid of TRANS_SID - it's always possible to use it now.
2001-08-25 16:09:23 +00:00
Zeev Suraski
13ff183225
Move the trans-sid mechanism to use the output buffering mechanism.
...
Advantages:
- Would work with the output buffering mechanism in general, and with
output compression in particular
- Should yield better performance (untested as of yet)
2001-08-25 15:57:42 +00:00
Wez Furlong
08073a5c60
TSRMLS fix
2001-08-25 09:20:18 +00:00
foobar
a3b9652564
This is not needed anymore.
2001-08-22 10:26:02 +00:00
Sterling Hughes
15b1e4ba9c
Fix XtOffsetOf compile problems if someone has already defined it.
2001-08-18 02:08:29 +00:00
Thies C. Arntzen
3510482971
move php_shutdown_config further down
2001-08-16 09:40:05 +00:00
Daniel Beulshausen
0dab84d065
fix SAPI_POST_* exports
2001-08-15 18:01:48 +00:00
Zeev Suraski
2cf25894a8
improve typedef definition
2001-08-14 22:57:09 +00:00
Zeev Suraski
e077c6bc28
Make it possible to enable chunked output buffering without providing
...
an output handling function
2001-08-11 22:55:00 +00:00
Zeev Suraski
a2dd66257f
Move the macro wrappers from the compatibility header to php.h
2001-08-11 01:13:31 +00:00
Jeroen van Wolffelaar
6da0268c2a
Possible fix 12360. If it doesn't help, it doesn't hurt, AFAIK...
2001-08-10 20:18:42 +00:00
Zeev Suraski
2969852fb3
Optimize macro usage...
2001-08-10 14:10:31 +00:00
Zeev Suraski
f7b2b02032
Centralize macros
2001-08-10 12:48:06 +00:00
Zeev Suraski
e786d4d9e2
Let's not introduce more mess to maintain.
2001-08-10 12:27:33 +00:00
Rasmus Lerdorf
05db76df86
Sablot extension cleanup - it compiles again now
2001-08-10 09:48:48 +00:00
Zeev Suraski
f47962c7c0
Implement import_request_variables()
2001-08-08 20:05:37 +00:00
Zeev Suraski
c31ba75577
Put it in the wrong case...
2001-08-08 19:15:38 +00:00
Zeev Suraski
6fdf6b4c82
- Fix precedence of the variables order in $_FORM
...
- Rename $_FORM to $_REQUEST for now
2001-08-08 18:26:03 +00:00
Zeev Suraski
5eb9495b1b
- Implement $_FORM
...
- Update phpinfo()
- Update NEWS
2001-08-08 17:16:20 +00:00
Zeev Suraski
7f4453f4c1
- Implement new short names - $_GET, $_POST, $_COOKIE, $_SERVER, $_ENV and $_FILES
...
- Use the Zend Engine infrastructure - make these variables available in
all functions
2001-08-08 16:36:04 +00:00
foobar
001df0d028
Yet another TSRM fix.
2001-08-07 20:13:54 +00:00
Sascha Schumann
23b9300fd1
more tsrm cleanup
2001-08-06 03:50:52 +00:00
Sascha Schumann
b349df6364
some more eliminate-fetches-or-escalate-them-at-least
2001-08-05 16:21:33 +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
Sascha Schumann
aafdfe82cb
further tsrm cleanup
2001-08-05 14:36:51 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
2ec440078a
Get rid of a couple of bogus persist_alloc()'s, and some cleanup
2001-08-03 07:15:14 +00:00
foobar
0ccc2fd9ef
kill warning and make this build again.
2001-08-01 00:31:19 +00:00
Zeev Suraski
15cb7ca021
Fix some warnings
2001-07-31 23:32:24 +00:00
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
2001-07-31 07:09:49 +00:00
Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
2001-07-31 06:28:05 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Thies C. Arntzen
6627bab38d
name-protect new expat function
2001-07-30 15:10:15 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Zeev Suraski
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +00:00
Rui Hirokawa
a787dc2c4d
changed for input encoding conversion in win32.
2001-07-29 22:15:41 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Sascha Schumann
30892690b3
Remove superfluous returns
2001-07-28 00:44:19 +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
Andrei Zmievski
e308a157bf
Remove references to global startup functions.
2001-07-24 23:50:43 +00:00
Zeev Suraski
536a53356d
Get rid of the redundant global startup code
2001-07-24 20:30:37 +00:00
Sascha Schumann
076f4f5136
Unbreak various tests and transparent session id rewriting for now. This
...
has been tested extensively. Most SAPI modules (Apache 1.x, 2.0, thttpd,
AOLserver, CGI, TUX, Caudium, Roxen, NSAPI, Phttpd, Pi3web, Servlet)
call php_request_shutdown() right after php_execute_script (or
equivalent functionality), so that output is possible under an
overwhelmingly number of web-servers.
2001-07-23 14:05:26 +00:00
Daniel Beulshausen
c60a6a5bd9
fix date('T')
2001-07-22 13:16:15 +00:00
Andi Gutmans
7ce1846761
- Shouldn't be needed anymore
2001-07-21 15:13:19 +00:00
Andi Gutmans
4715403906
- Fix __FILE__ in the main script in CGI/command line mode.
2001-07-21 15:11:30 +00:00
Zeev Suraski
336004f4bc
Improved bailout mechanism, supports nested bailouts a-la try..catch
...
Note: You may *not* return directly from a catch block
2001-07-21 14:27:56 +00:00
Zeev Suraski
ef9504cafc
Fix UNIX build
2001-07-20 15:06:51 +00:00
Zeev Suraski
6f297a370a
Fix Windows build
2001-07-20 14:40:30 +00:00
Zeev Suraski
13ac04b8e5
Avoid getting bailouts on text output during shutdown. Text output is now
...
'officially' disabled during shutdown (this doesn't change the Apache module
behavior, but may change behavior of other server modules, in which it was
possible to emit output during shutdown; I think it's a good step towards
consistency, though)
2001-07-20 13:59:00 +00:00
Rasmus Lerdorf
9bc97ac865
Add always_populate_raw_post_data ini directive and default it to 0 to
...
maintain current behaviour. If this is turned on then $HTTP_RAW_POST_DATA
is always populated with a copy of the raw post data.
@ - Add config option (always_populate_raw_post_data) which when enabled
@ will always populate $HTTP_RAW_POST_DATA regardless of the post mime
@ type (Rasmus)
2001-07-17 16:46:07 +00:00
Zeev Suraski
a9915bf69a
Another layout fix
2001-07-16 20:43:18 +00:00
Zeev Suraski
b6064e5d3e
Fix layout
...
Guys - when submitting patches - please make sure you're not breaking
the layout of the code! It's not less important than the patch
itself.
2001-07-16 20:42:49 +00:00
Zeev Suraski
ba1249dc8e
Fix the crash Joey found
2001-07-16 13:48:07 +00:00
Zeev Suraski
407fd77c20
Generalize
2001-07-16 13:31:55 +00:00
Rasmus Lerdorf
721c562e2a
Fix a couple of build warnings
2001-07-16 04:31:13 +00:00
Zeev Suraski
d1ac05a850
Fix warning
2001-07-15 19:14:25 +00:00
Zeev Suraski
ab7f5ee038
Fix a crash with the new check-in-cwd code. It will now work only
...
with files which are included in runtime, and not files which are opened at startup (e.g., php.ini)
2001-07-15 12:24:06 +00:00