[PHP-DEV] call_user_method_array

2001-02-25 Thread Wez Furlong
Hi, I have written a call_user_method_array function that, surprise surprise, calls a user method and passes arguments from an array - the object/class equivalent of call_user_func_array. The code is below. In the function table, I have made the second arg passed by reference, as it is not

[PHP-DEV] Re: Japanese PHP

2001-02-25 Thread Wez Furlong
Andi Gutmans wrote: Does Japanese actually work in a decent way with PHP? From the zillions of Japanese sites I've seen running it I'd guess it works :) Theres a bunch of extensions that add multibyte support from ftp://night.fminn.nagano.nagano.jp/php4/. PHP does work, you just need to be

[PHP-DEV] CVS Karma levels

2001-02-25 Thread Wez Furlong
Hi, I just had time to catch up on some of the topics on the list over the last couple of months (I had a backlog of around 9000 messages to wade through). Anyway, one of the topics was CVS accounts, core developers actually being terrorists in deep cover operations etc. etc. I got a CVS

RE: [PHP-DEV] CVS Karma levels

2001-02-25 Thread Wez Furlong
can prove it's me by providing you with my cvs password over private email. (mail to the ryltech address will not reach me). --Wez. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 11:24 PM To: Wez Furlong; php-dev mailinglist Subject

RE: [PHP-DEV] CVS Karma levels

2001-02-25 Thread Wez Furlong
Changed. You also have access to the full source tree now. - Sascha Thanks. --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP-DEV] SSL socket support

2001-02-25 Thread Wez Furlong
I've been reviewing my relatively crude patch from September last year that provided transparent SSL socket access to PHP via the php functions fsockopen, fread etc. etc. It would be very simple to integrate this into the current PHP code base, but to do so I think we would need to make some

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-26 Thread Wez Furlong
On 2001-02-26 08:21:23, Stig Venaas [EMAIL PROTECTED] wrote: Sounds good to me. It's also impossible in a portable way to know if a socket is AF_INET, AF_INET6 or AF_LOCAL, so for socket() function etc. I've been thinking of doing something like this to store what domain a socket is in

Re: [PHP-DEV] SSL - joining sockets and files ?

2001-02-27 Thread Wez Furlong
On 2001-02-27 06:53:05, Stig Venaas wrote: But with for instance IPv6, you won't know what socket you need until you're done with the resolving. That's why hostconnect() is like it is. It even needs to connect before it knows what socket to use. That I must have missed hostconnect(). I

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-27 Thread Wez Furlong
On 2001-02-27 20:07:09, Andi Gutmans wrote: Do you have time to map where in PHP we are currently using socket code? I think according to how many places and how we are using it, it'll help us decide how much redesigning we can do. Also keep Win32 in mind while thinking of this. As is the

[PHP-DEV] SSL - joining sockets and files (resent)

2001-02-28 Thread Wez Furlong
Sorry - I've been having problems with my mail client; I have resent the message with sensible line breaks. On 2001-02-27 06:53:05, Stig Venaas wrote: But with for instance IPv6, you won't know what socket you need until you're done with the resolving. That's why hostconnect() is like it is.

Re: [PHP-DEV] SSL - joining sockets and files (resent)

