[PHP-DEV] CVS Account Request: helly

2002-02-27 Thread Marcus Börger
Want to fix php4/ext/exif as discussed with Rasmus Lerdorf. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] GetImageSize,read_exif_data,Bug #6787,#14994

2002-03-03 Thread Marcus Börger
At 22:04 03.03.2002, Michael Ulbrich wrote: Ah - not off topic Comment on : Tags in TIFF hold analogous data to the JPEG markers, Its just the other way round JPEG APP1 sections contains a TIFF header including IFD0 structure and TIFF6.0 Tags. As i wrote today morgning (my one) i would prefer

Re: [PHP-DEV] php + cygwin - some more

2002-03-03 Thread Marcus Börger
At 19:58 03.03.2002, Stanislav Malyshev wrote: MB datetime.c: In function `php_mktime': MB datetime.c:187: wrong type argument to unary minus MB gmadjust = -(is_dst ? (int)timezone - 3600 : (int)timezone); MB see (int) conversion of timezone - gmadjust has type int MB MB datetime.c:

Re: [PHP-DEV] php + cygwin - some more

2002-03-03 Thread Marcus Börger
hi, i checked timezone and _timezone works for me if have no idea who can do this but after checking compilation with cygwin i now have *.o files. Maybe this is the problem why it did not compile but nether the less adding this type would be a good idea. Could anyone add *.o to .cvsignore

Re: [PHP-DEV] cli version and shell useability

2002-03-05 Thread Marcus Börger
In addition to Markus Fischer: Does the CLI version has the ability to execute code without ? and ? Assuming -s -- as solution -s to skip ? and -- instead of -p from Markus Fisher (other cmd utils like awk use -- too) This would allow: php -s -- 'echo hello world;' From my point of view

Re: [PHP-DEV] New Build System Committed to HEAD

2002-03-07 Thread Marcus Börger
Very nice new build system much faster the only thing what's left on that is .o in all .cvsignore - mailto:[EMAIL PROTECTED] We are animals among animals, all children of matter, save that we are the more disarmed. But since, unlike animals, we know that we must die, let

Re: [PHP-DEV] ||=

2002-03-08 Thread Marcus Börger
I ever wondered why this doesn't exist. But i do not see a real reason to add this. Marcus At 11:58 08.03.2002, you wrote: For some reason this doesn't exist in other languages like C++ and Java. I don't object to adding this as long as their is no good reason why those languages didn't

Re: [PHP-DEV] Suggest: Have PHP Session cookies-enabled check use any cookie

2002-03-10 Thread Marcus Börger
The good idee is to set a cookie...and if so not to modify anything. What you missed is that you need not get any cookie if you did not write one yourself (but that does not affect your idea). We could simply leave an old session-cookie and reread it - that shouldn't be a security problem.

Re: [PHP-DEV] PHP audit project

2002-03-12 Thread Marcus Börger
In addition to Zeev, Hey guys where is your problem if someone wants to infect php code with functions that increases stability of code? The last days i spent much work to get ext/exif working and many problems came from missuse of strxxx functions. Changing to functions like strlcpy makes the

Re: [PHP-DEV] OCIError patch

2002-03-13 Thread Marcus Börger
Agree! You could provide afunction for your html output and make it an examle in the documentations - then everyone knows how to make nice error messages and those needing correct ones can do it too. Besides that i often needed some time to see the asterix in long statements (multiple

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/interbase interbase.c php_interbase.h

2002-03-15 Thread Marcus Börger
At 16:36 15.03.2002, Markus Fischer wrote: I think it's a good idea for every extension to display it's revision. Any objections to standardize this for all extension to displau their revision for those who don't have it yet ? So far only five extension seem to have

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Marcus Börger
At 20:55 15.03.2002, you wrote: Well, we have this: php_stream_copy_to_stream(srcstream, deststream, maxlen) that does that kind of thing :-) If maxlen is 0 it copies until EOF. It has some sense to use mmap when the source is a plain file too. Should react on -1 otherwise you cannot call the

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
on cygwin (but i cannot finr any definition for them) ?! ext/standard/http_fopen_wrapper.o(.text+0x17f):http_fopen_wrapper.c: undefined reference to `SOCK_FCLOSE' ext/standard/http_fopen_wrapper.o(.text+0x280):http_fopen_wrapper.c: undefined reference to `SOCK_WRITE'

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
SORRY, had to reconfigure with --enable-php-streams now it compiles and works but getimagesize is broken for jpegs i will fix that tomorrow - think it's a problem of the latest features (argh) marcus At 22:53 15.03.2002, Marcus Börger wrote: on cygwin (but i cannot finr any definition

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
To have image.c work i had to correct the php_stream_seek and php_stream_getc calls. Seek caals had wrong parameter arragement - but nowhere else in code... getc see below... I changed both functions later. in php_stream_getc i return buf 0xFF because otherwise i get 0xFFxx in return. in

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Marcus Börger
At 02:53 16.03.2002, Wez Furlong wrote: I'm not quite sure I know what you mean... Do you mean that if maxlen is -1, the function should not do anything? No it should copy until EOF on -1 but do nothing on 0 because zero means zero. marcus --Wez. On 16/03/02, Marcus Börger [EMAIL PROTECTED

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
What do you think about havin php_stream_seek emulate other methods than forward seeking? We could do this by opening the stream again if something before current position has to be read... That would allow using streams in every file based function! Of cause we should have flags that we are

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
, tmp, PHP_STREAM_COPY_ALL) to get a copy on disk. Do we have a memory stream already? Anybody like this idea? When do you need to do this? Well, a general rule is when php_stream_is(src, PHP_STREAM_IS_STDIO) is false. --Wez. On 16/03/02, Marcus Börger [EMAIL PROTECTED] wrote: What do you think

