[PHP-DEV] Possible bug in Object definition -- Fwd: [PHP-NOTES] note 12009 added to language.oop.php

2001-03-18 Thread Jesus M. Castagnetto
This is a strange behavior. If the original class have no predefined variables, then if the object's constructor does no assignment of its own, the resulting object compares to null, e.g. class foo { var $bar; function foo() { // do nothing } } $o = new

[PHP-DEV] Re: PHP 4.0 Bug #9812 Updated: Connection to a MySQL DB

2001-03-18 Thread Laurent LEVIER
Maybe, But I don't use mysql_error() in my basic script. I added it to display the error message. Without it, the error remains, but we just dont know what error it is :) So there is really a problem with connect (and also pconnect, I also tried). Where is that usename ?? I upgraded to the

[PHP-DEV] PHP 4.0 Bug #9055 Updated: Fatal System Error: Raise at top of Exception Stack

2001-03-18 Thread sniper
ID: 9055 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: FDF related Assigned To: Comments: Fixed in CVS. --Jani Previous Comments: --- [2001-02-02 16:02:52] [EMAIL

[PHP-DEV] CVS Account Request

2001-03-18 Thread CVS Account Request
Full name: Oliwier Ptak Email: [EMAIL PROTECTED] ID: aleczapka Purpose: PHP Manual translation into polish -- 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:

[PHP-DEV] PHP 4.0 Bug #9817: variables

2001-03-18 Thread dsabri
From: [EMAIL PROTECTED] Operating system: windows 98 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: variables -- Edit Bug report at: http://bugs.php.net/?id=9817edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail:

[PHP-DEV] PHP 4.0 Bug #9817 Updated: variables

2001-03-18 Thread derick
ID: 9817 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: We need more info then this :) Previous Comments: --- [2001-03-18 05:27:43] [EMAIL

[PHP-DEV] PHP 4.0 Bug #9818: variables

2001-03-18 Thread dsabri
From: [EMAIL PROTECTED] Operating system: windows 98 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: variables I tested this codes pws+win98 and IIS+WIN2K; ? echo "$something"; ? Error: Warning: Undefined variable: t in C:\Inetpub\wwwroot\4.php on

[PHP-DEV] PHP 4.0 Bug #9531 Updated: make fails at make . - /usr/bin/ld: cannot open -lxmltok

2001-03-18 Thread php
ID: 9531 User Update by: [EMAIL PROTECTED] Old-Status: Bogus Status: Open Bug Type: Compile Failure Description: make fails at "make ." - /usr/bin/ld: cannot open -lxmltok sorry to disturb you again, but I've tried different zlib and lizb rpms, they all seem to put some libz.so.1 into /usr/lib.

[PHP-DEV] advice

2001-03-18 Thread Barry Mitchelson
hi all, can anyone give me the url to a tutorial on creating a php extension - specifically creating a new class which will be available to all scripts. I've read through the Zend api docs, and have created a new function, but haven't found any good guides to adding a new class. If there

Re: [PHP-DEV] Independent comments on a bug.

2001-03-18 Thread Fredrik Ohrn
Right, so I managed to earn myself a developer account. But how about extending the bug tracker to allow independent comments? I think it would cut down on duplicate bug entries and increase the possibilities for feedback. Ofcourse it opens up for a flood of useless "ME TOO" comments, but if

[PHP-DEV] PHP 4.0 Bug #9813 Updated: Activating LoadModule for PHP4 causes Apache not to run, no error reported.

2001-03-18 Thread ulairi
ID: 9813 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Description: Activating LoadModule for PHP4 causes Apache not to run, no error reported. Running "/usr2/web/bin/httpd -X" works. Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9818 Updated: variables

2001-03-18 Thread hholzgra
ID: 9818 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *General Issues Assigned To: Comments: using a varibale before giving it a value is evil thats what the message tells you remove E_NOTICE from error reporting level if you really want

[PHP-DEV] php sapi 4 radiusd

2001-03-18 Thread Boian Bonev
hi, today i made something crazy - even i didn't believe it will do but i made it through and i want to hear your opinion... i am getting pissed from writing c code in one of our client's radius servers and decided to ease the whole process, put it under control and make the auth/account logic

[PHP-DEV] PHP 4.0 Bug #9819: Updating HTTP_SESSION_VARS[] doesn't works

2001-03-18 Thread akul
From: [EMAIL PROTECTED] Operating system: Windows 98 SE PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: Updating HTTP_SESSION_VARS[] doesn't works ?php session_start(); if(!session_is_registered('counter1'))

[PHP-DEV] feature request

2001-03-18 Thread Cameron
would be nice if isset would act the same as unset, being able to feed it more than 1 var at a time ie. if ( isset ( $blah1, $blah2 ) ) { blah blah } i get sick of typing it these days and that would cut down the amount of typing a fair bit ;) if there is something already that does this let

