[PHP-DEV] PHP 4.0 Bug #8928 Updated: xslt_process randomly fails on valid xml/xsl data (xslt_run works fine)

2001-02-12 Thread abravo
ID: 8928 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Sablotron XSL Description: xslt_process randomly fails on valid xml/xsl data (xslt_run works fine) It's probably just enough to remove from XSL data to make it working stable. Is it bug or feature ? Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #9234 Updated: Windows shares are not accessible

2001-02-12 Thread derick
ID: 9234 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Directory function related Assigned To: Comments: This is all ready known. It's on the todo list for now (and it was submitted earlier so marking it duplicate) Previous Comments: ---

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread Andi Gutmans
At 10:18 PM 2/12/2001 +0100, Emiliano wrote: >Sebastian Bergmann wrote: > > > > Emiliano wrote: > > > But PEAR is a repository for scripts written in PHP, right? > > > > PHP Extension and Add-On Repository. Extensions and Add-Ons, written in > > either PHP or C, are welcome :-) > >OK, my mistake

[PHP-DEV] CVS Account Request

2001-02-12 Thread CVS Account Request
Full name: Armand A. Verstappen Email: [EMAIL PROTECTED] ID: armand Purpose: Midgard Project -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTE

[PHP-DEV] Bug #9235: Core dump when execute phpinfo() function if PHP run as apache module

2001-02-12 Thread ishigaki-ml
From: [EMAIL PROTECTED] Operating system: FreeBSD 2.2.8-RELEASE / linux-2.2.17 PHP version: 3.0.17 PHP Bug Type: Reproduceable crash Bug description: Core dump when execute phpinfo() function if PHP run as apache module That's all. FreeBSD : exit signal Bus error (10) Linu

[PHP-DEV] On objects, sessions, and class definitions

2001-02-12 Thread Chris A. Henesy
Hey guys, My name is Chris and I am the project leader for a fairly large software project written in PHP (it's a groupware suite called Eridu, www.eridu.org) My team and I think PHP is a really cool language, and we couldn't have come this far this fast without it. We do have one parti

[PHP-DEV] PHP 4.0 Bug #9234: Windows shares are not accessible

2001-02-12 Thread c . just
From: [EMAIL PROTECTED] Operating system: Win32 PHP version: 4.0.4pl1 PHP Bug Type: Directory function related Bug description: Windows shares are not accessible Access to windows shares via the network used to be possible with php3.0.16. Now they just don't show up. ie A w

[PHP-DEV] PHP 4.0 Bug #9232 Updated: refresh not working

2001-02-12 Thread andre
ID: 9232 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Install and Config Assigned To: Comments: That´s most likely no bug and not nearly enough information. Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #9233: Unable to load extensions

2001-02-12 Thread valjok2000
From: [EMAIL PROTECTED] Operating system: windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: Unable to load extensions I am using IE5 + IIS5 + PHP4.exe (php4isap.dll have tried too). Some dlls that actually exist are reported as "PHP Warn

[PHP-DEV] PHP 4.0 Bug #9232: refresh not working

2001-02-12 Thread valjok2000
From: [EMAIL PROTECTED] Operating system: windows2000 PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: refresh not working I am using WIN2000 + IE5 + IIS5 + PHP4.exe (php4isap.dll have tried too). PHP page refresh on my browser does not work. It shows

Re: [PHP-DEV] Re: [INTERFACES] Re: PostgreSQL and PHP persistentconnections

2001-02-12 Thread Jouni Ahto
Any reasons there could't be either more statuses for a connection besides CONNECTION_BAD, CONNECTION_OK, or alternativetely, a new libpq function that could tell us READY_TO_RECEIVE_MORE_SQL_COMMANDS, PREVIOUS_TRANSACTION_ABORTED_UNTIL_..., etc. (Sorry that I'm shouting... I just write constant n

[PHP-DEV] PHP 4.0 Bug #8744 Updated: call to header() causes CGI error

2001-02-12 Thread phanto
ID: 8744 Updated by: phanto Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Assigned To: Comments: i have the same problem here. when i turn on the log startup errors flag in the php.ini i get the following output : __ CGI Error The specified CGI application m

[PHP-DEV] Changing implementation of get_meta_tags for 4.0.5

2001-02-12 Thread Sean R. Bright
Ladies/Gents: I recently applied a patch that fixes the multi-line get_meta_tags bug. A tag like this would fail: http://www.php.net/"> And here is what I propose we return to the user: $returnval[0]["name"] == NULL $returnval[0]["http-equiv"] == "refresh" $returnval[0]["content"]

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread Emiliano
Sebastian Bergmann wrote: > > Emiliano wrote: > > But PEAR is a repository for scripts written in PHP, right? > > PHP Extension and Add-On Repository. Extensions and Add-Ons, written in > either PHP or C, are welcome :-) OK, my mistake. So moving php4/ext/midgard to php4/pear/midgard would so