Re: [PHP-DEV] memory streams

2002-03-16 Thread Marcus Börger
At 18:58 16.03.2002, Marcus Boerger wrote: At the moment i am working at memory-streams If have the following problem left: I must extend struct _php_stream_ops with ftell by the way php_stream_tell is wrong because it relies on seek and that does return either 0 on success or an

Re: [PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
At 19:53 16.03.2002, Wez Furlong wrote: Damn; you're half right :-) Your seeker implementation should spot the offset=0 whence=SEEK_CUR case and return the current position. I've fixed the stdio stream implementation to do this. Please don't change the php_stream_ops structure, as there is no

Re: [PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
Little problem in php_stream_copy_to_stream: When copying the whole fstream the result is zero - should be size See patch. marcus diff -u -w -r1.23 streams.c --- main/streams.c 16 Mar 2002 18:52:03 - 1.23 +++ main/streams.c 16 Mar 2002 19:45:31 - @@ -377,8 +377,12 @@

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main streams.c

2002-03-16 Thread Marcus Börger
SORRY i checked and reloaded the file and i have no idea why whitespaces have changed - maybe i will change my editor... marcus At 21:05 16.03.2002, you wrote: helly Sat Mar 16 15:05:08 2002 EDT Modified files: /php4/main streams.c Log: -copy_stream_to_stream returns

Re: [PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
At 02:56 17.03.2002, Wez Furlong wrote: Hi Markus, (Sorry: I think I deleted the most relevant mail, so I'm replying to this one :-) Thanks for your work on the memory streams; I have a couple of comments about them: As they stand now, it is only possible to write in append mode. (Or it looked

[PHP-DEV] Re: memory streams

2002-03-16 Thread Marcus Börger
Date: Sun, 17 Mar 2002 04:16:07 +0100 To: Wez Furlong [EMAIL PROTECTED] From: Marcus Börger [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: memory streams As for the strange problems you have in the exif extension; if you switch to a stream opened with php_stream_fopen_tmpfile(), do you still have

[PHP-DEV] Re: memory streams

2002-03-17 Thread Marcus Börger
(url_stream_wrappers_hash, protocol, strlen(protocol), wrapper, sizeof(*wrapper), NULL); marcus Date: Sun, 17 Mar 2002 05:26:39 +0100 To: Wez Furlong [EMAIL PROTECTED] From: Marcus Börger [EMAIL PROTECTED] Subject: [PHP-DEV] Re: memory streams Cc: [EMAIL PROTECTED] Date: Sun, 17 Mar 2002 04:16:07 +0100 To: Wez

Re: [PHP-DEV] getting the path to the php executable

2002-03-17 Thread Marcus Börger
At 05:11 18.03.2002, you wrote: is there a way to get the path of the current php executable for the cli and cgi sapi implementations? this would be nice so that run-tests.php could run its subprocesses with the same executable that it was run with (so you could run the tests with a particular

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-03-17 Thread Marcus Börger
Hi Wez, Thanks for your comments. After having some problems with the new functions i switched to use php_stream_open_wrapper( STREAM_MUST_SEEK now. If have the following annotations to streams: 1) i do not like the style of how to determine the kine of a stream instead of #define

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-03-18 Thread Marcus Börger
At 21:52 18.03.2002, you wrote: 2) for seekable streams the copy function should seek to 0 if copying all, shouldn't it? No: as an example consider some code that is performing an HTTP request. It might want to store the headers in one stream and the body in another. So, it would manually

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-03-20 Thread Marcus Börger
Finally i came back from work and installed me a new mdk8.2 - and it works :-) Yep tested the ext/exif and it's o.k. tomorrow more tests i think of copying files to streams to memory streams back to temp streams and then let us see. marcus At 00:36 20.03.2002, Wez Furlong wrote: To: Marcus

Re: [PHP-DEV] getting the path to the php executable

2002-03-20 Thread Marcus Börger
At 22:19 20.03.2002, Jim Winstead wrote: On Mon, Mar 18, 2002 at 05:56:02AM +0100, Marcus B?rger wrote: At 05:11 18.03.2002, you wrote: is there a way to get the path of the current php executable for the cli and cgi sapi implementations? this would be nice so that run-tests.php could run

Re: [PHP-DEV] CLI max_execution_time

2002-03-24 Thread Marcus Börger
I do not think it is a good idea to have many 'special ways' in cLI. Such as always registering argc/argv we have already. For me i would more likly have a special section in php.ini to set all this. marcus example *default* section: [CLI] register_argc_argv = On max_execution_time = Off

Re: [PHP-DEV] CLI max_execution_time

2002-03-24 Thread Marcus Börger
At 15:32 24.03.2002, Markus Fischer wrote: On Sun, Mar 24, 2002 at 03:04:18PM +0100, Marcus Börger wrote : I do not think it is a good idea to have many 'special ways' in cLI. Such as always registering argc/argv we have already. For me i would more likly have a special section in php.ini

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cli README php_cli.c

2002-03-24 Thread Marcus Börger
From the ongoing discussion i assume that you wanted setting infinite time limit only when no php.ini was found - but that does only make sense when a special section in php.ini is available because otherwise you will either have no php.ini or the setting of the cgi version or multiple ini files

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Marcus Börger
At 12:56 25.03.2002, [EMAIL PROTECTED] wrote: On Mon, 25 Mar 2002, Markus Fischer wrote: Mindreader, you ;) Actually, we're a bit late (and I complained that already in other places). 4.2.0 is already half-way out of the door with the CLI version and we don't have a

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Marcus Börger
At 15:30 25.03.2002, Edin Kadribasic wrote: [EMAIL PROTECTED] wrote: ANother possibility is to take the CLI out of 4.2.0, +1 from me. We have lived without the CLI for some time now. If we introduce it, it should be done right (correct defaults, reading preferences the right

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Marcus Börger
So one problem is my last 'fix' : i commited the older version ***sorry on that*** before realising that one of its reasons was wrong (See Kristians mail http://lists.php.net/article.php?group=php.devarticle=81817): The file must start like this: #!/usr/bin/php -f and not #!/usr/bin/php -- cvs

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Marcus Börger
and now nothing works. I will check it tomorrow or on friday. marcus At 20:19 27.03.2002, you wrote: Hello, is there something broken in the release branch too? Derick On Wed, 27 Mar 2002, Marcus Börger wrote: So one problem is my last 'fix' : i commited the older version ***sorry

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard file.c ftp_fopen_wrapper.c http_fopen_wrapper.c php_fopen_wrapper.c /ext/zlib zlib_fopen_wrapper.c /main memory_streams.c network.c php_streams.h streams.c user_streams.c

2002-03-27 Thread Marcus Börger
Should we have stat also for memory/temp streams? should be no problem but supporting access/modified time with it would slow down performance as querying time is timeconsumpting on most systems. marcus At 01:49 28.03.2002, you wrote: wez Wed Mar 27 19:49:00 2002 EDT Modified

Re: [PHP-DEV] CLI and -f

2002-03-28 Thread Marcus Börger
src]$ php4/sapi/cli/php -h Usage: php [options] [-f] file [args...] php [options] -r code [args...] php [options] [-- args...] At 22:54 28.03.2002, you wrote: On Thu, 28 Mar 2002, Marcus Börger wrote: Nothing is wrong with that. I think your request goes to the dicussion

Re: [PHP-DEV] CLI and -f

2002-03-28 Thread Marcus Börger
At 01:57 29.03.2002, Markus Fischer wrote: On Fri, Mar 29, 2002 at 01:39:52AM +0100, Marcus Börger wrote : At 01:33 29.03.2002, you wrote: On Fri, Mar 29, 2002 at 01:00:47AM +0100, Marcus Börger wrote : The difference to many other programs is that we came from CGI

Re: [PHP-DEV] Re: Re: Session patch

2002-03-28 Thread Marcus Börger
Tell me if i'm wrong From the webpage german freely translated to english Hervorragende Eignung für hoch frequentierte Websites =Especially for highly frquented webpages. I do not think having your cookie beeing part of dns is a fast solution or did you your self register many of these entrie

Re: [PHP-DEV] ErrorLog problem

2002-03-29 Thread Marcus Börger
At 10:43 29.03.2002, Jan Pavlík wrote: That not help to me ;) I will rewrite PHP to log only ONE error when the next errors are the same. But I ask only, PHP developers think, that will be better make it as standart. But please configureable with default to current behaviour. I host myself and

Re: [PHP-DEV] ErrorLog problem

2002-03-29 Thread Marcus Börger
- Original Message - From: Marcus Börger [EMAIL PROTECTED] To: Jan Pavlík [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 29, 2002 1:15 PM Subject: Re: [PHP-DEV] ErrorLog problem At 10:43 29.03.2002, Jan Pavlík wrote: That not help to me ;) I will rewrite PHP to log only ONE error when

Re: [PHP-DEV] File inclusion from www.a.com to www.b.com

2002-04-02 Thread Marcus Börger
Normally this is a topic for [EMAIL PROTECTED] but i think it 'could' be a good feature to have include/require work with streams. Then the questioned code would work. The quick solution is to open the file is: eval(join('', file('http://www.a.com/includefile'))); marcus At 01:34 01.04.2002, you

[PHP-DEV] Re: Exif doesn't compile

2002-04-03 Thread Marcus Börger
any constant our self is that we do not know what the library does internally. Normally it should work on not more than 4 bytes but who knows? Will try to check verify that tomorrow - only problem is that i cannot produce worstcase testdata for that. marcus Derick On Wed, 3 Apr 2002, Marcus

[PHP-DEV] Re: [PHP-QA] Re: Exif doesn't compile

2002-04-04 Thread Marcus Börger
someone with MS VC should check the value of the variable __mb_cur_max. Then we can set it. Or does anyone have a better idea? marcus Thanks, Sander On 2002.04.03 21:33 Marcus Börger wrote: That should be a library constatnt i add it... marcus At 21:05 03.04.2002, Derick Rethans wrote: Hello

[PHP-DEV] classes, instances objects in ZE2

2002-04-05 Thread Marcus Börger
Since there is a lot of discussion going on, i had some thoughts. Clearing some terms before: class = template for objects/instances a class holds a list of methods and knows about its parents a class can have static members/methods which can be used without creating an object/instance

Re: [PHP-DEV] classes, instances objects in ZE2

2002-04-08 Thread Marcus Börger
At 15:36 08.04.2002, Kristian Köhntopp wrote: Marcus Börger wrote: - we have private, what about final, public, protected and abstract (can we remove/hide a method from an object)? Do we in ZE2? What use it is? In my book, private is only of very limited use, because there always must

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread Marcus Börger
Mybe it would make sence to have MI for compile time and aggregation for run time. So we can have good design with MI and prototyping and testing and quick hacks with aggregeation. But doing compile times work with run time methods? marcus At 23:58 08.04.2002, you wrote: If MI can be emulated

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread Marcus Börger
was that aggregation allows to change the methods of an object. IMHO there is room for both aggregate and MI. We have require and include, not just include? :-) - Stig On Tue, 2002-04-09 at 00:16, Marcus Börger wrote: Mybe it would make sence to have MI for compile time and aggregation for run

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread Marcus Börger
some hours ago brad already unfolded the main difference: With aggregation you can have d=(a,b) and d=(a,c) while MI only allows d=(a,b,c). marcus - Stig On Tue, 2002-04-09 at 00:16, Marcus Börger wrote: Mybe it would make sence to have MI for compile time and aggregation for run

Re: [PHP-DEV] classes, instances objects in ZE2

2002-04-09 Thread Marcus Börger
At 10:47 09.04.2002, Kristian Koehntopp wrote: On Mon, Apr 08, 2002 at 05:18:07PM +0200, Marcus B?rger wrote: In my book, private is only of very limited use, because there always must be a way around it. I skipped the first part because i think we are now talking about the same thing here.

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 11:01 09.04.2002, Kristian Koehntopp wrote: On Mon, Apr 08, 2002 at 08:57:09PM -0400, fabwash wrote: My vote is java like: no MI, no aggregation, single inheritence and use of interfaces :) Could you please explain how interfaces promote code reuse? An interface in Java is a fully

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
That would be dynamically aggregation with other keywords (Delphi does not have MI or aggregation). At 11:27 09.04.2002, you wrote: On 09/04/02, Kristian Koehntopp [EMAIL PROTECTED] wrote: On Mon, Apr 08, 2002 at 08:57:09PM -0400, fabwash wrote: My vote is java like: no MI, no aggregation,

Re: [PHP-DEV] classes, instances objects in ZE2

2002-04-09 Thread Marcus Börger
At 11:34 09.04.2002, Kristian Koehntopp wrote: On Tue, Apr 09, 2002 at 11:11:58AM +0200, Marcus B?rger wrote: Keywords are better then implicit definitions. Agreed. I would like to have private, protected and public which can be easily done by adding one single flag to the members of an

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 12:12 09.04.2002, Pierre-Alain Joye wrote: I have failed to understand what interfaces would mean in a language such as PHP, though, while I can see the clear hands-on use for MI. Can you explain how you envision interfaces as useful constructs in PHP, and their advantages over MI,

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 12:32 09.04.2002, Pierre-Alain Joye wrote: Would it be so bad allowing closed source? I really do not care, but I really appreciate and use only ( for my dev ) open sources products, but that is not the question, and was a joke == ;) :)) I think having one of MI, aggregation and

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 13:40 09.04.2002, fabwash wrote: The thesis I mentionned before starts by saying this: One of the main reasons why inheritence is a fuzzy concept in implementation languages is the fact that it can be used very liberally, allowing redefinition and even cancellation of derived properties. This

