[PHP-DEV] PHP 4.0 Bug #8639 Updated: fopen always return true in some case

2001-01-10 Thread venaas
ID: 8639 Updated by: venaas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Unknown/Other Function Assigned To: venaas Comments: The problem could be that fopen() currently doesn't support HTTP redirects. Could you try to do var_dump($http_response_header

[PHP-DEV] PHP 4.0 Bug #8639 Updated: fopen always return true in some case

2001-01-14 Thread venaas
ID: 8639 Updated by: venaas Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Feedback Bug Type: Unknown/Other Function Assigned To: venaas Comments: I've made some changes, fixed a bug and added more detailed error reporting. Could you try the latest code, either from CVS

[PHP-DEV] PHP 4.0 Bug #9219 Updated: Typecasting in array_diff/intersect

2001-02-11 Thread venaas
ID: 9219 Updated by: venaas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Arrays related Assigned To: Comments: Fixed in CVS Previous Comments: --- [2001-02-11 18:16:49] [EMAIL PROTECTED] I do

[PHP-DEV] PHP 4.0 Bug #9351 Updated: LDAP_SEARCH

2001-02-20 Thread venaas
ID: 9351 Updated by: venaas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: LDAP related Assigned To: venaas Comments: I think the problem might be that the LDAP server doesn't support it. Please try searching with ldapsearch command line utility and see

[PHP-DEV] PHP 4.0 Bug #9642 Updated: Failure at configure stage when linking with curl that has ssl support

2001-03-08 Thread venaas
ID: 9642 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Problem Assigned To: Comments: We have the same problem when linking with other libraries with SSL. One way to get around it is to add the configure argument --with-openssl. Previous Comments