2001-02-28 Thread Wez Furlong
On 2001-02-28 20:51:18, Andi Gutmans [EMAIL PROTECTED] wrote: Doing some C OOP here would probably come in handy. Short incomplete example: typedef union _io_abstraction { io_base base; socket_abstraction socket; ssl_abstraction ssl; file_abstraction

Re: [PHP-DEV] SSL - joining sockets and files

2001-02-28 Thread Wez Furlong
I've just looked through the code. The current issock stuff is a bit of a nightmare, but not too much of a problem. Most of the codebase seems to be fairly well behaved with FP_FGETS and friends (apart from the interbase extension, where it does the same thing as FP_FREAD without using

Re: [PHP-DEV] SSL - joining sockets and files

2001-03-01 Thread Wez Furlong
On 2001-03-01 05:14:18, Andi Gutmans [EMAIL PROTECTED] wrote: This sounds pretty good. I'll try and look at the code this weekend. Some of the code is really ugly especially the legacy code. When you say there are places which need a FILE * do you mean they just need to check the id and

Re: [PHP-DEV] Debugger protocol

2001-03-20 Thread Wez Furlong
On 2001-03-21 03:03:00, "Varun Shoor" wrote: working on an Open Source IDE for PHP but from what i heard in the #php the debugger protocol is no more open in PHP4? And only binaries are distributed and above all it is illegal to reverse engineer the protocol. Why in the world is this

Re: [PHP-DEV] [IANAL] Re: [PHP-DEV] Debugger protocol

2001-03-20 Thread Wez Furlong
On 2001-03-20 14:22:54, Joey Smith [EMAIL PROTECTED] wrote: I have been told that the Zend Debugger license explicitly prohibits such activity. I, for one, do not begrudge Zend trying to make a little money. Just because some of us manage to live an idealistic world does not mean

[PHP-DEV] mailparse email parsing extension for PHP

2001-03-28 Thread Wez Furlong
Hi, I've written an extension that will parse rfc822/rfc2045 compliant email messages and allow manipulation of the message parts. The main points are: . Based on modified maildrop librfc822 and librfc2045 (part of the courier mail server) . Low resource usage - all parsing is "incremental",

[PHP-DEV] (apparently) leaky zend

2001-03-28 Thread Wez Furlong
Hi All, I've been noticing a whole bunch of memory leaks that appear to be coming from zend while running a complex script. zend_hash.c(202) : Freeing 0x088D11E4 (20 bytes), script=/wwwroot/view.php Last leak repeated 37 times ./zend_execute.c(2144) : Freeing 0x089D8E3C (48 bytes),

RE: [PHP-DEV] (apparently) leaky zend

2001-03-28 Thread Wez Furlong
How do you see that? That 'last leak repeated 18 times' doesn't mean the pointer got freed 18 times, but rather, that a leak from zend_hash.c(461) repeated itself 18 times... My mistake... just after I sent the message I realized that that couldn't be the case, as there would have been a

[PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
[I can't reach the PHP web site (100% packet loss), so I can't open a bug report at this time] I have found a leak in the Zend engine: class A { var $t = null; function run($t) { $this-t = $t; return $this-t-run(); } } class C {

RE: [PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
BTW: This was with CVS PHP updated this morning, ./configure --disable-pear --without-gd --without-mysql --enable-debug zend_hash.c(291) : Freeing 0x0818E474 (37 bytes), script=leak.php Last leak repeated 1 time zend_hash.c(202) : Freeing 0x08193D1C (20 bytes), script=leak.php Last leak

RE: [PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
I don't have enough mental strength to dive into that script right now, but :-) be advised that if you create circular references (which apparently you do) then yes, it will leak. PHP doesn't support circular references. Ahhh. It may sound like a stupid question, but why not? And is

[PHP-DEV] PHP mailing lists on the blink ?

2001-04-01 Thread Wez Furlong
Hi All, I'm subscribed to the cvs commit list, but aside from the confirmation message, I have received no mail from it. Also, I have gotten the last 3 PHP 3 bug summaries, but not the PHP 4 summaries. Just thought you should know! --Wez. -- PHP Development Mailing List

[PHP-DEV] openssl extension update

2001-04-01 Thread Wez Furlong
Hi again, I've spent a fair amount of time this weekend adding support for pkcs7 encrypt/decrypt/sign/verify operations to the openSSL extension. In plain English, that means that you can now sign/verify, encrypt/decrypt S/MIME messages using the openSSL software. The code is all based on

[PHP-DEV] documenting extensions

2001-04-02 Thread Wez Furlong
Can anyone give me some pointers on how I might go about documenting the openSSL extension? ATM, there is a readme, but I would like to put this stuff in the manual, with some examples. Thanks, --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] documenting extensions

2001-04-02 Thread Wez Furlong
On 2001-04-02 13:43:18, "Stig Venaas" [EMAIL PROTECTED] wrote: On Mon, Apr 02, 2001 at 01:42:40PM +0100, Wez Furlong wrote: Can anyone give me some pointers on how I might go about documenting the openSSL extension? ATM, there is a readme, but I would like to put this stuff in

[PHP-DEV] file IO abstraction layer

2001-04-04 Thread Wez Furlong
Stig [+ Andi others] I've made a start, and concerning sockets, I wanted to ask a question. main/network.c has php_hostconnect, which is used only by the http/ftp fopen wrappers, and does not yet implement the timeout (AFAICS). ext/standard/fsock.c has php_fsockopen, which seems to a

[PHP-DEV] CVS mailling list screwy

2001-04-13 Thread Wez Furlong
Hey, I'm subscribed to the CVS commit list, but I've received 0 messages from it. Who is maintaining the list? What can be done about it? --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP-DEV] GD patch committed

2001-04-13 Thread Wez Furlong
I've committed my GD 2.0.1 patch. If the build breaks, I'm sorry - it should be OK however. Please let me know if you have any problems with it. --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-13 Thread Wez Furlong
On 2001-04-13 20:59:21, "Brian Moon" [EMAIL PROTECTED] wrote: Ok, first, I had to edit gdttf.c and change: #if HAVE_LIBTTF !defined(USE_GD_IMGSTRTTF) to: #if (HAVE_LIBTTF|HAVE_FREETYPE) !defined(USE_GD_IMGSTRTTF) OK. I was using "--enable-gd-native-ttf", so this didn't

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-16 Thread Wez Furlong
On 2001-04-16 00:09:05, "Zeev Suraski" [EMAIL PROTECTED] wrote: here. Generally, the main differences we came up with so far are (as per Stig): - Move most of the non-popular extensions out of the release and into PEAR (requires lots of PEAR work to be made) - Always build the CGI - No

[PHP-DEV] 4.0.5, GD 2.0 and the zend.com weekly summary

2001-04-16 Thread Wez Furlong
Hi, I just noticed that the zend.com weekly summary says that my GD 2.x patch is likely to get into 4.0.5. I would have thought (and have noted in the docs) that it would be 4.0.6, given how far advanced we are with the RCs. Can you (group) confirm/deny this? I'm not bothered either way,

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-17 Thread Wez Furlong
On 2001-04-17 16:26:19, "Hartmut Holzgraefe" [EMAIL PROTECTED] wrote: Wez Furlong wrote: I'm working on a file abstraction for fopen and friends, with the aim of nuking all those issock parameters and paving the way so that I can finally integrate SSL support for those

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-17 Thread Wez Furlong
On 2001-04-17 15:47:09, "Brian Moon" [EMAIL PROTECTED] wrote: Everything compiles fine. However, now I get this when calling ImageTTFBBox: bWarning/b: libgd was not built with TrueType font support I simply installed gd and FreeType per their instructions with no problems. Any ideas?

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-17 Thread Wez Furlong
On 2001-04-17 19:04:31, "Brian Moon" [EMAIL PROTECTED] wrote: I found libgd.a from an old version just after sending this email. So, all compiles and runs without error now. I just don't get an image. Have you actually produced an image with this? Yes, although I did find a couple of

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-17 Thread Wez Furlong
On 2001-04-17 22:22:47, "Zeev Suraski" [EMAIL PROTECTED] wrote: At 20:24 17/4/2001, Wez Furlong wrote: It's in CVS now - take a look at main/php_streams.h. Cool - it looks very good! That's exactly what I meant in the 'something similar to C++'s virtual classes' :) Thank

Re: [PHP-DEV] 4.0.6 and gd 2

2001-04-18 Thread Wez Furlong
On 2001-04-18 06:43:33, "Kurth Bemis" [EMAIL PROTECTED] wrote: configure: warning: If configure fails try --with-xpm-dir=DIR checking for freetype(2) (needed by gd 2.0+)... no ... heres my config line ./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache_1.3.19

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-18 Thread Wez Furlong
On 2001-04-17 21:08:15, "Andi Gutmans" [EMAIL PROTECTED] wrote: Any chance you can write a small readme file or add some explanations to the .h file to give people like me a small overview of the abstraction so that it will be easier to start diving into the code? I've just commited

Re: [PHP-DEV] gd, freetype 1

2001-04-19 Thread Wez Furlong
On 2001-04-19 14:34:07, "Adam Dickmeiss" adam@gamma wrote: Problem is that with_freetype_dir is empty in ext/gd/config.m4 so with-ttf is not really recognized. The patch below fixes the problem. Thanks - it's in CVS now. --Wez. -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] function table / hashes

2001-04-27 Thread Wez Furlong
On 2001-04-27 11:27:55, Andi Gutmans [EMAIL PROTECTED] wrote: At 12:03 AM 4/27/2001 -0400, David Croft wrote: Thank you Andi and Andrei. I have noticed that object method callbacks are consistently faster than global function callbacks, and was wondering why: Perhaps because the method

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
On 2001-05-02 15:03:50, Zeev Suraski [EMAIL PROTECTED] wrote: We're going to have a Windows build machine at Zend, that will have automated builds (it's actually quite around the corner now). Once it's ready, we're going to have daily snapshots as well as RC builds all the time. That's good

Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
On 2001-05-02 14:51:53, Jani Taskinen [EMAIL PROTECTED] wrote: That COM problem is Win32 specific. And as Microsoft in it's great wisdom has decided not to include any compilers in their OSs, the lack of binary builds for RCs kinda makes it a bit hard for those who would like to to test to

Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
On 2001-05-02 15:43:57, Andi Gutmans [EMAIL PROTECTED] wrote: At 03:38 PM 5/2/2001 +0100, Wez Furlong wrote: Seriously though, win32 is particular hard to do automated testing. Maybe we could use cygwin for running the test-suite under win32 and at least be able to use standard *nix tools

Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
Wez Furlong [EMAIL PROTECTED] 05/02/01 12:02PM get bash, sed, perl, awk and all those unix tools. I'm suggesting that perhaps the test suite could be run using those tools on a win32 platform. On 2001-05-02 18:09:07, Matt White [EMAIL PROTECTED] wrote: Is there another test suite other

[PHP-DEV] fork() ?

2001-05-03 Thread Wez Furlong
Hi All, For the project that I am currently working on, I have a number of pages that need to initiate some lengthy processing that would (ideally) be carried out in the background while allowing the site user to carry on with other page views. A fork() call would be ideal for this purpose.

Re: [PHP-DEV] 4.1 Declaration Case Persistance

2001-05-03 Thread Wez Furlong
| John Donagher [EMAIL PROTECTED] Right now, when a class (or method, or function) is declared, its name is zend_str_tolower()'d. it would be nice if the original casing on the class name was persisted so that functions like get_class would return the actual *as-declared* class name. +1

Re: [PHP-DEV] 4.1 Declaration Case Persistance

2001-05-03 Thread Wez Furlong
On 2001-05-03 22:51:41, Wez Furlong [EMAIL PROTECTED] wrote: | John Donagher [EMAIL PROTECTED] Right now, when a class (or method, or function) is declared, its name is zend_str_tolower()'d. it would be nice if the original casing on the class name was persisted so that functions like

[PHP-DEV] mailparse extension

2001-05-03 Thread Wez Furlong
Hi All, I would like to put my mailparse (As seen on zend.com weekly summary) extension into CVS; shall I just check it into php4/ext? wc *.c *.h README *.m4 *.in 8052374 21660 mailparse.c 11913096 25926 rfc2045.c 78 2171578 rfc2045_base64encode.c 129

Re: [PHP-DEV] 4.1 Declaration Case Persistance

2001-05-03 Thread Wez Furlong
On 2001-05-03 22:53:49, Andrei Zmievski [EMAIL PROTECTED] wrote: On Thu, 03 May 2001, Wez Furlong wrote: OK, so +1 to get_declared_class() which returns the class name with Umm, that sounds kind of arbitrary. There could be an optional parameter to get_class(), get_parent_class(), and others

Re: [PHP-DEV] mailparse extension

2001-05-04 Thread Wez Furlong
On 2001-05-04 06:07:14, Chuck Hagenbuch [EMAIL PROTECTED] wrote: Quoting Wez Furlong [EMAIL PROTECTED]: I would like to put my mailparse (As seen on zend.com weekly summary) extension into CVS; shall I just check it into php4/ext? I'd certainly be interested in it. Are there any

Re: [PHP-DEV] mailparse extension

2001-05-04 Thread Wez Furlong
On 2001-05-04 06:07:14, Chuck Hagenbuch [EMAIL PROTECTED] wrote: Quoting Wez Furlong [EMAIL PROTECTED]: I would like to put my mailparse (As seen on zend.com weekly summary) extension into CVS; shall I just check it into php4/ext? I'd certainly be interested in it. Are there any

Re: [PHP-DEV] mailparse extension

2001-05-04 Thread Wez Furlong
On 2001-05-04 10:03:00, Hartmut Holzgraefe [EMAIL PROTECTED] wrote: Wez Furlong wrote: So, it'll be more of an internal dependency... oops, we are going to have internal extension dependencies beside those to ext/standard? I can see where you are heading. i think we should find

Re: [PHP-DEV] Classes function names

2001-05-04 Thread Wez Furlong
On 2001-05-04 11:29:23, Zeev Suraski [EMAIL PROTECTED] wrote: IMHO, in a compatibility breaking upgrade, we should look into defaulting to case sensitivity, while allowing case insensitivity as a non-default option. +1. Stig suggested making it case-insensitive by default until 4.2; I think

Re: [PHP-DEV] Classes function names

2001-05-04 Thread Wez Furlong
On 2001-05-04 14:45:48, Wez Furlong [EMAIL PROTECTED] wrote: that has a higher WTF factor than making it case sensitive in 4.1 4.0 I mean. --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 17:59:03, Stig Venaas [EMAIL PROTECTED] wrote: This sounds good, please have a look at bug report 10665 by [EMAIL PROTECTED], he has implemented RSA encryption, and [EMAIL PROTECTED] followed up on that. It would be good if you and Sascha Kettler could agree on how the API

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 17:59:03, Stig Venaas [EMAIL PROTECTED] wrote: followed up on that. It would be good if you and Sascha Kettler could agree on how the API should be How about: openssl_key_encrypt( string data, // to encrypt string crypted, // encrypted result mixed key, // key to use

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 19:05:05, spencer 'sporty' portee [EMAIL PROTECTED] wrote: On Fri, May 04, 2001 at 07:22:03PM +0200, Sascha Kettler wrote: You won't need to pass the algorithm by an arg, as the key already contains the algorithm identification (pkey-type). I haven't used any DSA encryption

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 18:22:03, Sascha Kettler [EMAIL PROTECTED] wrote: You won't need to pass the algorithm by an arg, as the key already contains the algorithm identification (pkey-type). I haven't used any DSA encryption yet, but maybe you can just add the code to the switch statements. Yes, I've

Re: [PHP-DEV] 4.1 Declaration Case Persistance

2001-05-04 Thread Wez Furlong
On 2001-05-04 20:01:42, Colin Viebrock [EMAIL PROTECTED] wrote: One problem with case sensitivity (perhaps) is that it may make some scripts non-portable. Say I develop a super-duper PEAR class using case-sensitive code (cause that's what I have on my server). Someone who is running PHP in

Re: [PHP-DEV] Zend API changes

2001-05-04 Thread Wez Furlong
On 2001-05-04 19:59:23, Andrei Zmievski [EMAIL PROTECTED] wrote: On Fri, 04 May 2001, Sterling Hughes wrote: Well maybe not manpage style. I think there should be some Javadoc-like comments in the Zend source, the same way the apache portable runtime is I remember the Amiga coding

Re: [PHP-DEV] 4.1 Declaration Case Persistance

2001-05-04 Thread Wez Furlong
Sterling Hughes [EMAIL PROTECTED] wrote: On Fri, 4 May 2001, Chuck Hagenbuch wrote: That's a problem with it being an option, yes. I'd vote for just making php case sensitive, period. +1 for that! :) +1 --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail:

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 20:47:25, Stig Venaas [EMAIL PROTECTED] wrote: Even though it is 4 functions, I think users will find it easier to work with functions called openssl_public_encrypt, openssl_private_decrypt etc. It also separates them from possible symmetric enryption later on. So are we

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 20:21:28, Sascha Kettler [EMAIL PROTECTED] wrote: Sounds ok, although I wouldn't call it openssl_key_* but openssl_asym_* similar. Yeah, that sounds better. I don't know what people would prefer: Separate functions or a boolean. What's the general opinion on that? IMHO,

Re: [PHP-DEV] PHP 4.0 Bug #10665 Updated: Requesting additional functions in OpenSSL module (working patch available)

2001-05-05 Thread Wez Furlong
On 2001-05-05 09:00:54, [EMAIL PROTECTED] wrote: PS: It is possible to add my name to CREDITS (not required, but would be nice) or would that be cheeky? :-) I don't know what the rules are for that, and I'm not sure if I'm listed either... I put your name at the top of the source file though

[PHP-DEV] Re: yet another mailparse extension

2001-05-05 Thread Wez Furlong
On 2001-05-05 10:14:06, Jade Nicoletti [EMAIL PROTECTED] wrote: About a year ago, I've written a parser too. ... May the php developer community make the best of it! http://nns.ch/ext_msg_a2629.tar.gz (~ 13kB) Thanks - I'll take a look an try to integrate it into my extension. --Wez.

[PHP-DEV] credits

2001-05-05 Thread Wez Furlong
On 2001-05-05 12:08:53, Wez Furlong [EMAIL PROTECTED] wrote: On 2001-05-05 09:00:54, [EMAIL PROTECTED] wrote: PS: It is possible to add my name to CREDITS (not required, but would be nice) or would that be cheeky? I've added your name to ext/openssl/CREDITS. Actually while doing this, I've

Re: [PHP-DEV] Branching 4.0.6...

2001-05-05 Thread Wez Furlong
On 2001-05-05 19:02:29, Andi Gutmans [EMAIL PROTECTED] wrote: Hi, Now that the pressing problems have been fixed in the CVS I'd like to branch 4.0.6 and release an RC1. Any objections? No, but you may want to check that my commit for fsock/network related files works for you all before

Re: [PHP-DEV] Branching 4.0.6...

2001-05-05 Thread Wez Furlong
On 2001-05-05 20:02:29, Wez Furlong [EMAIL PROTECTED] wrote: On 2001-05-05 19:02:29, Andi Gutmans [EMAIL PROTECTED] wrote: Hi, Now that the pressing problems have been fixed in the CVS I'd like to branch 4.0.6 and release an RC1. Any objections? No, but you may want to check

RE: [PHP-DEV] Branching 4.0.6... (mailer problems)

2001-05-05 Thread Wez Furlong
Sorry for the spamming. --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time

2001-05-05 Thread Wez Furlong
On 2001-05-05 23:06:09, Rasmus Lerdorf [EMAIL PROTECTED] wrote: Andrei, you made the change from: gmadjust = -(is_dst ? altzone : timezone + (timezone - altzone)); to: gmadjust = -(is_dst ? timezone - 3600 : timezone + 3600); These don't look logically equivalent to me. Can you CC

[PHP-DEV] Curious problem with sessions over prolonged periods

2001-05-05 Thread Wez Furlong
Hi, I've just managed to pin down a strange intermittent bug that I thought was due to some peculiarity in my php application. It's actually a problem with sessions. I have this code: if (!session_is_registered(profile)) { $profile = array(); $profile_times = array(); $datacache =

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h /main network.c php_network.h php_streams.h streams.c

2001-05-05 Thread Wez Furlong
On 2001-05-05 20:30:25, Andi Gutmans [EMAIL PROTECTED] wrote: Your patch has broken my build. On Linux doing a simple ./configure ; make dies with: /home/andi/php-cvs/main/network.c: In function `php_hostconnect': /home/andi/php-cvs/main/network.c:274: storage size of `timeoutval' isn't known

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h /main network.c php_network.h php_streams.h streams.c

2001-05-05 Thread Wez Furlong
the RC1 tag. Andi At 06:36 PM 5/5/2001 +, Wez Furlong wrote: wez Sat May 5 11:36:24 2001 EDT Modified files: /php4/main streams.c php_streams.h network.c php_network.h /php4/ext/standard fsock.h fsock.c Log: Nuke buffering from php_streams, move

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h /main network.cphp_network.h php_streams.h streams.c

2001-05-06 Thread Wez Furlong
On 2001-05-06 07:07:54, Sebastian Bergmann [EMAIL PROTECTED] wrote: Wez Furlong wrote: Fixed and on the PHP_4_0_6 branch. fsock.c D:\Programme\MS Visual Studio\Projekte\php\php4\ext\standard\fsock.c(431) : erro r C2065: 'FD_SETSIZE' : undeclared varaible Thats the PHP_WIN32 stuff; fixed

Re: [PHP-DEV] extension/module versioning

2001-05-06 Thread Wez Furlong
On 2001-05-06 02:06:42, [EMAIL PROTECTED] wrote: what are the chances of having a function call for every extension that returns the version? this would be extremely useful for determining whether the correct version is installed, rather than checking to see if the function_exists().

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Branching 4.0.6...

2001-05-06 Thread Wez Furlong
On 2001-05-06 12:04:32, Sascha Schumann [EMAIL PROTECTED] wrote: The GD config stuff is also still busted. On www.php.net, the config system detected GIF support in GD-1.8.3.. How can that be? The gif stuff is detected via AC_CHECK_LIB (I didn't touch that part!) --Wez. -- PHP

[PHP-DEV] tracking down segfaults

2001-05-06 Thread Wez Furlong
I don't suppose any of you guys have a magic way of tracking down rare segfaults in apache? Occaisonally I get a seg fault in apache, but I can't pin down the precise circumstances. What would be nice is a way to automatically generate a backtrace during a segfault. Also, it would be great if

[PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 00:26:02, Zeev Suraski [EMAIL PROTECTED] wrote: At 02:16 7/5/2001, Wez Furlong wrote: Should I create a patch that enables the parameter? Probably... Are you sure you can't use mysql_unbuffered_query(), though? If you're really used to supplying the database argument, you can

Re: [PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 11:07:14, Jani Taskinen [EMAIL PROTECTED] wrote: Second question is: What is the use of mysql_query() function anymore then? Why not just exchange mysql_query() with mysql_unbuffered_query()? You didn't say anything about any disadvantages on using it. :) The disadvantage is

Re: [PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 11:54:45, Zeev Suraski [EMAIL PROTECTED] wrote: At 13:51 7/5/2001, Wez Furlong wrote: The disadvantage is that you have to retrieve all the rows before you can issue further SQL on that connection. Zeev, Does the extension take care of this case, or does it just return

Re: [PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 12:22:13, Zeev Suraski [EMAIL PROTECTED] wrote: It's going to be a bit complex to explain why I didn't want this patch, but I'll give it a try :) It's OK, I understand. I just wish that you had said this before I comitted the patch ;-) First off, my personal preference was

Re: [PHP-DEV] bonsai.php.net down, no one cares?

2001-05-08 Thread Wez Furlong
On 2001-05-07 17:28:16, Andrei Zmievski [EMAIL PROTECTED] wrote: The MySQL server on the machine died. I've restarted it and it's now rebuilding the entire check-in history to make sure it's complete. I know this isn't entirely relevant to PHP, but I thought it might help... I've found an

[PHP-DEV] unbuffered mysql_db_query for 4.0.6?

2001-05-09 Thread Wez Furlong
Hi All, Since Andi wants to RC1 4.0.6, I would like to know if you have an opinion about my recent patch for mysql_db_query() which allows you request an unbuffered rowset. Zeev suggested that using a different combination of function calls would be more optimal, and now that I have done some

Re: [PHP-DEV] Fork() in php?

2001-05-11 Thread Wez Furlong
On 2001-05-11 16:10:00, Jason Greene [EMAIL PROTECTED] wrote: What do you guys think about having fork, waitpid, and signal handling available in php? I wrote a few simple fork test functions, and everything seemed to work fine. I am thinking that with sockets, shm, signals, and fork

[PHP-DEV] zval_copy_ctor

2001-05-11 Thread Wez Furlong
Hi, In my mailparse extension I am building up an array to contain the headers while parsing the message. The array is held in a zval in the internal C structure, one for each message part. When the user space code requests info for a particular message part it is returned as an assoc. array.

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
On 2001-05-12 04:29:19, Jason Greene [EMAIL PROTECTED] wrote: zval_copy_ctor used on an array makes a reference copy of the array. Basically, it just copies all the data items in the hashtable and then adds one to the reference count for all data items. Looking at the code, it appears to

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
On 2001-05-12 10:12:14, Andi Gutmans [EMAIL PROTECTED] wrote: The code is almost OK. The only problem is that the reference count and is_ref from rfcbuf-headers are also copied to *headers. So what you should be doing (if you only add it once to the return_value) is to do

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
Hi, I would like to see an add_assoc_zval() macro to complement the other add_ functions. Just thought that I would throw that in while there are a couple of threads in the Zend API... :-) --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Latest CVS on Linux

2001-05-12 Thread Wez Furlong
On 2001-05-12 12:10:57, Sebastian Bergmann [EMAIL PROTECTED] wrote: Hello there, yesterday I upgraded my SuSE 7.1 Linux box to libtool-1.4. I I'm using SuSE 7.0 and I had a similar problem. On my first run, I let libtool go into /usr/local (the default). After the warnings, I decided

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
On 2001-05-12 13:45:25, Andi Gutmans [EMAIL PROTECTED] wrote: At 11:50 AM 5/12/2001 +0100, Wez Furlong wrote: I would like to see an add_assoc_zval() macro to complement There is an add_assoc_zval() function. Doh! I wonder why I didn't see it before... --Wez. -- PHP Development Mailing

Re: [PHP-DEV] Bug #10832: memory overruns in php_rshutdown_session_globals

2001-05-12 Thread Wez Furlong
On 2001-05-12 21:40:14, Sascha Schumann [EMAIL PROTECTED] wrote: On 12 May 2001 [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: SuSE 7.0 i386 PHP version: 4.0 Latest CVS (2001-05-12) PHP Bug Type: *Session related Bug description: memory

[PHP-DEV] streams support for interbase

2001-05-12 Thread Wez Furlong
Hi, Could someone with interbase test this patch that provides streams support? I would like to know the outcome of doing a regular compile (with no streams support) and a compile with --enable-php-streams before I commit. I'm just being overly cautious... --Wez. Index:

Re: [PHP-DEV] call_user_*()

2001-05-13 Thread Wez Furlong
On 2001-05-13 06:36:33, Sterling Hughes [EMAIL PROTECTED] wrote: Stefan Livieratos wrote: Well, I thought that the function call_user_func_array() is supposed to be called this way. What good is it anyway? I suggest 'call_user_func_array' should be removed as it is not needed and also

Re: [PHP-DEV] GD 2 support planned?

2001-05-13 Thread Wez Furlong
On 2001-05-14 01:04:24, Al Maw [EMAIL PROTECTED] wrote: This doesn't strike me as a particularly difficult job, and would be most beneficial as it has much better support for truecolour images and handles resampling. Is anyone working on this? I implemented this a couple of weeks ago in CVS.

Re: [PHP-DEV] sockets extension

2001-05-16 Thread Wez Furlong
disclaimerI don't appear to have seen/received the rest of this thread, so please pardon any mistakes in advance.../disclaimer On 2001-05-16 20:49:30, Andi Gutmans [EMAIL PROTECTED] wrote: Would it make sense to try to integrate the new php_streams into this extension? It might give

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-18 Thread Wez Furlong
On 2001-05-18 05:43:50, Rasmus Lerdorf [EMAIL PROTECTED] wrote: Obviously the mmap will be faster, but if as in bug #10701, someone is Ignore my last post regarding this bug... --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP-DEV] Bug #10701 Updated: readfile usage on large files

2001-05-18 Thread Wez Furlong
On 2001-05-18 05:28:19, [EMAIL PROTECTED] wrote: ID: 10701 Status: Closed But a hint. Don't use readfile(), fopen() the file and read it a bit at a time instead of sticking the entire thing in memory. Does readfile() really read the whole thing into memory first?? Perhaps we should change

[PHP-DEV] mailparse extension

2001-05-20 Thread Wez Furlong
SGksDQoNCkkndmUgY29tbWl0dGVkIG15IG1haWxwYXJzZSBleHRlbnNpb247IEkgaG9wZSB0aGF0 cyBPSy4NCkkgZGlkbid0IGdldCBhbnkgbmVnYXRpdmUgZmVlZGJhY2sgYWJvdXQgY29tbWl0dGlu ZyBpdCB3aGVuIEkgYXNrZWQgYQpjb3VwbGUgb2Ygd2Vla3MgYWdvLCBzbyBJIHRob3VnaHQgaXQg d291bGQgYmUgT0suDQoNCi0tV2V6Lg== -- PHP Development Mailing

RE: [PHP-DEV] mailparse extension

2001-05-20 Thread Wez Furlong
Ooops. That says something along the lines of: I have commited my mailparse extension since there was no negative feedback when I asked about doing it a couple of weeks ago. --Wez. SGksDQoNCkkndmUgY29tbWl0dGVkIG15IG1haWxwYXJzZSBleHRlbnNpb247IEkgaG 9wZSB0aGF0

RE: [PHP-DEV] mailparse extension

2001-05-20 Thread Wez Furlong
On 2001-05-20 16:20:03, Andi Gutmans [EMAIL PROTECTED] wrote: At 12:28 PM 5/20/2001 +0100, Wez Furlong wrote: SGksDQoNCkkndmUgY29tbWl0dGVkIG15IG1haWxwYXJzZSBleHRlbnNpb247IEkgaG Was that in chinese? :) Base64... :-) --Wez. -- PHP Development Mailing List http://www.php.net

[PHP-DEV] htmlentities and locales

2001-05-21 Thread Wez Furlong
Hey, I've started to work on making htmlentities aware of different charsets. Now, the question is, how do we let it know which charset to use? There is a comment in ext/standard/html.c that says it would be wise to use the LC_CTYPE setting but the problem is that there is no easy way to

  1   2   3   4   5   6   >