Re: [PHP-DEV] Re: aggregate() und overload()

2002-04-09 Thread Marcus Börger
At 09:47 08.04.2002, you wrote: Andrei Zmievski wrote: Please expound on this. I would like to hear specific problems you see existing with __get_x() callbacks. As of now, this is just an unspecified bad feeling of mine. I only can back up this with the two times we had special names which

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 15:57 09.04.2002, Wez Furlong wrote: On 09/04/02, Marcus Börger [EMAIL PROTECTED] wrote: Where does C++ has aggregation? C++ has templates which can be used for aggregation purposes. (The Active Template Library, for example). --Wez. Ok. But templates are C++ way of parametric inheritance

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 15:26 09.04.2002, Lauri Liinat wrote: hi all, I'm personally in favour of having MI in PHP, with the serious alternative being interfaces. I have failed to understand what interfaces would mean in a language such as PHP, though, while I can see the clear hands-on use for MI. 1) the

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 20:30 09.04.2002, you wrote: I'm personally in favour of having MI in PHP, with the serious alternative being interfaces. I have failed to understand what interfaces would mean in a language such as PHP, though, while I can see the clear hands-on use for MI. Can you explain how you

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 01:22 10.04.2002, fabwash wrote: Yes I agree to everything you say, I was just pointing out examples. How many OO programmers understand OO ? Giving them rules to adhere to and not letting them hack the language for their own benefit, just because they don't understand the concept of the