[PHP-DEV] PHP 4.0 Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-03-10 Thread venaas
ID: 8856 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Network related Assigned To: Comments: For at least some months, gethostbyname() in sockets.c has been replaced by gethostbyname() in ext/standard/dns.c which does memcpy(in.s_addr, *(hp-h_addr_list), sizeof

[PHP-DEV] PHP 4.0 Bug #9704 Updated: LDAP Referral problem

2001-03-12 Thread venaas
ID: 9704 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: LDAP related Assigned To: Comments: If you use the latest snapshot or the soon to be released 4.0.5 (or release candidate) and OpenLDAP 2.x.x API, you can tell it not to follow referrals, parse the referral

[PHP-DEV] Bug #11077 Updated: two new array functions

2001-05-24 Thread venaas
ID: 11077 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating system: PHP Version: 4.0.5 Assigned To: Comments: How about insert rather than double? It's more generic and double is simple if you have insert. Like this: ?php $test

[PHP-DEV] Bug #11873 Updated: Apache make error with module php4 and ldap

2001-07-09 Thread venaas
ID: 11873 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.0.6 New Comment: Which LDAP library are you using? Looks like your LDAP header files define LDAP_API_VERSION 2000

[PHP-DEV] Bug #11058 Updated: php_network_getaddresses: getaddrinfo failed

2001-07-22 Thread venaas
ID: 11058 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: HTTP related Operating System: OpenBSD 2.6 PHP Version: 4.0.5 New Comment: Could you try to comment out the line #define HAVE_GETADDRINFO 1 in main/php_config.h and rebuild without doing configure? Does it work

[PHP-DEV] Bug #11000 Updated: ftp_connect(...) produces ftpbuf 0 error

2001-07-22 Thread venaas
ID: 11000 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: FTP related Operating System: NT 4.0 PHP Version: 4.0.4pl1 New Comment: What happens I think, is that ftp_connect uses gethostbyname to look up the name, it's called with 127.0.0.1 if you specify

[PHP-DEV] Bug #11025 Updated: ftp_connect() does not work with IP address

2001-07-22 Thread venaas
ID: 11025 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: FTP related Operating System: Windows NT4 Server PHP Version: 4.0.5 New Comment: I think this is just like bug #11000. Could you test fopen with ftp or http as well? If that works for you I think I know how

[PHP-DEV] Bug #12367 Updated: array_diff don't work with array of array (it did with 4.0.4)

2001-07-25 Thread venaas
ID: 12367 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Arrays related Operating System: Linux Red hat 7.1 fr PHP Version: 4.0.6 New Comment: When I wrote array_diff I didn't think of this use. It worked by accident. array_diff was changed to avoid some ordering

[PHP-DEV] Bug #12372 Updated: LDAP calls within a function fail

2001-07-25 Thread venaas
ID: 12372 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: LDAP related Operating System: RedHat 7.0 PHP Version: 4.0.6 New Comment: Are you sure the problem isn't simply that you do $ds = ldap_connet outside the function, and are not passing

[PHP-DEV] Bug #13169 Updated: Problem with array_diff()

2001-09-13 Thread venaas
ID: 13169 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Arrays related Operating System: Debian PHP Version: 4.0.6 New Comment: The problem is that array_diff() doesn't work with array of arrays any more. File it as a feature request if you really

[PHP-DEV] Bug #13278 Updated: enhancement for ldap_start_tls function

2001-09-16 Thread venaas
ID: 13278 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: LDAP related Operating System: Solaris 7 PHP Version: 4.0.6 Old Assigned To: Assigned To: venaas New Comment: We need the function, but we can't force v3, and we can't use ldap_init

[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-26 Thread venaas
ID: 13443 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: PHP uses the resolver library(ies) installed on your system, just as the other software installed. It is possible that you

[PHP-DEV] Bug #12738 Updated: Slow Response on Connecting to LDAP srvr

2001-10-20 Thread venaas
ID: 12738 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: LDAP related Operating System: Winnt 4.0 PHP Version: 4.0.6 New Comment: My best guess is DNS. Can you try with some other LDAP tool? It could be the server trying to lookup the reverse

[PHP-DEV] Bug #12740 Updated: LDAP modify functions do not handle special characters

2001-11-12 Thread venaas
ID: 12740 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: LDAP related Operating System: Linux RH 7.1 PHP Version: 4.0.5 New Comment: The problem turned out to be that the syntax for the attribute was IA5, thus not allowing non-ASCII. We should

[PHP-DEV] Bug #8714 Updated: Adding LDAP entries drops credentials if update is referred

2001-11-12 Thread venaas
ID: 8714 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: LDAP related Operating System: Linux 2.2.18 PHP Version: 4.0.4pl1 New Comment: This is correct behavior. It is done in the LDAP library, it's not something PHP can fix. There are however two

[PHP-DEV] Bug #12231 Updated: about ldap_get_values_len

2001-11-12 Thread venaas
ID: 12231 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: LDAP related Operating System: redhat7.0 PHP Version: 4.0.6 New Comment: This is precisely why ldap_get_values_len() exists. I use the following code to extract pictures: ds=ldap_connect

[PHP-DEV] Bug #11389 Updated: array_walk causes Apache to crash

2001-11-12 Thread venaas
ID: 11389 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: Arrays related Operating System: W98 PHP Version: 4.0.6 New Comment: Yes, what happens is that array_walk tries to move forward to the next element by calling zend_hash_move_forward_ex() which determines

[PHP-DEV] Bug #14148 Updated: utf8_encode seems to return a not-null-terminated string

2001-11-20 Thread venaas
ID: 14148 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *XML functions Operating System: Solaris 2.7 PHP Version: 4.0.6 New Comment: You're right, this was fixed in CVS in July. You might try 4.1 when it is released, or get the RC from http://www.php.net/~zeev/php

[PHP-DEV] Bug #14148 Updated: utf8_encode seems to return a not-null-terminated string

2001-11-20 Thread venaas
ID: 14148 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *XML functions Operating System: Solaris 2.7 PHP Version: 4.0.6 New Comment: You're right, this was fixed in CVS in July. You might try 4.1 when it is released, or get the RC from http://www.php.net/~zeev/php

[PHP-DEV] Bug #14148 Updated: utf8_encode seems to return a not-null-terminated string

2001-11-20 Thread venaas
ID: 14148 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *XML functions Operating System: Solaris 2.7 PHP Version: 4.0.6 Previous Comments: [2001-11-20 11:41:12] [EMAIL

[PHP-DEV] Bug #3248 Updated: mail function putting wrong timezone info in message header?

2001-11-22 Thread venaas
ID: 3248 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Mail related Operating System: Windows NT PHP Version: 4.0 Beta 3 Assigned To: hholzgra New Comment: Not sure if it helps, but I have a nearly untested patch that computes the offset using the diff between

[PHP-DEV] Bug #6417 Updated: Incorrect behaviour with references and arrays

2001-11-22 Thread venaas
ID: 6417 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Scripting Engine problem Operating System: Linux RedHat 6.2 PHP Version: 4.0.6-dev New Comment: I would like to see this fixed, it's a serious bug IMO. Hope this serves as a reminder to someone

[PHP-DEV] Bug #9793 Updated: ldap_mod_add with bad params cause Segfault

2001-11-24 Thread venaas
ID: 9793 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: LDAP related Operating System: Linux PHP Version: 4.0.4pl1 New Comment: I'm pretty sure I've fixed this in CVS a couple of weeks or so ago, you are now required to use 0, 1, ... Please try

[PHP-DEV] Bug #9025 Updated: ldap compare functions

2001-11-24 Thread venaas
ID: 9025 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: any PHP Version: 4.0.4pl1 New Comment: The problem is not in PHP, PHP uses the standard LDAP compare operation and you have not given access

[PHP-DEV] Bug #14258 Updated: Date Timezone is not correct

2001-11-27 Thread venaas
ID: 14258 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Mail related Operating System: Window 2000 PHP Version: 4.0.6 New Comment: I'm not able to test on windows myself, but I've got some alternate code for computing the timezone in the mail() function if anyone

[PHP-DEV] Bug #14274 Updated: httpd process severely leaks memory for large LDAP queries

2001-11-29 Thread venaas
ID: 14274 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: LDAP related Operating System: Linux 7.2 PHP Version: 4.0.6 New Comment: CVS and 4.1.0 should be okay. Please test and reopen if I'm wrong Previous Comments

[PHP-DEV] Bug #14312 Updated: LDAP modifyTimestamp et al.

2001-12-02 Thread venaas
ID: 14312 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 New Comment: Works quite well for me, tested with OpenLDAP 2 libs, Linux, Apache and 4.0.6. In ldap_search you must specify

[PHP-DEV] Bug #13437 Updated: PHP cores on exit; memory deallocation problem?

2001-12-03 Thread venaas
ID: 13437 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Linux Solaris PHP Version: 4.1RC5 New Comment: I've seen this as well. The time limit you set is removed when the script finishes but before the memory is cleaned up. What I

[PHP-DEV] Bug #14618 Updated: Undefined Symbol: ldap_parse_reference

2001-12-23 Thread venaas
ID: 14618 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: LDAP related Operating System: Solaris 2.8 PHP Version: 4.1.0 Old Assigned To: Assigned To: venaas New Comment: Yes, this is certainly a SUN bug. LDAP_API_VERSION 2004 should mean version 4

[PHP-DEV] Bug #14355 Updated: ldap_connect works intermittantly

2001-12-23 Thread venaas
ID: 14355 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: LDAP related Operating System: Solaris 2.6 (SPARC) PHP Version: 4.0.6 New Comment: I'm sorry, I don't have any solutions for you. I guess no one else does either. First of all, have you

[PHP-DEV] Bug #14408 Updated: compiled failed for target ldap.lo

2001-12-23 Thread venaas
ID: 14408 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: LDAP related Operating System: Solaris 8 PHP Version: php4-200112040900 New Comment: Sorry, my fault. I added some rebind_proc code which is highly experimental. I thought my check would only

[PHP-DEV] Bug #14693 Updated: Problem with searchin single signed LDAP base name dc=something

2001-12-25 Thread venaas
ID: 14693 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: LDAP related Operating System: Sun Solaris 2.7 (32 bit) PHP Version: 4.1.0 New Comment: The problem has to do with continuation reference and which LDAP version you use. Most LDAP libs default

[PHP-DEV] Bug #14693 Updated: Problem with searchin single signed LDAP base name dc=something

2001-12-26 Thread venaas
ID: 14693 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: LDAP related Operating System: Sun Solaris 2.7 (32 bit) PHP Version: 4.1.0 New Comment: You are right, there is one problem with PHP's ldap_search(). This is a bit hard to explain, but when you

[PHP-DEV] Bug #14725 Updated: ldap_connect skips over SSL servers specifed in the form ldaps://hostname/

2001-12-27 Thread venaas
ID: 14725 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: LDAP related Operating System: SunOS 5.7 SPARC 106541-17 PHP Version: 4.0.6 New Comment: There are several ways to use ldap_connect(). With all LDAP APIs (I think), you should be able

[PHP-DEV] Bug #12223 Updated: ldap rebind procedure implementation

2001-12-29 Thread venaas
ID: 12223 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: LDAP related Operating System: any PHP Version: 4.0.6 Old Assigned To: Assigned To: venaas New Comment: There is now an experimental implementation. Please test it. It currently requires you

[PHP-DEV] Bug #14805 Updated: array_unique works opposed to the manual

2002-01-16 Thread venaas
ID: 14805 Updated by: venaas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Arrays related Operating System: MS Windows 98 PWS 4.0 PHP Version: 4.1.1 Old Assigned To: Assigned To: venaas New Comment: array_unique() uses qsort internally. Provided qsort doesn't

[PHP-DEV] Bug #15389 Updated: slow ldap connect

2002-02-07 Thread venaas
ID: 15389 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: LDAP related Operating System: w2k advanced server PHP Version: 4.1.1 New Comment: Have you tried to connect to the LDAP server with something

Re: [PHP-DEV] PHP4: php_module holds memory to long !

2001-01-10 Thread Stig Venaas
On Wed, Jan 10, 2001 at 09:23:43PM +0200, Stanislav Malyshev wrote: SS Thanks for the correction! I have never seen that in action SS though. Usually, the C library will keep freed memory in SS free lists and does not decrease the size of the data SS segment using sbrk.

Re: [PHP-DEV] Call to ldap_connect() returns always false

2001-01-10 Thread Stig Venaas
On Wed, Jan 10, 2001 at 04:51:51PM +0100, Uwe Steinmann wrote: Then I fired up gdb, set a breakpoint right before ldap_open() in php_if_ldap_connect() and run httpd with -X -f conf.file. Steping into ldap_open() didn't work, though openldap was compiled with --enable-debug. BTW, listing the

Re: [PHP-DEV] PHP 4.0 Bug #8714: Adding LDAP entries drops credentials if update is referred

2001-01-15 Thread Stig Venaas
On Mon, Jan 15, 2001 at 03:52:17PM -, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: Linux 2.2.18 PHP version: 4.0.4pl1 PHP Bug Type: *Directory Services problems Bug description: Adding LDAP entries drops credentials if update is referred We

Re: [PHP-DEV] Legal solution: RE: [PHP-DEV] Non-GPL readline

2001-01-15 Thread Stig Venaas
On Mon, Jan 15, 2001 at 11:16:14AM +0100, Ragnar Kjrstad wrote: On Mon, Jan 15, 2001 at 09:11:56AM -, Sam Liddicott wrote: If I were to write a proxy library which could integrate with various read-line style libraries - lets say just the GNU one for now to save time, and er...

Re: [PHP-DEV] PHP 4.0 Bug #8803 Updated: crazy implementation of printf/sprintf

2001-01-21 Thread Stig Venaas
On Fri, Jan 19, 2001 at 04:24:16PM +0100, Sascha Schumann wrote: Does %.2x work? If not, then it is indeed not in compliance with C99. 7.19.6 says: The comments in ext/standard/formatted_print.c says: * New sprintf implementation for PHP. * * Modifiers: * * " " pad integers

Re: [PHP-DEV] zval question

2001-01-24 Thread Stig Venaas
On Thu, Jan 25, 2001 at 02:20:42AM +0100, Harald Radi wrote: hi, i'm tricking around with the COM extension to fix the open bugs (and of course to satisfy my requirements). there are - if (pval_arg-is_ref == 0) { ... } else { ... } -

Re: [PHP-DEV] PHP 4.0 Bug #2183 Updated: OPENSSL.org

2001-02-10 Thread Stig Venaas
On Sat, Feb 10, 2001 at 06:42:41PM -, [EMAIL PROTECTED] wrote: ID: 2183 Updated by: jimw Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Assigned To: Comments: i guess an mhash/mcrypt-like openssl extensions is being requested. refiled against 4.0. I

[PHP-DEV] configure problems with latest snapshot

2001-02-13 Thread Stig Venaas
Hi When I try to configure latest snapshot without any arguments, it complains about no apxs and stops. Haven't got time to check what's going on now. Stig -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] PHP 4.0 Bug #9177 Updated: crypt problems with openssl

2001-02-15 Thread Stig Venaas
On Thu, Feb 15, 2001 at 04:35:43PM -, [EMAIL PROTECTED] wrote: ID: 9177 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Install and Config Assigned To: Comments: IIRC this is fixed already in CVS so please try the latest CVS snapshot

Re: [PHP-DEV] PHP 4.0 Bug #9177 Updated: crypt problems with openssl

2001-02-15 Thread Stig Venaas
On Thu, Feb 15, 2001 at 08:29:57PM +0100, Jani Taskinen wrote: On Thu, 15 Feb 2001, Stig Venaas wrote: Are you sure? I haven't seen any fix. Could someone tell me what was Oh? I remembered incorrectly then..I thought you were the one who fixed it.. :) I don't mind the credit (: Well, I

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-20 Thread Stig Venaas
On Tue, Feb 20, 2001 at 08:27:59AM -0600, Andrei Zmievski wrote: in_array() used to move the pointer to the entry found, but people complained about it so I remove it... :) And I thought it was neat, can't please everyone I guess (: There seems to be a general problem with array functions and

Re: [PHP-DEV] RE: PHP 4.0 Bug #9351 Updated: LDAP_SEARCH

2001-02-24 Thread Stig Venaas
On Wed, Feb 21, 2001 at 08:49:25AM +0800, nikony wrote: I have thought about that but as you know, it's now a fault of LDAP Server. I use open ldap and when i use command line: ldapsearch -p 999 -h localhost -b ... "(date =20010116)" it works! and even more: ldapsearch -p 999 -h localhost

Re: [PHP-DEV] SSL socket support

2001-02-26 Thread Stig Venaas
On Mon, Feb 26, 2001 at 01:31:05AM -, Wez Furlong wrote: 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. Great, I was wondering what happened, was considering doing

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

2001-02-26 Thread Stig Venaas
On Mon, Feb 26, 2001 at 11:39:51PM +, Wez Furlong wrote: When opening a socket there are 3 stages (and thus operations on the socket): 1. Create a socketd of appropriate domain/type/family (socket(2)) 2. resolve the address to connect to (domain specific) 3. make the connection

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

2001-02-28 Thread Stig Venaas
On Wed, Feb 28, 2001 at 05:12:55PM +, Wez Furlong wrote: I think what we need depends on how far we are willing to go to make the codebase nicer. Andi Gutmans suggested that it would be nice to nuke all the checks for sockets in the code; depending on how far we go towards that ideal, we

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

2001-02-28 Thread Stig Venaas
On Thu, Mar 01, 2001 at 07:14:18AM +0200, Andi Gutmans 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. Yes, I like it too, and it is something I've been halfway thinking of myself because of IPv6. Some of

Re: SV: [PHP-DEV] The new design

2001-03-08 Thread Stig Venaas
On Thu, Mar 08, 2001 at 07:17:42PM +0100, Bjrn Schotte wrote: * Jim Winstead wrote: the reason i don't mind seeing it gone from the main page is that i think having two search-like boxes on the same page that behave differently is confusing. Have a look at http://www.php-center.de/ - on

Re: [PHP-DEV] PHP 4.0 Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-03-11 Thread Stig Venaas
On Sun, Mar 11, 2001 at 10:28:00PM -0800, [EMAIL PROTECTED] wrote: For at least some months, gethostbyname() in sockets.c has been replaced by gethostbyname() in ext/standard/dns.c which does sockets.c in ext/sockets? That has been #if 0'd out ever since it was originally written in

Re: [PHP-DEV] PHP 4.0 Bug #9794: array_keys resets the array pointer and can not be used when looping

2001-03-16 Thread Stig Venaas
On Fri, Mar 16, 2001 at 11:21:39AM -0600, Andrei Zmievski wrote: On Fri, 16 Mar 2001, Daniel Beckham wrote: Awesome. Are you planning to just fix the array_keys function, or will there be a change as to how the array functions work with the array pointers? It'll be on a case-by-case

Re: [PHP-DEV] PHP 4.0 Bug #9808 Updated: crypt function not supported

2001-03-18 Thread Stig Venaas
On Sat, Mar 17, 2001 at 04:20:47PM -, [EMAIL PROTECTED] wrote: ID: 9808 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Description: crypt function not supported what other option to crypt function that would be compactable with windows system. If

Re: [PHP-DEV] documenting extensions

2001-04-02 Thread Stig Venaas
Hi 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 the manual, with some examples. There are some docs, see

Re: [PHP-DEV] documenting extensions

2001-04-02 Thread Stig Venaas
On Mon, Apr 02, 2001 at 02:07:27PM +0100, Wez Furlong wrote: 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 extensi

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

2001-04-17 Thread Stig Venaas
On Wed, Apr 18, 2001 at 12:22:47AM +0300, Zeev Suraski wrote: Cool - it looks very good! That's exactly what I meant in the 'something similar to C++'s virtual classes' :) It looks good, but it also looks like it doesn't solve my problem. Well I guess that's my problem not yours (: To do

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Stig Venaas
On Thu, Apr 26, 2001 at 11:42:24AM -0400, spencer 'sporty' portee wrote: As of late, the company I work for, Community Connect, needs to extend the openssl php module and might be able to release the source. It is for RSA encryption, but in my own interest, i would like to add on the other

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Stig Venaas
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 yet, but maybe you can just add the code to the switch statements. Ah yes, I

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Stig Venaas
On Fri, May 04, 2001 at 09:21:28PM +0200, Sascha Kettler wrote: 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

Re: [PHP-DEV] Dynamic Update of DNS ??

2001-05-07 Thread Stig Venaas
On Mon, May 07, 2001 at 06:54:53PM +0200, Vincen Pujol wrote: Hi, Sorry for the crossposting but I don't know where to find a solution for this. I need to be able to update dynamically entries in a DNS (Bind 9). My DNS supports dynamic updates but how to do dynamic

Re: [PHP-DEV] Dynamic Update of DNS ??

2001-05-08 Thread Stig Venaas
On Tue, May 08, 2001 at 08:35:37AM -0400, Stig Sæther Bakken wrote: [Stig Venaas [EMAIL PROTECTED]] the LDAP back-end, see http://www/dns/bind/bind-sdb/. If you look at ^^^ I guess this will take most people to somewhere else than they expect. :-) - Stig

Re: [PHP-DEV] Patch: provides SSL capability for sockets in PHP 4.0.1pl2

2001-05-11 Thread Stig Venaas
On Tue, Aug 22, 2000 at 02:42:43PM +0100, Wez Furlong wrote: To enable the code, you need to pass --with-ssl to configure; this will check for openssl using the same method in the snmp extension, but with a different macro name so it doesn't conflict. You may want to move the SSL check

Re: [PHP-DEV] Patch: provides SSL capability for sockets in PHP 4.0.1pl2

2001-05-11 Thread Stig Venaas
Oops, that mail was 9 months old, I thought it was strange that it was a patch for 4.0.1... Sorry, ignore this and my previous post. Stig -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP-DEV] LDAP V3 Server Side Sorting

2001-05-17 Thread Stig Venaas
On Wed, May 16, 2001 at 08:52:52AM -0700, David Giffin wrote: If we are to follow the Netscape API then we should have a ldap_search_ext() function which we can pass the results of the ldap_create_sort_control(), other server side and client side controls. We can then incorporate Virtual

Re: [PHP-DEV] Scripting Shootout - PHP ranked 24/29

2001-06-23 Thread Stig Venaas
On Sat, Jun 23, 2001 at 04:45:22PM +0200, Sascha Schumann wrote: On Sat, 23 Jun 2001, John Lim wrote: Thought you all might be interested in this benchmarking shootout: I've talked to the author of the benchmark a couple of weeks ago and he of course did not build PHP with

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-11 Thread Stig Venaas
On Tue, Jul 10, 2001 at 08:04:42PM +0200, Jeroen van Wolffelaar wrote: I've said it before, but I *really* am convinced now, that we should: - At least allow $str{index} (while _deprecating_ the array $str[ ] indices) - _possibly_ also allowing $str{start..end} - and if the above is

Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-15 Thread Stig Venaas
On Sun, Jul 15, 2001 at 01:13:04AM +0200, Cynic wrote: As for the Andre's suggestions, I like Python's ranges in both lists and strings (they use colon instead of two dots). I some details of it unintuitive, but don't remember what it was exactly as it's been some time since I touched

Re: [PHP-DEV] Help on LDAP and PHP4

2001-07-15 Thread Stig Venaas
On Sun, Jul 15, 2001 at 05:17:40PM -0500, osman.bayona wrote: Hi... I have this issue that is killing me. I installed PHP 4.0.4 with Solaris 8 and Apache. I want to use LDAP connecting to a server in the net (not the same server where i'm working on) And i configure PHP with: configure

Re: [PHP-DEV] Bug #6778 Updated: fsockopen: timeout does not work when nameserver unreachable

2001-07-22 Thread Stig Venaas
I don't think we do this anywhere. I've thought of doing it, but I'm not at all sure what's the best way. Ideas anyone? Ideally it should be possible to specify the resolvers timeout but I haven't seen any good ways. Only other solutions I can think of are rather ugly using threads or maybe

Re: [PHP-DEV] cvs socket extension

2001-07-23 Thread Stig Venaas
On Mon, Jul 23, 2001 at 11:57:44PM +0200, Markus Fischer wrote: On Mon, Jul 23, 2001 at 11:15:49PM +0200, Stig Venaas wrote : Chris mentioned something that its not needed to restore the last highest value for the max_fd if you drop the current highest one. I agree, it would only

Re: [PHP-DEV] cvs socket extension

2001-07-24 Thread Stig Venaas
On Tue, Jul 24, 2001 at 05:16:05AM +0200, Markus Fischer wrote: Great :-) So we're seeing this getting implemented soon ? Volunteers, anyone ? :-)) Is this select stuff so brand new that it's okay to change the API? If it is, we should do it quickly before too many people get to play with

Re: [PHP-DEV] gethostbyaddr, IPv6 mapped IPv4 and native IPv6 addresses

2001-09-19 Thread Stig Venaas
Hi On Tue, Sep 18, 2001 at 06:28:08PM +0200, Matthias Wimmer wrote: Hi! I just noticed that the php function gethostbyaddr is not able to lookup IPv6 mapped IPv4 or native IPv6 addresses. Because I get such addresses from the apache 1.3.19 when it is patched with the KAME IPv6 patch

Re: [PHP-DEV] RC3

2001-09-19 Thread Stig Venaas
=ldap_search($ds,dc=venaas,dc=no, relativeDomainname=www); ldap_first_entry($ds, $sr); I just made the following change in ldap.c (1.96) - le_result_entry = zend_register_list_destructors_ex(_free_ldap_result, NULL, ldap result entry, module_number); + le_result_entry

Re: [PHP-DEV] RC3

2001-09-24 Thread Stig Venaas
On Wed, Sep 19, 2001 at 10:05:24PM +0200, Stig Venaas wrote: On Tue, Sep 18, 2001 at 06:13:54PM +0300, Zeev Suraski wrote: Does anybody still have anything pending for RC3? There seems to be a serious LDAP bug. For instance the following simple script crashes (you should be able to test

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

2001-09-25 Thread Stig Venaas
On Mon, Sep 24, 2001 at 10:40:04PM +0200, Zeev Suraski wrote: If it's a bug fix you believe to be important and the chances, in your opinion, of it screwing things up more than it fixes are slim, go ahead and commit it... Maybe I've already done what's needed, I'm not quite sure how this

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false when hostname not resolved

2001-09-25 Thread Stig Venaas
On Wed, Sep 26, 2001 at 01:17:55AM +0200, Markus Fischer wrote: On Tue, Sep 25, 2001 at 01:56:28PM -0700, Jim Winstead wrote : here's a patch to fix bug #13423. think anyone is relying on the current (vastly lame, imho) behavior? Because this was the behaviour for a long time now its

[PHP-DEV] Apache 2.0.18 API does not match sapi_apache2.c code

2001-09-30 Thread Stig Venaas
In Apache 2.0.18 alpha released on June 13, I find apache2/include/util_filter.h with ap_save_brigade() defined with only 3 parameters while we increased it from 3 to 4 on June 23. ap_get_brigade() was changed from 3 to 4 parameters in Apache earlier on, so I guess our change might be for Apache

Re: [PHP-DEV] RC3

2001-10-03 Thread Stig Venaas
On Thu, Oct 04, 2001 at 02:04:27AM +0200, Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz I see that my LDAP fix didn't make it. Can someone please explain how this works? I can't see any tags for ldap.c since May but ldap.c in RC3 is 1.94, I would like 1.96 to be

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

2001-10-04 Thread Stig Venaas
On Wed, Oct 03, 2001 at 11:24:08PM -0700, Rasmus Lerdorf wrote: Ok, I have merged it and tested it on one of my servers. Didn't break Thanks. Now I see your commit and the 4.0.7 branch, maybe I made some silly mistake or the cvsweb page for ldap.c was cached or something. anything. But

[PHP-DEV] making mail() funtion work without sendmail on UNIX systems

2001-10-18 Thread Stig Venaas
Hi I have a patch ready for this. I, and also some others I know, would like to send mail from PHP without help of sendmail or other external programs on UNIX, similar to what is done on windows. I have made a patch that makes the sendmail.c for windows, also work with unix, with relatively

Re: [PHP-DEV] making mail() funtion work without sendmail on UNIX systems

2001-10-19 Thread Stig Venaas
On Fri, Oct 19, 2001 at 09:24:51AM +0200, Hartmut Holzgraefe wrote: Stig Venaas wrote: well, the current SMTP implementation in win/sendmail.c is, lets say, at least suboptimal it misses a lot of requirements from the RFCs (821/822 or the newer 2821/2822), e.g. case insensitive headers

Re: [PHP-DEV] RE: Bug #12740 Updated: LDAP modify functions do not handle special characters

2001-11-09 Thread Stig Venaas
On Thu, Nov 08, 2001 at 08:30:39PM +0100, Christian Chateauvieux wrote: No, it still does not fix my problem. I don't know if I am missing the point but I don't see how my locale settings could help. Your code looks okay, but I don't trust it 100%, could you please do something like:

[PHP-DEV] LDAP module globals

2001-11-10 Thread Stig Venaas
Currently the module has globals for default_link and base_dn. Neither are used AFAICS, any reason why I shouldn't remove them? Stig -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP-DEV] LDAP schema support

2001-11-20 Thread Stig Venaas
On Tue, Nov 20, 2001 at 07:01:08PM +0300, Kachalov Anton wrote: Good day hi 2 all! I want to know, will you (LDAP developers) add schema support into ldap module ? Maybe. I'm not quite sure what you are thinking of. Could you tell me what you have in mind? BTW I've started studying Russian

[PHP-DEV] bug report update submitted twice

2001-11-20 Thread Stig Venaas
I updated bug #14148. It was submitted twice (the 3rd was because I forgot to change status). When I submitted, I got an error from Mozilla that the post data was expired or something, and then I guess it posted the data another time. Not sure where the problem lies. Stig -- PHP Development

Re: [PHP-DEV] status of openssl fn in php 4.1

2001-11-24 Thread Stig Venaas
On Fri, Nov 23, 2001 at 10:19:17AM +0100, Pavol Cvengros wrote: Hi all. please I need to know the status (functionality) of openssl support in next version of php ( php-4.1 ??? ) (because I work on new free national CA) The following functions are implemented:

[PHP-DEV] maybe serious error in RC3 memory manager

2001-11-24 Thread Stig Venaas
Hi I don't know for sure yet, but wanted to warn you. I'm digging into this, but right now I have a script that runs for a long time after the last line in the script is executed, and then it segfaults with: bFatal error/b: Maximum execution time of 30 seconds exceeded in bUnknown/b on line

Re: [PHP-DEV] maybe serious error in RC3 memory manager

2001-11-24 Thread Stig Venaas
Bug #13437 seems to be the same problem. I think it might be solved like I said in my previous mail. Stig -- 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,

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Stig Venaas
On Tue, Nov 27, 2001 at 10:16:15PM +0200, Andi Gutmans wrote: It's not like I don't want to keep BC as much as possible for ZE2 too. Sure that for important stuff BC is less important but I don't see nested comments being very important to ppl. This is one of the only times it has come up

[PHP-DEV] ldap_first_attribute() and ldap_next_attribute() broken in 4.1.0 RCs

2001-11-30 Thread Stig Venaas
message from Stig Venaas [EMAIL PROTECTED] - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] From: Stig Venaas [EMAIL

Re: [PHP-DEV] ldap_first_attribute() and ldap_next_attribute() broken in 4.1.0 RCs

2001-12-01 Thread Stig Venaas
On Sat, Dec 01, 2001 at 06:18:14AM +0200, Zeev Suraski wrote: If it was broken for 6 months, it was broken in 4.0.6. It will be broken in 4.1.0, it's not grounds for breaking a final RC... No, it wasn't broken in 4.0.6. 4.0.6 was based on ldap.c 1.82 from February, this happened in 1.85 on

  1   2   >