[PHP-DEV] PHP 4.0 Bug #5906 Updated: PHP 4.0RC2 or higher with CLibPDF fails to compile on RedHat 5.2

2001-03-18 Thread ohrn
ID: 5906 Updated by: ohrn Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: ClibPDF related Assigned To: Comments: #define T 1 in mail.h clashes with a function declaration in cpdflib.h. Fixed in CVS. Previous Comments:

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

[PHP-DEV] Bug #9820: File upload with any input tag

2001-03-18 Thread a_tom
From: [EMAIL PROTECTED] Operating system: WINNT 4. SP4 IIS4 PHP version: 3.0.17 PHP Bug Type: Other Bug description: File upload with any input tag With 3.0.17(IIS4, NT4) (with 3.0.16, 4.0.1(on the same server) and under Linux it works) when I hit the submit button on the

[PHP-DEV] PHP 4.0 Bug #9820 Updated: File upload with any input tag

2001-03-18 Thread a_tom
ID: 9820 User Update by: [EMAIL PROTECTED] Status: Open Old-Bug Type: Other Bug Type: *General Issues Description: File upload with any input tag Ooops... this was my PHP4 ini file... and the PHP3 ini file is here... [PHP_3] ;;; ; About this file ; ;;; ;

[PHP-DEV] PHP 4.0 Bug #9821: ClibPDF cpdf_set_viewer_preferences function not working

2001-03-18 Thread sigurd
From: [EMAIL PROTECTED] Operating system: Redhat 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: ClibPDF cpdf_set_viewer_preferences function not working Just thought I'd leave my small patch for making the cpdf_set_viewer_preferences work a

[PHP-DEV] PHP 4.0 Bug #9821 Updated: ClibPDF cpdf_set_viewer_preferences function not working

2001-03-18 Thread ohrn
ID: 9821 Updated by: ohrn Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Feature/Change Request Bug Type: ClibPDF related Assigned To: ohrn Comments: I'll look into it. Previous Comments: --- [2001-03-18

[PHP-DEV] PHP 4.0 Bug #9821 Updated: ClibPDF cpdf_set_viewer_preferences function not working

2001-03-18 Thread ohrn
ID: 9821 Updated by: ohrn Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Old-Bug Type: ClibPDF related Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2001-03-18

[PHP-DEV] PHP 4.0 Bug #9823: srand() -- seed should default to (double)microtime()*1000000

2001-03-18 Thread ryland
From: [EMAIL PROTECTED] Operating system: all PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: srand() -- seed should default to (double)microtime()*100 In the user notes for srand(), [EMAIL PROTECTED] said: *ALWAYS* use

[PHP-DEV] PHP 4.0 Bug #9824: lack of bidirectional popen()

2001-03-18 Thread morten
From: [EMAIL PROTECTED] Operating system: Linux 2.4.2 PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: lack of bidirectional popen() I'm using php for shell scripting, and my current project is an indexer of smb shares. using shell commands (in

[PHP-DEV] PHP 4.0 Bug #6559 Updated: yp_first() and yp_next() results handled wrong in ext/yp/yp.c

2001-03-18 Thread ohrn
ID: 6559 Updated by: ohrn Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: YP/NIS related Assigned To: Comments: This depends on the data you put in the map in the first place. Properly created maps do not include linebreaks. It's not up to PHP to second guess the

[PHP-DEV] PHP 4.0 Bug #8041 Updated: yp_first and yp_next Return Different Array Formats

2001-03-18 Thread ohrn
ID: 8041 Updated by: ohrn Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: YP/NIS related Assigned To: Comments: Fixed in CVS. Previous Comments: --- [2000-11-29 21:05:55] [EMAIL PROTECTED] The

Re: [PHP-DEV] Independent comments on a bug.

2001-03-18 Thread Jani Taskinen
On Sun, 18 Mar 2001, Fredrik Ohrn wrote: But how about extending the bug tracker to allow independent comments? I think it would cut down on duplicate bug entries and increase the possibilities for feedback. We're working on a new bug system.. Ofcourse it opens up for a flood of useless "ME

[PHP-DEV] PHP 4.0 Bug #9531 Updated: make fails at make . - /usr/bin/ld: cannot open -lxmltok