RE: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
At 19:39 10.04.2002, Richard Heyes wrote: After (v)spprintf i have another modified function here: base64url_(en|de)code You could simply use this: urlencode(base64_encode($blaat)); Sure but the the encoding result grows in length (dynamically) what i wanted to avoid :-) marcus -- PHP

Re: [PHP-DEV] Re: modified base64

2002-04-10 Thread Marcus Börger
At 19:22 10.04.2002, Jim Winstead wrote: Marcus Boerger [EMAIL PROTECTED] wrote: After (v)spprintf i have another modified function here: base64url_(en|de)code I sometimes transmit binary data or thinks like session ids over http. when using base64 the problem is in the chars '+', '/'

Re: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
At 20:26 10.04.2002, Markus Fischer wrote: On Wed, Apr 10, 2002 at 07:42:57PM +0200, Marcus Börger wrote : At 19:39 10.04.2002, Richard Heyes wrote: After (v)spprintf i have another modified function here: base64url_(en|de)code You could simply use this: urlencode(base64_encode

Re: [PHP-DEV] modified base64

2002-04-10 Thread Marcus Börger
:14PM +0200, Marcus Börger wrote : At 20:26 10.04.2002, Markus Fischer wrote: On Wed, Apr 10, 2002 at 07:42:57PM +0200, Marcus Börger wrote : At 19:39 10.04.2002, Richard Heyes wrote: After (v)spprintf i have another modified function here: base64url_(en|de)code You could simply

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-04-13 Thread Marcus Börger
Sure i do and it worked fine for all tests!? marcus At 00:02 13.04.2002, you wrote: sniper Fri Apr 12 18:02:30 2002 EDT Modified files: /php4/ext/exif exif.c Log: Fix the build. # Marcus, do you TEST build at all before you commit?! Index: php4/ext/exif/exif.c

Re: [PHP-DEV] Extra EXIF headers (exif.c)

2002-04-13 Thread Marcus Börger
Sounds nice but it will be a lot more work :-) I will try to include them and verify it. But we are in RC3 so you will find the code not before 4.3. marcus At 14:42 13.04.2002, you wrote: Hello there. I have been investigating the EXIF tags that Windows XP can add to files, and have

