Re: [PHP-DEV] Proposed Function: urlencode_array

2003-08-29 Thread Sara Golemon
> Can this not be done easily with array_walk? > Yes, though the primary purpose here is to have a method to create a form-encoded query string internally, exporting it to userspace is just a "why the heck not" side-effect. > I think this might also encourge people to use extremly long query > str

Re: [PHP-DEV] Shared module problems (core dumps) (under apache 1.3)

2003-08-29 Thread Zeev Suraski
At 19:49 29/08/2003, Andrey Hristov wrote: Yes, it serves me well now. However this is a way to workaround the problem. An the problem exists and I want to hear from core experts (the best will be if Zeev or Andi) tell their opinion. I am concerned about this problem. Internal classes were not all

Re: [PHP-DEV] compiling latest snapshot with iodbc

2003-08-29 Thread Dan Kalowsky
On Fri, 29 Aug 2003, John Huntjens wrote: > >From my iodbcinst.h: > > /* > * Function Prototypes > */ > > BOOL INSTAPI > SQLGetConfigMode ( > UWORD* pwConfigMode); > > Others are there too. Then your iODBC installtion is somehow not in sync. The functions in question are specific to iODBC

Re: [PHP-DEV] Shared module problems (core dumps) (under apache 1.3)

2003-08-29 Thread Robert Cummings
On Fri, 2003-08-29 at 13:18, Derick Rethans wrote: > On Fri, 29 Aug 2003, Robert Cummings wrote: > > > The extension_loaded() function might serve you better than > > class_exists(). > > Read his original mail agian, totally, and you'll see this: My apologies, I missed the "Ps" at the end of his

Re: [PHP-DEV] Shared module problems (core dumps) (under apache 1.3)

2003-08-29 Thread Derick Rethans
On Fri, 29 Aug 2003, Robert Cummings wrote: > The extension_loaded() function might serve you better than > class_exists(). Read his original mail agian, totally, and you'll see this: > > Yes, there is a workaround for my case : to check whether the module is > > loaded but not checking whether

Re: [PHP-DEV] compiling latest snapshot with iodbc

2003-08-29 Thread John Huntjens
> > /usr/local/odbc/lib/libiodbc.so: undefined reference to `SQLSetConfigMode' > > /usr/local/odbc/lib/libiodbc.so: undefined reference to `SQLGetConfigMode' > > /usr/local/odbc/lib/libiodbc.so: undefined reference to `SQLGetPrivateProfileString' > > collect2: ld returned 1 exit status > Both shou

Re: [PHP-DEV] Shared module problems (core dumps) (under apache 1.3)

2003-08-29 Thread Andrey Hristov
Yes, it serves me well now. However this is a way to workaround the problem. An the problem exists and I want to hear from core experts (the best will be if Zeev or Andi) tell their opinion. I am concerned about this problem. Cheers, Andrey - Original Message - From: "Robert Cummings" <[

Re: [PHP-DEV] Shared module problems (core dumps) (under apache 1.3)

2003-08-29 Thread Robert Cummings
The extension_loaded() function might serve you better than class_exists(). http://www.php.net/manual/en/function.extension-loaded.php Cheers, Rob. On Fri, 2003-08-29 at 09:17, Andrey Hristov wrote: > Hi, > till today I had a big problem with my Apache 1.3 segfaulting when I try to > insta

Re: [PHP-DEV] compiling latest snapshot with iodbc

2003-08-29 Thread Dan Kalowsky
Both should be defined in your iodbcinst.h file. Please check that. On Friday, August 29, 2003, at 11:22 AM, John Huntjens wrote: Latest snapshot with iodbc 3.51.0 i: configure: ./configure \ --prefix=/usr/local/php5 \ --sysconfdir=/etc/php \ --localstatedir=/var/log/php \ --with-co

[PHP-DEV] compiling latest snapshot with iodbc

2003-08-29 Thread John Huntjens
Latest snapshot with iodbc 3.51.0 i: configure: ./configure \ --prefix=/usr/local/php5 \ --sysconfdir=/etc/php \ --localstatedir=/var/log/php \ --with-config-file-path=/etc/php \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-zlib-dir=/usr/local/zlib \ --with-libxml-dir=/usr/local

[PHP-DEV] Servlet SAPI Module

2003-08-29 Thread Sebastian Bergmann
Hi, about two or three times a month I receive mails concering the Servlet SAPI module of PHP 4. This module is not usable in production since it segfaults after the first or second request. Are there any plans to rewrite this SAPI module for PHP 5? Thanks, Sebastian -- Sebastia

[PHP-DEV] Shared module problems (core dumps) (under apache 1.3)

2003-08-29 Thread Andrey Hristov
Hi, till today I had a big problem with my Apache 1.3 segfaulting when I try to instantiate from a class. The class is declared in a C extesion (named xml_parser.so, class name WebgateXMLParser). Few week after the implementation it worked well since I just loaded the extension with dl() : dl('xml

[PHP-DEV] chrooting virtual hosts in apache

2003-08-29 Thread Robin Ericsson
I'm sorry to mail this to internals, but I saw someone post a message about this a _long_ time ago, and I can't seem to find this in the archives. So, if someone knows anything about this, please direct me to the right thread in the archives :) br Robin -- PHP Internals - PHP Runtime Developm

Re: [PHP-DEV] implicit public peroperties

2003-08-29 Thread Zeev Suraski
Fixed! At 01:17 28/08/2003, Marcus Börger wrote: Hello internals, The following code: class a { protected $bla; } class b extends a { public function murks() { return $this->bla; } } $o = new b; print_r($o) ?> results in two properties which is wrong: b

Re: [PHP-DEV] Proposed Function: urlencode_array

2003-08-29 Thread Curt Zirzow
* Thus wrote Sara Golemon ([EMAIL PROTECTED]): > proto urlencode_array(array formdata [, string numeric_prefix]) > > Purpose: Generate a form encoded query string from an associative (or > indexed) array. Can this not be done easily with array_walk? I think this might also encourge people to u