2001-03-18 Thread sniper
ID: 9531 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: Where is zlib.h file located in your system? --Jani Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9814 Updated: can't extract any files

2001-03-18 Thread sniper
ID: 9814 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Problem Assigned To: Comments: What are the versions for tar and gunzip? # gunzip --version # tar --version --Jani Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9826: Access Violation

2001-03-18 Thread jk . n
From: [EMAIL PROTECTED] Operating system: windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: Access Violation After using PHP 4.0 for a long time it have started giving the following fault in the browser: "PHP has encountered an Access

RE: [PHP-DEV] feature request

2001-03-18 Thread Chris Newbill
This would not be a bad idea IMHO and I would use it for some things. The functionality would be inclusive not exclusive. So isset($var1, $var2, $var3) would only return true if $var1, $var2, and $var3 are set and false otherwise. So If I had a form passing $name, $email, $phone: example #1

[PHP-DEV] PHP 4.0 Bug #9695 Updated: memory leak when using fsockopen fclose

2001-03-18 Thread pack
ID: 9695 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: Sockets related Description: memory leak when using fsockopen fclose Here is my php script ? header("content-type: text/html; charset=big5"); ? html style type="text/css" !-- pre {font-family:'courier'; font-size:12pt;

[PHP-DEV] Getting Started with new module

2001-03-18 Thread Brian Foddy
Some months back I inquired about writing a BEA Tuxedo module for PHP. I got side-tracked for a while, but now I'd like to resume exploring this possibility. Primarily, because I'd like to use this module myself, but also feel it would be a natural match to an environment like PHP on a web

[PHP-DEV] PHP 4.0 Bug #9827: Floating point exception when starting apache

2001-03-18 Thread matti
From: [EMAIL PROTECTED] Operating system: Linux-mips PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: Floating point exception when starting apache - HW: Cobalt Raq2 (MIPS R3000) - OS: Linux - Apache: 1.3.19 - PHP built with these arguments:

[PHP-DEV] PHP 4.0 Bug #9828: LDAP: Object class violation

2001-03-18 Thread kcchung
From: [EMAIL PROTECTED] Operating system: Solaris 7 PHP version: 4.0.4pl1 PHP Bug Type: LDAP related Bug description: LDAP: Object class violation when using php-4.0.3, ldap_add function works very well. After upgrading to php-4.0.4pl1, ldap_add function didn't work again.

[PHP-DEV] PHP 4.0 Bug #9827 Updated: Floating point exception when starting apache

2001-03-18 Thread matti
ID: 9827 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: Floating point exception when starting apache The calculation itself does not lead to the overflow. I inserted this line right before the error happens: fprintf (stdout, "Value: %f",

Re: [PHP-DEV] Getting Started with new module

2001-03-18 Thread Andi Gutmans
I'm not too familiar with Tuxedo but the first step would be for you to actually write a PHP module which interfaces with Tuxedo. Once you're done with it/tested it and you feel it's worth putting into PHP we can open you a CVS account. I don't think there are many people who will need this

RE: [PHP-DEV] feature request

2001-03-18 Thread Andi Gutmans
It should be possible to do this. I'll look into it. But I also need to think about how much sense it makes :) Today you're asking for isset(...,...,...). Tomorrow you will ask to know which one was not set if it failed. So I hope what youreally want is only the first. Andi At 09:42 PM

Re: [PHP-DEV] feature request

2001-03-18 Thread Cameron
personally all i want is isset(blah,blah,blah) im dealing with 18 items from a form here and im getting sick of typing them all ;) im not too worried about which one isnt set because i just display a not all fields filled in and use a javascript back button. simple? thats all i want but if you

RE: [PHP-DEV] feature request

2001-03-18 Thread Chris Newbill
Oh come on Andi, are you telling me you can't do everything at once? Yes, I don't care about which one is the non-set variable. I'd be glad to help on making this function work like that, but I'm afraid my C is rusty enough to require Tetanus shots for everyone involved. :) (Okay so it isn't

[PHP-DEV] PHP 4.0 Bug #9829:

2001-03-18 Thread alex
From: [EMAIL PROTECTED] Operating system: win32 PHP version: 4.0.4pl1 PHP Bug Type: Arrays related Bug description: ? $g="Yes"; for ($i=0; $i=6; $i++ ) { $g[$i]="No"; echo $i . "nbsp;-nbsp;" . $g[$i] . "br"; } ? There are two problems (see result): 0 - N 1