Re: [PHP-DEV] Extra EXIF headers (exif.c)

2002-04-13 Thread Marcus Börger
At 16:02 13.04.2002, you wrote: On Sat, Apr 13, 2002 at 03:25:30PM +0200, Marcus Börger wrote: Sounds nice but it will be a lot more work :-) I will try to include them and verify it. But we are in RC3 so you will find the code not before 4.3. OK, thanks! :) Maybe someone will build

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-04-14 Thread Marcus Börger
+0200, Marcus Börger wrote : Sure i do and it worked fine for all tests!? marcus At 00:02 13.04.2002, you wrote: sniper Fri Apr 12 18:02:30 2002 EDT Modified files: /php4/ext/exif exif.c Log: Fix the build. # Marcus, do you TEST build at all before

Re: [PHP-DEV] Re: cvs: php4 / run-tests.php

2002-04-14 Thread Marcus Börger
I think we must do something to the tests. We have either cgi (only this could test post/get) and cli which is available for whatever target you build. But they behave different: cli coes not change the execution directory cgi does whether i add -C or not. The problem is that all tests must have

Re: [PHP-DEV] Win32 build broken

2002-04-17 Thread Marcus Börger
No that was S_ISDIR was introduced by me to have this -c option work correctly. I had a short email discussion with Yasuo about the macros i used and their availability in Windows and we both thought they are available in Windows. Maybe we have to check whether to use S_ISDIR directly or have it

