Commit Graph

3180 Commits

Author SHA1 Message Date
Sascha Schumann
e422f56dff improve php_url_encode 2003-04-28 16:24:14 +00:00
Moriyoshi Koizumi
f4c9feb774 Added missing sanity check in fgetcsv() 2003-04-28 15:04:56 +00:00
Wez Furlong
169b3f72ed Fix for #23340; fopen on multiple urls from the same server crashes. 2003-04-28 14:41:36 +00:00
Sara Golemon
bb48c7d861 Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properties set to 0 since the FTP protocol simply doesn't support exploring them. url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers. 2003-04-26 01:55:31 +00:00
Sara Golemon
2d558127af No idea how that character dissapeared. 2003-04-24 22:25:33 +00:00
Sara Golemon
2fc1d2c330 Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper 2003-04-24 21:21:41 +00:00
Sara Golemon
228f65f889 Abtract some ftp connection/negotiation steps out and add support for stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path') 2003-04-24 20:32:14 +00:00
David Hill
cec89b2446 Fix compiler error on null statement in switch 2003-04-24 18:01:26 +00:00
Rasmus Lerdorf
0d248d81a6 MFB: &039; which is a single-quote may also come in as &39;
I see no reason not to support both in html_entity_decode()
2003-04-22 20:47:09 +00:00
Sara Golemon
cb89565ba4 Feature Request #7121.
Allow overwritting of files via ftp:// wrapper.
Requires context option:  $context['ftp']['overwrite'] != 0
2003-04-22 04:13:09 +00:00
Sascha Schumann
c523fc4766 Add vr class
Noticed by: Jon Parise
2003-04-22 03:21:29 +00:00
Moriyoshi Koizumi
c591d4decd Reduced leaks in userland filters 2003-04-21 18:43:36 +00:00
Moriyoshi Koizumi
cf620ddfdb Unified all those redundant printf's 2003-04-21 18:00:41 +00:00
Stanislav Malyshev
5a904d6ea8 Update to latest inteface change for get_class_name 2003-04-21 17:03:29 +00:00
Sara Golemon
7c8c09b3cf Revert change to stream_copy_to_stream() 2003-04-20 01:18:58 +00:00
Marcus Boerger
9e19524c5e Access the struct directly here 2003-04-19 19:06:52 +00:00
Ilia Alshanetsky
6bc4ce43d0 Do not hardcode php path. 2003-04-19 18:10:54 +00:00
Ilia Alshanetsky
e4c38aec5a Do not make the test rely on the availability of the cat command. 2003-04-19 17:45:46 +00:00
Sascha Schumann
e4183ae980 Extend print_table_row so that one can specify the CSS class
directly.  Add "vr" class which aligns the content to the right border.
2003-04-19 17:40:19 +00:00
Marcus Boerger
b99a491e33 Update to new macros 2003-04-19 15:01:22 +00:00
Sara Golemon
6dde464ce7 Let stream_copy_to_stream() accept either stream resource or filename/url string. If filename, open the file, do the copy, then close it. 2003-04-19 02:47:16 +00:00
Sara Golemon
19ef914bb4 Catch up to Moriyoshi's streams megapatch 2003-04-17 23:59:28 +00:00
foobar
2cd55ce73b touch 2003-04-17 02:54:23 +00:00
foobar
b319982868 add missing header 2003-04-17 02:53:32 +00:00
foobar
85874549d6 touch 2003-04-17 02:45:10 +00:00
Moriyoshi Koizumi
0c5548e636 Fixed implicit cast issue with is*() and to*() functions 2003-04-16 21:40:48 +00:00
Moriyoshi Koizumi
0ad2fc2007 Fixed bug #19795
# to*() and is*() expect for their arguments an integer in range of 0 - 255
2003-04-16 21:10:29 +00:00
Moriyoshi Koizumi
2a31fa0569 Fixed memleak 2003-04-16 15:10:01 +00:00
Moriyoshi Koizumi
6dd17c380d Added missing sanity check 2003-04-16 14:55:25 +00:00
Moriyoshi Koizumi
49b43ad115 Changed stream filter factory to be capable of accepting a zval as a parameter
instead of a string
2003-04-16 14:30:25 +00:00
Sascha Schumann
0bda867fe7 Simplify use of this header in external apps 2003-04-16 09:14:32 +00:00
Ilia Alshanetsky
7f8bd25fcc Fixed bug #23225 (money_format() didn't handle erroneous return of strfmon)
# Initial patch proposed by marcot@tabini.ca
2003-04-16 01:07:03 +00:00
Ilia Alshanetsky
3d6fccc08c Fixed bug #23152 ($http_response_header empty on invalid URLs) 2003-04-14 13:55:34 +00:00
Sara Golemon
9103aac254 Modify str_replace/str_ireplace to report how many needles were matched. (FR #8218) 2003-04-13 22:59:19 +00:00
Moriyoshi Koizumi
560efa10c0 Forgot about this one :) 2003-04-12 21:56:08 +00:00
Moriyoshi Koizumi
fa0ac8a273 Made dirname() binary-safe. 2003-04-12 21:53:46 +00:00
Sara Golemon
76965beb04 Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks 2003-04-12 20:04:06 +00:00
Sara Golemon
0b5c1112c5 Rewrite strrpos and strripos to be binary safe and behave the way their prototype suggests (also like their counterparts strpos and stripos) i.e.: Allow string needles rather than just characters 2003-04-12 07:36:22 +00:00
Sara Golemon
8da5e8e48e Export constants to userland 2003-04-11 02:55:00 +00:00
Rasmus Lerdorf
861679d6c3 MFB: Forgotten _FORM -> _REQUEST change 2003-04-09 17:46:42 +00:00
Derick Rethans
429ae4e821 - Fixed printing the version string if it includes zend extensions in
text-mode
2003-04-09 15:19:07 +00:00
Sara Golemon
87c5019dd2 Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending 2003-04-08 23:24:53 +00:00
Sara Golemon
41d4fcd0da Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents() 2003-04-08 22:10:15 +00:00
Sara Golemon
1e853b74a3 Added context support to file() 2003-04-08 21:00:07 +00:00
Andrei Zmievski
b18542ba68 Remove php_memnstr (it's in ZE now). 2003-04-08 17:15:43 +00:00
foobar
a45b4258f0 file_set_contents -> file_put_contents 2003-04-08 14:12:52 +00:00
Sara Golemon
8001f2922c Add context support to file_get_contents 2003-04-08 00:02:47 +00:00
Sara Golemon
70155b6dcf Introduce support for context options 'method', 'header', 'content' 2003-04-07 21:02:04 +00:00
foobar
c3e90bd6ed Fixed bug #23071 (when DST in effect, date("T") crashed PHP) 2003-04-06 22:37:45 +00:00
Wez Furlong
c64256e671 Warning fix 2003-04-04 21:09:25 +00:00