RE: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread James Moore
> > > With the PHP4 version of Midgard, patching is no longer a necessity. > > > It's an ordinary extension like the others. > > > > Perhaps it would be an idea to move it out of the main PHP CVS > (into another > > cvs module) for now and put links on php.net, personally I > would really like > >

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread Sebastian Bergmann
Emiliano wrote: > But PEAR is a repository for scripts written in PHP, right? PHP Extension and Add-On Repository. Extensions and Add-Ons, written in either PHP or C, are welcome :-) -- sebastian bergmann e-mail : [EMAIL PROTECTED] homepage :

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread Emiliano
James Moore wrote: > > With the PHP4 version of Midgard, patching is no longer a necessity. > > It's an ordinary extension like the others. > > Perhaps it would be an idea to move it out of the main PHP CVS (into another > cvs module) for now and put links on php.net, personally I would really l

RE: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread James Moore
> > At 22:11 12/2/2001, Rasmus Lerdorf wrote: > > >The idea here is that Midgard has a large installed base of > users, all of > > >whom have to run a modified version of PHP. The extension, > albeit rather > > >large at this point, is supposed to provide the basic > functionality in the > > >st

[PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread Emiliano
Zeev wrote: > At 22:11 12/2/2001, Rasmus Lerdorf wrote: > >The idea here is that Midgard has a large installed base of users, all of > >whom have to run a modified version of PHP. The extension, albeit rather > >large at this point, is supposed to provide the basic functionality in the > >standa

Re: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignoreChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.cconfig.m4 element.c event.c eventmember.c file.c fudge genen

2001-02-12 Thread Rasmus Lerdorf
> On Mon, Feb 12, 2001 at 12:14:34PM -0800, Rasmus Lerdorf wrote: > > I was surprised by the size myself. I met with the Midgard folks in > > Belgium and we discussed adding an extension to PHP to allow Midgard users > > to use the standard PHP distribution. I did not realize this "extension" >

Re: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.c config.m4 element.c event.c eventmember.c file.c fudge genen

2001-02-12 Thread Alexander Bokovoy
On Mon, Feb 12, 2001 at 12:14:34PM -0800, Rasmus Lerdorf wrote: > I was surprised by the size myself. I met with the Midgard folks in > Belgium and we discussed adding an extension to PHP to allow Midgard users > to use the standard PHP distribution. I did not realize this "extension" > to allow

Re: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.cconfig.m4 element.c event.c eventmember.c file.c fudge genen

2001-02-12 Thread Rasmus Lerdorf
I agree. I was picturing a small enabling extension when they asked me about this. -Rasmus On Mon, 12 Feb 2001, Zeev Suraski wrote: > If this is an extension, though, then it can still be independent of > PHP? The major step they made is the ability to interface with PHP without > having to p

Re: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.c config.m4 element.c event.c eventmember.c file.c fudge genentry.pl

2001-02-12 Thread Zeev Suraski
If this is an extension, though, then it can still be independent of PHP? The major step they made is the ability to interface with PHP without having to patch it. IMHO, Midgard should *probably* not be inside the PHP source tree / tarball, but it'd be nice if it's well linked from php.net (

Re: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.cconfig.m4 element.c event.c eventmember.c file.c fudge genen

2001-02-12 Thread Rasmus Lerdorf
I was surprised by the size myself. I met with the Midgard folks in Belgium and we discussed adding an extension to PHP to allow Midgard users to use the standard PHP distribution. I did not realize this "extension" to allow this would be so large. Perhaps some signals got crossed along the way

Re: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignoreChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.cconfig.m4 element.c event.c eventmember.c file.c fudge genentry.pl

2001-02-12 Thread Rasmus Lerdorf
The idea here is that Midgard has a large installed base of users, all of whom have to run a modified version of PHP. The extension, albeit rather large at this point, is supposed to provide the basic functionality in the standard PHP distribution so people will not have to run a modified PHP to

[PHP-DEV] PHP 4.0 Bug #9231: when usign ob_gzhandler HTTP HEAD does not work

2001-02-12 Thread boian
From: [EMAIL PROTECTED] Operating system: Linux glibc 2.1 PHP version: 4.0 Latest CVS (12/02/2001) PHP Bug Type: Output Control Bug description: when usign ob_gzhandler HTTP HEAD does not work php.ini: output_handler = ob_gzhandler tests: a plain html request: root@orange

RE: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard ...SNIP...

2001-02-12 Thread Chris Newbill
I was wondering that same thing myself. Actually it was more like WTF, but that's not exactly politically correct. Chris -Original Message- From: James Moore [mailto:[EMAIL PROTECTED]] Thought this should really be brought up on Dev list rather than CVS list but personally I dont think

Re: [PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.c config.m4 element.c event.c eventmember.c file.c fudge genentry.pl group.c ho

2001-02-12 Thread Andi Gutmans
I also tend to think it's kind of strange. It's about 800KB of source code and as far as I understand this is an extension module which will be used by almost no one (and everyone will be forced to dl an extra 800KB (300KB compressed)). Any of the Midgard people on this list? Is there any good

[PHP-DEV] FW: [PHP-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.c config.m4 element.c event.c eventmember.c file.c fudge genentry.pl group.c ho

2001-02-12 Thread James Moore
Thought this should really be brought up on Dev list rather than CVS list but personally I dont think that midgard has a place in the main distributions CVS.. maybe im wrong but if we begin to put all full applications in CVS just because they are useful we are going to bloat. Whats the difference

[PHP-DEV] mysql_pconnect() broken?

2001-02-12 Thread Cynic
NT 5 apache-1.3_20010212171201 php4-200102120845 script: for( $i = 0 ; $i < 10 ; $i++ ) { print_r( mysql_pconnect( 'localhost' , 'login' , 'passwd' ) ) ; } output: Resource id #1 Resource id #2 Resource id #3 Resource id #4 Resource id #5 Resource id #6 Resource id #7 Resource id #8 Resou

[PHP-DEV] PHP 4.0 Bug #9230: PHP cannot connect to remote Oracle databases

2001-02-12 Thread mfarver
From: [EMAIL PROTECTED] Operating system: Win95/NT PHP version: 4.0.4pl1 PHP Bug Type: Oracle related Bug description: PHP cannot connect to remote Oracle databases $handle = ora_plogon('scott@remotedb','tiger'); Always returns "ORA-12154: TNS:could not resolve service name

[PHP-DEV] PHP 4.0 Bug #9229: Sockets extension does not compile -- possible problem

2001-02-12 Thread ben
From: [EMAIL PROTECTED] Operating system: IRIX 6.5 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: Sockets extension does not compile -- possible problem The sockets extension does not compile under IRIX. This is due to the IRIX sockets library not incl

[PHP-DEV] Re: [INTERFACES] Re: PostgreSQL and PHP persistent connections

2001-02-12 Thread Bruce Momjian
> > We discussed using 'ROLLBACK' before passing a connection to a new user, > > but the problem was that ROLLBACK with no open transaction causes a > > server log error message. We discussed adding 'ROLLBACK SILENT' to fix > > this, but I believe a better, more portable solution is a simple "BEG

Re: [PHP-DEV] iconv module for PHP4

2001-02-12 Thread Sebastian Bergmann
Ondrej Sury wrote: > I have coded iconv support for php4. An iconv() implementation is already in PHP 4's CVS, have a look at http://lxr.php.net/search?string=iconv /Sebastian -- sebastian bergmann e-mail : [EMAIL PROTECTED] homepage :

[PHP-DEV] CVS Account Request

2001-02-12 Thread CVS Account Request
Full name: Alexander Bokovoy Email: [EMAIL PROTECTED] ID: ab Purpose: Midgard project -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] CVS Account Request

2001-02-12 Thread CVS Account Request
Full name: Marius Ndemeno Tegomoh Email: [EMAIL PROTECTED] ID: marius Purpose: Midgard Project -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PRO

[PHP-DEV] PHP 4.0 Bug #9228: with apache 2.0.9: php_functions.c:49

2001-02-12 Thread maxes2
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.2 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: with apache 2.0.9: php_functions.c:49 php_functions.c:49: too few arguments to function `ap_sub_req_lookup_uri' *** Error code 1 -- Edit Bug repor

[PHP-DEV] iconv module for PHP4

2001-02-12 Thread Ondrej Sury
Hello, I have coded iconv support for php4. Here is first version. It is my first attempt to create module, so it could be quite messy, but it works ;-) Is there possibility to add this into main source code of PHP? Could you suggest what can be done better? (I am planning to cache iconv des

RE: [PHP-DEV] PHP 4.0 Bug #9197: crash in _efree

2001-02-12 Thread David Benson
> Is there a short script (independent of other scripts) that > reproduces this problem? Can you try to cut it down to the > smallest piece of code that still produces a crash? Thanks for the response. I've narrowed this down to just a problem (with workaround) in Oci8. Included is a short scrip

[PHP-DEV] PHP 4.0 Bug #9197 Updated: crash in _efree

2001-02-12 Thread dbenson
ID: 9197 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: OCI8 related Description: crash in _efree Included is a short script that reproduces the problem The first part contains a workaround, that I have implemented in my code. From the docs I was under the impresison I had to manipu

[PHP-DEV] PHP 4.0 Bug #9197 Updated: crash in _efree

2001-02-12 Thread dbenson
ID: 9197 User Update by: [EMAIL PROTECTED] Status: Open Old-Bug Type: Reproduceable crash Bug Type: OCI8 related Description: crash in _efree Included is a short script that reproduces the problem <% $Conn = OCINLogon ('vignette', 'vignette', 'wom_dev'); $Stmt = OCIParse ($Conn, "

[PHP-DEV] PHP 4.0 Bug #9227 Updated: php module crashes without content-type header.

2001-02-12 Thread wmartino
ID: 9227 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: php module crashes without content-type header. I am running php 4.04pl1 compiled as an apache 1.3 module with support for curl, pgsql, and zlib. It seems that the module crashes, causing httpd

[PHP-DEV] PHP 4.0 Bug #9227: php module crashes without content-type header.

2001-02-12 Thread wmartino
From: [EMAIL PROTECTED] Operating system: Redhat Linux 6.2 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: php module crashes without content-type header. I am running php 4.04pl1 compiled as an apache 1.3 module with support for curl, pgsql, and z

Re: [PHP-DEV] Function request

2001-02-12 Thread Thomas Deliduka
You're right. I was thinking only that a compiled solution would be faster and more efficient than any function I would write. I do agree though, I (kinda) do that now. On 2/12/01 3:30 AM this was written: > On Mon, Feb 12, 2001 at 09:23:36AM +0100, Marc Boeren wrote: > >>> I think this would

[PHP-DEV] PHP 4.0 Bug #9226: Include URL; fopen Url

2001-02-12 Thread PSaile
From: [EMAIL PROTECTED] Operating system: Linux SuSE 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: Include URL; fopen Url This statement $fp = fopen("http://www.php.net/", "r"); produce this Error Warning: fopen("http://www.php.net/","r") - Bad

[PHP-DEV] PHP 4.0 Bug #9225: Somthing is eating my cflags

2001-02-12 Thread wico
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: Somthing is eating my cflags Hiya, i have these flags for compiling: CXXFLAGS = CFLAGS= -Os -O6 -march=pentium when i do: ./configure --with-apache=/usr/src

[PHP-DEV] PHP 4.0 Bug #9224: odbc_errormsg not implimented?

2001-02-12 Thread c
From: [EMAIL PROTECTED] Operating system: WinNT PHP version: 4.0.4pl1 PHP Bug Type: ODBC related Bug description: odbc_errormsg not implimented? I'm running Apache/PHP on WinNT 4.0 SP6a (Apache/1.3.14 (Win32) PHP/4.0.4pl1) accessing an Access 2000 database via ODBC When I u

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
>Well, I guess that hacking the php source would work. :) However, I was >just thinking that you Could do something like this: >while (list ($key, $value) = mysql_fetch_array ($result, MYSQL_ASSOC)) { >$data[] =& $data[$key] = $value; >} I could, but since I'm writing a database abstractio

[PHP-DEV] PHP 4.0 Bug #9223: recode_string leaks memory

2001-02-12 Thread rr
From: [EMAIL PROTECTED] Operating system: SuSE-Linux 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Recode related Bug description: recode_string leaks memory I use the following procedure to recode records that are read in from a dbase file. If I run this script for all the 3500

Re: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Zak Greant
Well, I guess that hacking the php source would work. :) However, I was just thinking that you Could do something like this: (Note - not tested! :) while (list ($key, $value) = mysql_fetch_array ($result, MYSQL_ASSOC)) { $data[] =& $data[$key] = $value; } --zak - Original Message

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
OK, zend_hash_find and zend_hash_index_find do the trick... Cheerio, Marc. >This leads me to another question: how do I obtain the x_ptr (from the example) if the zend_hash_update was done elsewhere and no ptr was passed then??? >zend_hash_update(return_value->value.obj.properties, "x", s

[PHP-DEV] question about classes

2001-02-12 Thread David Guerizec
Hi, I implemented my own classes in an extension, but when I instanciate them, they don't have any properties. I called the macro INIT_OVERLOADED_CLASS_ENTRY (well, an equivalent that uses strlen() instead of sizeof()) cause I want to have write control over some properties: MGD_I

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
>not bound together in any way. You may be able to accomplish what you >desire by using references. (See the manual section on references for more >information. > ie. $q->data[0]["id"] =& $q->data[0][0]; After looking for references in the php-code, I found something that seems to work ok (ze

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
>Also, even though [0] and ['id'] initially contain the same value, they are >not bound together in any way. You may be able to accomplish what you >desire by using references. (See the manual section on references for more >information. >ie. $q->data[0]["id"] =& $q->data[0][0]; How can I cre

Re: [PHP-DEV] Function request

2001-02-12 Thread Matt McClanahan
On Mon, Feb 12, 2001 at 09:23:36AM +0100, Marc Boeren wrote: > >I think this would be nice. To be able to pull a multi-dimentional array > >from a mysql result. > > I'm working on a database abstraction module that does exactly this, and > should support every database module that is loaded into

RE: [PHP-DEV] Function request

2001-02-12 Thread Marc Boeren
>I think this would be nice. To be able to pull a multi-dimentional array >from a mysql result. I'm working on a database abstraction module that does exactly this, and should support every database module that is loaded into php. I've already got it doing what you describe, only I return an obj