Re: [PHP-DEV] The PHP Platform

2002-04-17 Thread Marcus Börger
I liked Java (the api not the language) for big projects as well. But only when there is need for many web servers behind a Loadbalancer/Firewall. For smaller projects Java depends on to much memory/cpu resources. And who wants to use MS in critical environments or with critical Data? Remember MS

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Marcus Börger
Not noticing space is a *the* common pitfall in xslt! If you before 4.1.2 had spaces and it spit out a,b then the earlier version did not count the text-nodes and therefore was erroneous. marcus and good morning to Matt - i am nearly going to bed if there wasn't so much work left At 20:12

Re: [PHP-DEV] [Fwd: new dns function, gethostent]

2002-04-18 Thread Marcus Börger
At 23:13 18.04.2002, Shane Caraveo wrote: Hi everyone, I have a need not fullfilled by the current short set of dns functions (no way to retrieve aliases), so I wrote a 'gethostent' function, which accepts either hostname or ip, and returns a hash equivelant of the C hostent struct. patch is

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Marcus Börger
At 15:46 19.04.2002, you wrote: Any objection for changing -O2 - -O3 when --enable-inline-optimization is used? (when GCC is used) -- Yasuo Ohgaki What about leaving -O2 but adding -finline-functions marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main php_ini.c

