Derick Rethans
86fa2d3937
- Let php_execute_script return 0 on failure and 1 on sucess, and change
...
SAPIs accordingly. (Andrei, Derick)
2002-02-14 20:16:08 +00:00
Sascha Schumann
1288783667
Irix defines AF_INET6, but lacks IPv6 support, including
...
struct sockaddr_in6.
2002-02-12 11:00:15 +00:00
Stig Venaas
9e420659ad
Added php_sockaddr_size() in network.c (and the header file). This is used
...
in ftp.c to make sure connect() and bind() is called with size argument
which is exactly the size of the relevant sockaddr_xx structure
2002-02-10 12:35:29 +00:00
Yasuo Ohgaki
88e3aa7af6
Legacy code removed.
...
This line incorrectly removes buffer.
This line was correct only when ouput.c does not support
nested output buffers. Fixed bug #15178
2002-02-07 02:50:28 +00:00
Yasuo Ohgaki
a3e676f64b
pval -> zval
...
Check number of parameters
2002-02-05 07:37:42 +00:00
Yasuo Ohgaki
0bf51b81bd
register_globals=off is defualt for 4.2.0
2002-02-05 06:31:53 +00:00
Sebastian Bergmann
3ff94ed265
Fix thread-safe build.
2002-02-02 05:43:55 +00:00
James E. Flemer
6aadae975c
Changed php.ini directive 'safe_mode_include_dir' to accept a
...
(semi)colon separated path, rather than a single directory.
Also moved checking of said path into a separate path for code
readability.
@- Changed php.ini directive 'safe_mode_include_dir' to accept a
@ (semi)colon separated path (like 'include_path') rather than
@ a single directory. (jflemer)
2002-02-01 20:04:14 +00:00
Edin Kadribasic
4972fac567
Ignore register_globals for $argc and $argv under CLI SAPI.
2002-01-31 00:05:07 +00:00
Derick Rethans
580a4701ba
- Fix for bug #15057 : getimagesize() crashes when offline (on MacOSX)
2002-01-21 07:54:56 +00:00
Edin Kadribasic
f5790b0a7c
Modified the build system to make certain extensions (pcntl, ncurses,
...
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
2002-01-20 02:30:18 +00:00
Yasuo Ohgaki
34cfada447
Make --enable-safe-mode useful
...
# It seems this option is broken for a long time.
@ Fix --enable-safe-mode. This configure option was not working.
2002-01-19 03:15:03 +00:00
Stefan Esser
3acaa30c1c
fix for bug #14776
2002-01-14 13:36:54 +00:00
Derick Rethans
645a94cd5e
- Make an E_NOTICE error type show 'Notice' instead of 'Warning'.
2002-01-10 16:00:08 +00:00
jim winstead
e68095972e
Move type-handling functions into ext/standard/type.c (which had
...
a few otherwise unused functions in it).
2002-01-09 23:47:46 +00:00
Stig Venaas
a6ec8d37e6
hostconnect now divides the timeout with no. of addresses. If a connection
...
attempt times out, it goes on to the next. Unless each timeout would be
<5s. Added php_any_addr() that fills out the any address for IPv6 and IPv4.
2002-01-06 22:45:43 +00:00
Edin Kadribasic
1788410a56
Added argc and argv in request_info needed for the new cli sapi.
...
Modified registering $argc and $argv to support cli sapi.
2002-01-06 13:58:05 +00:00
Stig Venaas
6e1878b0fc
Added some consts for arguments in network.c declarations. Moved
...
php_sockaddr_storage to php_network.h and added check for struct
sockaddr_storage
2002-01-06 11:54:19 +00:00
Jon Parise
2720dc3c05
Nuke unused variable warning (end_arr).
2002-01-04 22:57:36 +00:00
Alex Waugh
e320de1e2e
Undefine AF_UNIX under RISC OS
2001-12-23 00:46:13 +00:00
Stefan Esser
a06a627394
fixed: fix for my broken patch.
2001-12-16 23:21:52 +00:00
Zeev Suraski
8e5e7efc5b
Freeing that TLS is just too complicated. Since we're shutting
...
down anyway, remove it for now (it did not exist in 4.0.6)
2001-12-16 22:45:57 +00:00
Stefan Esser
99e72c9ae5
whitespace. - now i know how code should look like ...
2001-12-16 21:59:13 +00:00
Stefan Esser
4d2343d7af
whitespace.
2001-12-16 21:47:37 +00:00
Stefan Esser
8022bb9b40
fixed: WWW-Authenticate -> header_line got only freed when safe_mode was activ
...
fixed: WWW-Authenticate -> content of header_line was changed after it was freed
2001-12-16 21:40:20 +00:00
Stefan Esser
b29bcc8618
fixed: bufferoverflow in sapi_add_header_ex triggerable by header("WWW-Authenticate: Basic foobar");
2001-12-16 14:47:18 +00:00
Stefan Esser
dce6ba9e0f
fixed: php_ap_getword was unaware of quotes
...
filenames with ; in it could not get uploaded
fixed: php_ap_getword_conf sometimes returned a static
string that crashs php when freed
(f.e. uploading the file "crash; name= ;"
crashed php)
fixed: magic_quotes was disabled while filling
variables with user supplied input
fixed: memoryleak (some strings did not get freed)
fixed: assuming that adress of "" is always the same
may fail on some compilers
2001-12-16 13:34:52 +00:00
Stefan Esser
58a5b6bfda
fixed some minor bugs and reordered some code to fix array uploads.
2001-12-13 18:12:58 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Sebastian Bergmann
ae9de3ed37
Enable ext/overload by default on Win32, too.
2001-12-10 17:14:42 +00:00
Zeev Suraski
56986a4ab8
Remove redundant include
2001-12-05 13:46:36 +00:00
foobar
2605bd4b30
Store the read bytes so that some sapi modules know how much to read.
2001-12-05 00:44:17 +00:00
Derick Rethans
1f14640b3e
- Added ob_get_level, which returns the nesting level of the output buffering
...
mechanism. (patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>)
@- Added ob_get_level, which returns the nesting level of the output buffering
@ mechanism. (Yasuo, Derick)
2001-12-03 07:43:53 +00:00
Bernd Roemer
99639f5812
Allow unserializer_callback_func to be turned off.
2001-12-02 17:31:11 +00:00
Derick Rethans
9190271cef
- Added ob_flush and ob_clean functions, which do not end the buffer like
...
ob_end_flush and ob_end_clean do.
@- Added ob_flush and ob_clean functions, which flush and clean an
@ output buffer without destroying the buffer. (Derick)
2001-11-30 10:48:38 +00:00
Derick Rethans
06cdf297a8
- Adding a callback mechanism to the unserializer. (patch by Bernd
...
Roemer <berndr@bonn.edu>)
#- An explainatory e-mail will be send to php-dev
2001-11-26 21:04:21 +00:00
Sterling Hughes
b91a66699c
Z_TYPE(filehandle)?? ok.. whatever... ;)
2001-11-26 18:57:44 +00:00
foobar
18f7a8ca61
Added missing CVS Id tag.
2001-11-24 23:38:08 +00:00
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