2002-04-21 Thread Marcus Börger
At 05:54 21.04.2002, Yasuo Ohgaki wrote: Sascha Schumann wrote: The ``S_ISDIR´´ macro is a POSIX interface and should be used by the PHP source code, because it is simply the right thing to do. I don't see any need to invent a new name for it, especially because it is

Re: [PHP-DEV] RFC: CLI alone

2002-05-15 Thread Marcus Börger
No it hasn't so you have to use make sapi/cli/php marcus At 16:27 15.05.2002, Roman Neuhauser wrote: Date: Sun, 17 Mar 2002 18:15:51 +0100 To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Marcus Boerger) Subject: [PHP-DEV] RFC: CLI alone The following patch enables a CLI build without

Re: [PHP-DEV] Configuration.... XML.... Life

2002-05-16 Thread Marcus Börger
Generally using xml instead of ini format would allow many things -different ini sections for different sapis -different ini sections for different users -maybe inclusion of subscripts (db admin may change only database parts..) -maybe different ini sections for different webservers if we can

Re: [PHP-DEV] Writing EXIF?

2002-05-16 Thread Marcus Börger
There is no way writing exif information. Maybe this will be added but the necessary code would be very complex. It could be an option to allow setting of number values such as the rotation information. When only allowing such we do not have to strip of EXIF header and insert the a new one. At

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like it)

2002-05-30 Thread Marcus Börger
At 03:52 30.05.2002, Yasuo Ohgaki wrote: Steve Meyers wrote: Well, you didn't try it with MySQL, which is significantly faster than Oracle and Postgres for most stuff. In any case, I agree that msession is probably a better solution -- I just think that having built-in MySQL session support

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread Marcus Börger
At 19:29 30.05.2002, brad lafountain wrote: --- Stig S. Bakken [EMAIL PROTECTED] wrote: On Thu, 2002-05-30 at 18:08, [EMAIL PROTECTED] wrote: On Thu, 30 May 2002, brad lafountain wrote: The 2M size has alot of stuff that we wouldn't need. Im sure we can get it down to under

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /win32 sendmail.c

2002-06-11 Thread Marcus Börger
marcus At 11:55 11.06.2002, you wrote: On Tue, Jun 11, 2002 at 11:35:07AM +0200, Marcus Börger wrote : Why not using spprintf which does not require to allocate the buffer before calling the function? Simpy because I wasn't aware of it. Feel free to rewrite it. - Markus -- GnuPG Key

RE: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-13 Thread Marcus Börger
At 16:46 07.06.2002, Joseph Tate wrote: How much of C has been reused, and reused and reused again? There is no oo in stdlib. Ah come on there is no oo in c. You should have asked for C++ and STL (and that is very much of code reuse even though its pro is its main foe: it is so much of reuse

Re: [PHP-DEV] Re: cvs: php4 /ext/mbstring mbstring.c

2002-06-20 Thread Marcus Börger
/02, Yasuo Ohgaki wrote: Marcus BöRger wrote: helly Wed Jun 19 17:55:46 2002 EDT Modified files: /php4/ext/mbstring mbstring.c Log: correct handling/generating of php_mbstr_default_identify_list As I posted before, I'll try merge changes made in php4/ext/mbstring to PHP i18n

Re: [PHP-DEV] Re: cvs: php4 /ext/mbstring mbstring.c

2002-06-20 Thread Marcus Börger
. -- Yasuo Ohgaki Thanks, Brian At 8:27 PM +0200 6/20/02, Marcus Börger wrote: You will break ext/exif when removing mbstrings current integration At 04:17 20.06.2002, you wrote: I am testing a patch that allows mbstring to be built as a shared extension instead of static. This would allow removing

Re: [PHP-DEV] Seeking Comments - Regarding header()

2002-06-21 Thread Marcus Börger
(..) ?php Header('HTTP/1.0 301 Moved Permanently'); Header(Location: http://$uri;); ? (...) Logfile: 127.0.0.3 - - [21/Jun/2002:09:25:27 +0200] GET / HTTP/1.1 301 38 (..) ?php Header('HTTP/1.0 302 Moved Temporary'); Header(Location: http://$uri;); ? (...) Logfile: 127.0.0.3

Re: [PHP-DEV] Re: cvs: php4 /ext/mbstring mbstring.c

2002-06-21 Thread Marcus Börger
, Marcus Börger wrote: You will break ext/exif when removing mbstrings current integration At 04:17 20.06.2002, you wrote: I am testing a patch that allows mbstring to be built as a shared extension instead of static. This would allow removing any reference to mbstring from the core

Re: [PHP-DEV] Re: cvs: php4 /ext/mbstring mbstring.c

2002-06-21 Thread Marcus Börger
At 20:29 21.06.2002, Brian France wrote: At 7:23 PM +0200 6/21/02, Marcus Börger wrote: What i wanted to stree out is that exif uses functions from mbstring if present. That means if mbstring is not present it does not use these and the user has to do that stuff for his own. If mbstring

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /win32 sendmail.c

2002-06-22 Thread Marcus Börger
Here comes the diff - but again i cannot compile it under windows and therefore i never compiled it :-( If uses spprintf instead of s/n)printf where appropriate and uses a buffer on stack for chunked data instead of a static buffer. marcus cvs -z3 -q diff -w win32\sendmail.c (in directory

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/exif exif.c

2002-06-22 Thread Marcus Börger
At 20:38 22.06.2002, Marcus Börger wrote: helly Sat Jun 22 14:38:34 2002 EDT Modified files: /php4/ext/exif exif.c Log: exif_read_data returns mime-type now for image and thumbnail And exif_thumbnail now optionally returns imagetype. (Marcus) #So now you can use

Re: [PHP-DEV] Difference between sprintf, snprintf and spprintf

2002-06-22 Thread Marcus Börger
Idea was that most people are not aware of spprintf and do not know the difference. So Markus and me thought about adding such a note. marcus At 23:44 22.06.2002, Sterling Hughes wrote: Why? If you're commiting code you should know how to use these basic functions... besides, sprintf is

Re: [PHP-DEV] xmlrpc gd bundled win32 build broken

2002-06-25 Thread Marcus Börger
GD should work after my last patch (if i understand autoconf etc correct) At 11:21 25.06.2002, Edin Kadribasic wrote: The details: http://snaps.php.net/win32/compile.log It would be nice if people would check this log file from time to time to make sure their changes didn't break the build.

Re: [PHP-DEV] ZendEngine2 and $argc,$argv

2002-06-25 Thread Marcus Börger
Works now, THX marcus At 06:22 25.06.2002, Andi Gutmans wrote: Can you try the latest CVS version? It should be fixed there. Let me know... Thanks, Andi At 11:04 PM 6/24/2002 +0200, Marcus Boerger wrote: Since i use ZendEngine2 i cannot use global $argc,$argv. Example: function

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/gd config.m4 gd.c

2002-06-25 Thread Marcus Börger
2002, Marcus Börger wrote: helly Tue Jun 25 05:00:11 2002 EDT Modified files: /php4/ext/gd config.m4 gd.c Log: imageellipse is removed in 2.01 #maybe someone reintroduces this one in bundled lib? Index: php4/ext/gd/config.m4 diff -u php4/ext/gd

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Marcus Börger
At 18:37 26.06.2002, Stefan Roehrich wrote: On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: I'm -1 for features that silently fails. User can check ini_set return value if it is successful or not. So I'm 0 for ini_set(zlib.output_compresion,Off); I don't understand your first two sentences,

Re: [PHP-DEV] Idea for CLI feature

2002-06-27 Thread Marcus Börger
At 18:43 27.06.2002, Andi Gutmans wrote: Hey, It'd be cool if phpinfo() would print its output in regular text (no HTML) when used with the CLI version (a bonus would be to also be able to pass it a parameter in CGI mode to select this mode). The way phpinfo() is written this is quite easy to

Re: [PHP-DEV] W3C html validation issue

2002-07-22 Thread Marcus Börger
Handling is incorrect for all browsers :-) if a browser reads a htmlfile (how comes he knows is of no importance, DTD, guess whatever) it ALLWAYS knows about amp; being entity representaion for character '' if in any HTML/XML/SGML file a browser reads the character '' an entity begins

Re: [PHP-DEV] 4.3 release call to arms

2002-07-25 Thread Marcus Börger
At 23:21 25.07.2002, Rasmus Lerdorf wrote: 6. GD bundling (Rasmus) [done?] Seems to be done. -R There was a discussion about imageellipse and i did a patch to detect whther or not the function is available in config.m4 file. The patch also used imagearc in a wrapper if the former is

  1   2   3   4   5   >