Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinitefunction calls causes seg fault

2001-02-06 Thread Derick Rethans
On Wed, 7 Feb 2001, Boian Bonev wrote: > hi, > > indeed it is theoretically impossible to track this :) > > implement a recursive alrorithm for something e.g.: > > function foo($n) { // calc $n! > if ($n<=1) > return $n; > else > return foo($n-1)*$n; > } > > now tell me if

php-dev@lists.php.net

2001-02-06 Thread Ron Chmara
Toby Butzon wrote: > > Another possibility :) Would require a bit of shifting things around, > which could be quite a bit of a disturbance. > > I have a get-to-the-root-of-it-all sort of question: Is the problem that > it's too hard to combat spam or that the people in charge of the lists > don'

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Ron Chmara
André Langhorst wrote: > > Perhaps, in order to maintain compatibility, we should re-document is_set, > > create the documentation for is_null, and look into creating a new function > > that will determine if something has "ever been inside the namespace", regardless > > of its current value, or a

[PHP-DEV] PHP 4.0 Bug #9142: Charset error

2001-02-06 Thread wkittiph
From: [EMAIL PROTECTED] Operating system: Linux and Windows PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: Charset error With PHP4.0.4pl1 error like this Warning: MySQL Connection Failed: Can't initialize character set 18 (path: default) But with PHP4.0

[PHP-DEV] PHP 4.0 Bug #9140 Updated: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes

2001-02-06 Thread kbertone
ID: 9140 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: MySQL related Description: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes OK. Thanks. Got mysql_fetch_assoc() to work. Now not sure that mysql_fetch_array($query, MYSQL_ASSOC) is rea

[PHP-DEV] PHP 4.0 Bug #9141: cannot call a COM function opening a word appli

2001-02-06 Thread shashank . kadge
From: [EMAIL PROTECTED] Operating system: windows NT PHP version: 4.0.3pl1 PHP Bug Type: COM related Bug description: cannot call a COM function opening a word appli This is the COM function being called from PHP. Public Function setFile(filename as String) Set wproc =

[PHP-DEV] PHP 4.0 Bug #9140 Updated: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes

2001-02-06 Thread cynic
ID: 9140 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: MySQL related Assigned To: Comments: well then, what about mysql_fetch_assoc()? Previous Comments: --- [2001-02-07 00:08

[PHP-DEV] PHP 4.0 Bug #9140 Updated: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes

2001-02-06 Thread kbertone
ID: 9140 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: MySQL related Description: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes Thanks for quick response. No, can't upgrade (running on web hosting service). Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9140 Updated: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes

2001-02-06 Thread cynic
ID: 9140 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: MySQL related Assigned To: Comments: cannot reproduce it with yesterday CVS snapshot. can you upgrade? try 4.0.4 pl1 or http://snaps.php.net/ Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9140: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes

2001-02-06 Thread kbertone
From: [EMAIL PROTECTED] Operating system: Unix and Windows PHP version: 4.0.4 PHP Bug Type: MySQL related Bug description: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes mysql_fetch_array($query, MYSQL_ASSOC) seems to return BOTH the numerical AND the

Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Rasmus Lerdorf
This might be workable. I fear Sascha's solution could be rather prone to mistakes, and it would slow down list delivery for everyone. Requiring approval for non-list members is a hassle for them, but if enough people are willing to be on the receiving end of these messages to be approved it pro

Re: [PHP-DEV] The library yes/lib does not exist

2001-02-06 Thread Boian Bonev
hi, i've seen the same really soon and could track it: checking for DOM support... yes checking for DOM in default path... found in /usr/local checking for libxml version... >= 2.2.7 - ac_add_library_path /usr/local/lib

[PHP-DEV] Re: [PHP-PEAR] Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Toby Butzon
Another possibility :) Would require a bit of shifting things around, which could be quite a bit of a disturbance. I have a get-to-the-root-of-it-all sort of question: Is the problem that it's too hard to combat spam or that the people in charge of the lists don't have time to really get into it?

Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Toby Butzon
Sascha Schumann wrote: > > On Tue, 6 Feb 2001, Toby Butzon wrote: > > > Although I agree, I don't think it's ever going to happen. Somehow, the > > head PHP folks don't seem to be too interested in combatting spam; I > > brought up the discussion a few weeks ago and was met with strong > > resis

Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Stephen van Egmond
Rasmus Lerdorf ([EMAIL PROTECTED]) wrote: > What we are not interested in is stopping people who are not subscribed to > the lists directly from participating. A lot of people read the lists via > nntp or through various web gateways. You can rant all you want about the > spam, but until you com

Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Stephen van Egmond
Toby Butzon ([EMAIL PROTECTED]) wrote: > Although I agree, I don't think it's ever going to happen. Somehow, the > head PHP folks don't seem to be too interested in combatting spam; I > brought up the discussion a few weeks ago and was met with strong > resistance. > > Maybe when the list gets to

[PHP-DEV] PHP 4.0 Bug #9139: Broken link from your website

2001-02-06 Thread bhiggins
From: [EMAIL PROTECTED] Operating system: Your webserver PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: Broken link from your website when visiting http://php.net/manual/en/install-windows95-nt.php, the http://www.umesd.k12.or.us/php/win32instal

[PHP-DEV] PHP 4.0 Bug #9044 Updated: Compiling with latest Openlink ODBC fails with PHP4

2001-02-06 Thread antiphobo
ID: 9044 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Description: Compiling with latest Openlink ODBC fails with PHP4 Copied contents of /ext/odbc/ of PHP404sp1 and tried compiling this with PHP403sp1 ... Compile fine; but Driver Not Capable error continues. Previou

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread Boian Bonev
hi, indeed it is theoretically impossible to track this :) implement a recursive alrorithm for something e.g.: function foo($n) { // calc $n! if ($n<=1) return $n; else return foo($n-1)*$n; } now tell me if it is infinite or finite? ;-) this is a verification and cannot

Re: [PHP-DEV] Re: safe_mode redesign

2001-02-06 Thread Boian Bonev
hi, here is something i have posted some days ago: or better if you have untrusted users who shall have php access, give them cgi php and use apache's exec wrapper to setuid to user's uid and chroot to her home dir. if their count is not too big run their own web servers under their uids an

Re: [PHP-DEV] why doesn't list() handle associative arrays?

2001-02-06 Thread Cynic
yes, that's what I mean. At 03:09 7.2. 2001, Lars Torben Wilson wrote the following: -- >Cynic writes: >> $a['x'] = 'one' ; >> $a['y'] = 'two' ; >> $a['z'] = 'three' ; >> >> list( $x , $y , $z ) = $a ; >> >> Warning: Undefined offset

Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Rasmus Lerdorf
> Although I agree, I don't think it's ever going to happen. Somehow, the > head PHP folks don't seem to be too interested in combatting spam; I > brought up the discussion a few weeks ago and was met with strong > resistance. > > Maybe when the list gets to be 20% spam they'll listen. It _is_ ste

Re: [PHP-DEV] why doesn't list() handle associative arrays?

2001-02-06 Thread Lars Torben Wilson
Cynic writes: > $a['x'] = 'one' ; > $a['y'] = 'two' ; > $a['z'] = 'three' ; > > list( $x , $y , $z ) = $a ; > > Warning: Undefined offset: 2 in ... > Warning: Undefined offset: 1 in ... > Warning: Undefined offset: 0 in ... You mean that this: $a['x'] = 'one'; $a['y'] = 'two'; $a['

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Cynic
with all respect to the people who develop the language, I think this is nonsense: $rs = mysql_query( 'select x, y, z from foo where ...' ) ; $x = mysql_fetch_array( $rs , MYSQL_NUM ) ; var_dump( $x[2] ) ; var_dump( isset( $x[2] ) ) ; NULL # well, the column contains null values bool(false) B

[PHP-DEV] PHP 4.0 Bug #8921 Updated: Require() function : filename string not terminated correctly internally

2001-02-06 Thread mahony
ID: 8921 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Description: Require() function : filename string not terminated correctly internally Work-around. --- I've since found that the problem only manifests itself when variables are used as parameters

[PHP-DEV] why doesn't list() handle associative arrays?

2001-02-06 Thread Cynic
$a['x'] = 'one' ; $a['y'] = 'two' ; $a['z'] = 'three' ; list( $x , $y , $z ) = $a ; Warning: Undefined offset: 2 in ... Warning: Undefined offset: 1 in ... Warning: Undefined offset: 0 in ... Cynic: A member of a group of anc

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread John Donagher
On Wed, 7 Feb 2001, [ISO-8859-1] André Langhorst wrote: > we should just define (and document) this similar to Andrei (note, I do > not use the word "the same" I use that word equal, what means different > things): > > NULL equals absence_of_value equals absence_of_variable_in_namespace >

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread André Langhorst
> Perhaps, in order to maintain compatibility, we should re-document is_set, > create the documentation for is_null, and look into creating a new function > that will determine if something has "ever been inside the namespace", regardless > of its current value, or absence of value. we should jus

Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Sascha Schumann
On Tue, 6 Feb 2001, Toby Butzon wrote: > Although I agree, I don't think it's ever going to happen. Somehow, the > head PHP folks don't seem to be too interested in combatting spam; I > brought up the discussion a few weeks ago and was met with strong > resistance. You'd be surprised to lear

[PHP-DEV] PHP 4.0 Bug #8361 Updated: Chinese char changed & ADODB.command,recordset can not be used

2001-02-06 Thread phanto
ID: 8361 Updated by: phanto Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: COM related Assigned To: phanto Comments: fixed in cvs you have to wait till they recompile it Previous Comments: ---

Re: [PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread Toby Butzon
Although I agree, I don't think it's ever going to happen. Somehow, the head PHP folks don't seem to be too interested in combatting spam; I brought up the discussion a few weeks ago and was met with strong resistance. Maybe when the list gets to be 20% spam they'll listen. It _is_ steadily getti

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Ron Chmara
"Mark J. Hershenson" wrote: > >> Great analysis. What about answering the question? Stanislav Malyshev > >> said some months ago this is 'strange', see the discussion around bug > >> 6076. Tell us at least, why this actually isn't strange. > > By default, any unset variable has value NULL - and is

[PHP-DEV] PHP 4.0 Bug #9138: setlocale changes over all thought process of Apache child.

2001-02-06 Thread ngaugler
From: [EMAIL PROTECTED] Operating system: Sun OS 5.7 PHP version: 4.0.3pl1 PHP Bug Type: Apache related Bug description: setlocale changes over all thought process of Apache child. Script: Desc: When PHP is compiled as an Apache module, and an individual script changes the

Re: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Zak Greant
Sean wrote: > I am not really sure what we are arguing at this point... Errr... - twitch - well... blush... sigh. Well, I am trying to prove that I lack the basic skill to read email correctly. I followed the thread a bit oddly and thought that you were the original poster. I love things like t

RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Sean R. Bright
That's a good reason :) > -Original Message- > From: Anil Madhavapeddy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 06, 2001 6:36 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite > function calls causes seg

[PHP-DEV] Re: safe_mode redesign

2001-02-06 Thread Zeev Suraski
At 21:53 6/2/2001, Jason Greene wrote: >Zeev, > >I understand your viewpoint, but I respectfully disagree. I believe that >there are multiple levels of security, and that the OS is >just part of the picture. There always is some layer of application >security(especially for those apps that run i

RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Sean R. Bright
I never said that recursion or the ability for a function to call another function was a feature/bug. I agree that they are necessary to the language. My point is simply that I don't think PHP needs to be "fixed" so that this user's mistake is somehow valid. Take this example (in C): /*

Re: [PHP-DEV] The library yes/lib does not exist

2001-02-06 Thread Sascha Schumann
On Wed, 7 Feb 2001, Derick Rethans wrote: > On Wed, 7 Feb 2001, Sascha Schumann wrote: > > > Please post your full configure line. Ok, those are quite a lot entries. Did you add one recently? When did you see that kind of error for the first time? Did you change anything relate

Re: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Anil Madhavapeddy
Sean R. Bright wrote: > > Because I don't consider it a problem that needs solving. I am probably > overlooking some notoriously famous algorithm, but I can't think of a valid > reason for such functionality to exist unless someone is purposely trying to > bring a system to its knees. > How abou

Re: [PHP-DEV] The library yes/lib does not exist

2001-02-06 Thread Derick Rethans
On Wed, 7 Feb 2001, Sascha Schumann wrote: > Please post your full configure line. --with-gd \ --with-ttf --with-mysql --with-pdflib --with-config-file-path=/etc/httpd \ --enable-track-vars --enable-magiq-quotes --enable-memory-limit \ --with-sablot --enable-ftp --with-pspell --enable-bcmath

Re: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Zak Greant
Sean wrote: > Dear Zak: > > Because I don't consider it a problem that needs solving. I am probably > overlooking some notoriously famous algorithm, but I can't think of a valid > reason for such functionality to exist unless someone is purposely trying to > bring a system to its knees. I don't

Re: [PHP-DEV] The library yes/lib does not exist

2001-02-06 Thread Sascha Schumann
On Tue, 6 Feb 2001, Derick Rethans wrote: > Hey, > > rather strange error in the ./configure script. I think it's from > --with-dom. However, everything works fine. That is probably caused by a construct like PHP_ARG_WITH(foo, ..) .. AC_ADD_LIBPATH($PHP_FOO/lib) I.e. when u

[PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread nathan
ID: 9136 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Feature/Change Request Description: simple script with infinite function calls causes seg fault I agree that recursion like this is not a good thing, it was an accidental bug in a very complex PHP module we we

RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Sean R. Bright
Dear Zak: Because I don't consider it a problem that needs solving. I am probably overlooking some notoriously famous algorithm, but I can't think of a valid reason for such functionality to exist unless someone is purposely trying to bring a system to its knees. Sean > -Original Message--

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread André Langhorst
> why didn't you make it a Feature Request then? But I suppose you tried, > and wasn't be able to do that. Jani, is this a bug in the bugsystem? I did! it was just put into a rhetorical question ;) andré -- · André Langhorst · t: +49 571 3201801 · · [EMAIL PROTECTED] · m: +49 173 95587

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinitefunction calls causes seg fault

2001-02-06 Thread Derick Rethans
On Wed, 7 Feb 2001, Cynic wrote: > but he did: > > Old-Bug Type: Reproduceable crash > > Bug Type: Feature/Change Request I need either more sleep or less alcohol :) Derick Rethans - PHP: Scripting the Web - www.php.net

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinitefunction calls causes seg fault

2001-02-06 Thread Derick Rethans
Hey, why didn't you make it a Feature Request then? But I suppose you tried, and wasn't be able to do that. Jani, is this a bug in the bugsystem? BTW, I think this would be a nice idea for the new safe_mode, but I wonder if it's possible to do with a config switch. Zeev? Greetingz, Derick On 6

[PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread waldschrott
ID: 9136 Updated by: waldschrott Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Feedback Old-Bug Type: Reproduceable crash Bug Type: Feature/Change Request Assigned To: waldschrott Comments: maybe we should move this to feature request for safe mode? it would be fine to give the serve

[PHP-DEV] The library yes/lib does not exist

2001-02-06 Thread Derick Rethans
Hey, rather strange error in the ./configure script. I think it's from --with-dom. However, everything works fine. Derick /bin/sh ../libtool --silent --mode=link gcc -g -O2 -o libZend.la -lpam -ldl -lz -lxmltok -lxmlparse -lsablot -lpspell -lz -ljpeg -lpng -ltiff -lpdf -lldap -llber -lgmp -

Re: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Zak Greant
Dear Sean, Your resume indicates that you have a wealth of skills that can be applied to this problem. It would also seem that you understand the open source ethic. Why would you not look at solving the problem yourself? --zak - Original Message - From: "Sean R. Bright" <[EMAIL PROTE

[PHP-DEV] PHP 4.0 Bug #9137 Updated: eval adds function to global space rather than class method

2001-02-06 Thread waldschrott
ID: 9137 Updated by: waldschrott Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Class/Object related Assigned To: waldschrott Comments: and this is correct, eval uses its own scope, the only possibilty I see at the moment to solve your specific problem is to eval() the

[PHP-DEV] PHP 4.0 Bug #9137: eval adds function to global space rather than class method

2001-02-06 Thread aj
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: eval adds function to global space rather than class method I am trying to generate class methods on the fly. I created a string which was php code for

[PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread waldschrott
ID: 9136 Updated by: waldschrott Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Reproduceable crash Assigned To: waldschrott Comments: and guess this "bug" was present in any version before, what do you expect to happen here? you will never leave these function calls (as you know I gue

RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Sean R. Bright
Yes, I found this feature of PHP quite useful when I wanted to crash the server. There are many places on the web that you can download these very useful applications that call functions infinitely. The applications for this type of code are innumerable. Sean -- ==

[PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread derick
ID: 9136 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: PHP doesn't handle infinite recursion, and as earlier was discussed on the php-dev list, it wont be implemented to guard for this, because of the high

[PHP-DEV] Re: Dear Friends & Future Millionaire:

2001-02-06 Thread André Langhorst
Couldn't some just go and kill those spammers? Is it possible to set rules (similar to those my mozilla takes) for the list? class a candidate would be 'SEEN'+'NATIONAL'+'TV' and the like andré Original Message Subject: [PHP-PEAR] Dear Friends & Future Millionaire: Date: Tue,

[PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread nathan
From: [EMAIL PROTECTED] Operating system: red hat 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: simple script with infinite function calls causes seg fault --- <% function a () { b(); } function b () { a(); } a(); %>

[PHP-DEV] PHP 4.0 Bug #9135: Could not establish connection

2001-02-06 Thread mita
From: [EMAIL PROTECTED] Operating system: windows nt PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: Could not establish connection I inserted a row in mysql database - user table with host = localhost:8080. I am running my apache server on port 8080. The

RE: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Chris Newbill
null, adjective: having no value IMHO, isset() should be left as is. Either way if you are looking for a null value you will have to use '== NULL' or is_null(). if (isset($a) && is_null($a)) if (isset($a)) if (is_null($a)) etc... The only possible situation I can think(right now) of wher

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Martin Jansen
On Tue, 6 Feb 2001 13:43:29 -0600, Andrei Zmievski wrote: >On Tue, 06 Feb 2001, Bjoern Hoehrmann wrote: >> >NULL == not set >> >> Great analysis. What about answering the question? Stanislav Malyshev >> said some months ago this is 'strange', see the discussion around bug >> 6076. Tell us at leas

[PHP-DEV] Dear Friends & Future Millionaire:

2001-02-06 Thread Hi Tech Services
AS SEEN ON NATIONAL TV: Making over half million dollars every 4 to 5 months from your home for an investment of only $25 U.S. Dollars expense one time THANK'S TO THE COMPUTER AGE AND THE INTERNET ! == BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR

[PHP-DEV] PHP 4.0 Bug #9031 Updated: ob_gzhandler memory leak and Headers already sent message!

2001-02-06 Thread aboldt
ID: 9031 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Output Control Description: ob_gzhandler memory leak and Headers already sent message! I've just found out what the problem is, and it's kind of weird: With ob_gzhandler enabled (from php.ini or with ob_start("ob_gzhandler") in th

[PHP-DEV] CVS Account Request

2001-02-06 Thread anonymous
Full name: Chris Newbill Email: [EMAIL PROTECTED] ID: cnewbill Purpose: Manual/Documentation Maintenance, Quality Assurance and PHP Community Assistance (talked with Zak Greant) -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Marten Gustafsson
I have always (although I know this wasn?t the case prior to PHP 4) thought that unset() removed the variable from memory. Clearly this can?t be the case if it has a value of NULL. But if this is the way things work then is_null() ought to be an alias of isset(). -Marten. Icq# 38863127 -

[PHP-DEV] PHP 4.0 Bug #9127 Updated: submitting a boolean to an attribute seems to fail

2001-02-06 Thread hans
ID: 9127 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Class/Object related Description: submitting a boolean to an attribute seems to fail Sorry, false alarm, you can close the bug Previous Comments: --- [2001-

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Mark J. Hershenson
>> Great analysis. What about answering the question? Stanislav Malyshev >> said some months ago this is 'strange', see the discussion around bug >> 6076. Tell us at least, why this actually isn't strange. > > By default, any unset variable has value NULL - and isset(NULL) returns > false to indi

[PHP-DEV] PHP 4.0 Bug #9127 Updated: submitting a boolean to an attribute seems to fail

2001-02-06 Thread zak
ID: 9127 Updated by: zak Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Class/Object related Assigned To: Comments: Previous Comments: --- [2001-02-06 08:18:10] [EMAIL PROTECTED] I've been working

RE: [PHP-DEV] PHP 4.0 Bug #9134: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/

2001-02-06 Thread Chris Newbill
Path simply means the directory in which the file resides. Remove the httpd.h from the --with-apache option and try again. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] PHP 4

RE: [PHP-DEV] PHP 4.0 Bug #9127: submitting a boolean to an attribute seems to fail

2001-02-06 Thread Chris Newbill
I talked to Hans, off the list, and it is something with his code. Sample code I sent him works just fine. I have no karma or anything for the bug system, maybe I should ask for this. Anyways, this is a bogus report. Thanks, Chris Newbill -Original Message- From: [EMAIL PROTECTED] [ma

[PHP-DEV] Re: safe_mode redesign

2001-02-06 Thread Jason Greene
Zeev, I understand your viewpoint, but I respectfully disagree. I believe that there are multiple levels of security, and that the OS is just part of the picture. There always is some layer of application security(especially for those apps that run id=0). If you are a hosting company ( which is

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Andrei Zmievski
On Tue, 06 Feb 2001, Bjoern Hoehrmann wrote: > >NULL == not set > > Great analysis. What about answering the question? Stanislav Malyshev > said some months ago this is 'strange', see the discussion around bug > 6076. Tell us at least, why this actually isn't strange. By default, any unset varia

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Bjoern Hoehrmann
* Andrei Zmievski wrote: >> > $a = NULL; >> if (isset($a)) { print "ok, du hast recht"; } >> ?> >> >> Shouldn't this script generate some output? IMO $a is set >> and isset() should return true. >NULL == not set Great analysis. What about answering the question? Stanislav Malyshev said some mon

[PHP-DEV] CVS Account Request

2001-02-06 Thread anonymous
Full name: Alexandre Correa Email: [EMAIL PROTECTED] ID: sabbathcop Purpose: ? -- 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] PHP 4.0 Bug #9134: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/

2001-02-06 Thread pablosof
From: [EMAIL PROTECTED] Operating system: Slackware Linux PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/ It is the script that I write to ./configure the system: ./co

[PHP-DEV] PHP 4.0 Bug #9133: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/

2001-02-06 Thread pablosof
From: [EMAIL PROTECTED] Operating system: Slackware Linux PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/ -- Edit Bug report at: http://bugs.php.net/?id=9133&edit=1

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Andrei Zmievski
On Tue, 06 Feb 2001, Martin Jansen wrote: > The following was reported today in the german language newsgroup > news:de.comp.lang.php: > > $a = NULL; > if (isset($a)) { print "ok, du hast recht"; } > ?> > > Shouldn't this script generate some output? IMO $a is set > and isset() should return tr

[PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Martin Jansen
The following was reported today in the german language newsgroup news:de.comp.lang.php: Shouldn't this script generate some output? IMO $a is set and isset() should return true. The manual says: "isset -- Determine whether a variable is set" So following the manual means that there _has_ to

[PHP-DEV] PHP 4.0 Bug #9132: 4.0.3pl1 takes too much memory (about 36 megs VSZ).

2001-02-06 Thread stibor
From: [EMAIL PROTECTED] Operating system: linux i386 debian 2.2 potato PHP version: 4.0.3pl1 PHP Bug Type: Performance problem Bug description: 4.0.3pl1 takes too much memory (about 36 megs VSZ). (And it does the same on debian-woody.) ii php4 4.0b3-6 VSZ RSS

Re: [PHP-DEV] PHP 4.0 Bug #9131: PHP_AUTH* empty with Caudium

2001-02-06 Thread David Hedbor
[EMAIL PROTECTED] writes: > From: [EMAIL PROTECTED] > Operating system: Linux > PHP version: 4.0 Latest CVS (06/02/2001) > PHP Bug Type: Other web server > Bug description: PHP_AUTH* empty with Caudium > > from sapi/caudium.c : > /* FIXME: Check for auth stuff needs to be

[PHP-DEV] PHP 4.0 Bug #9131: PHP_AUTH* empty with Caudium

2001-02-06 Thread david . gourdelier
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0 Latest CVS (06/02/2001) PHP Bug Type: Other web server Bug description: PHP_AUTH* empty with Caudium from sapi/caudium.c : /* FIXME: Check for auth stuff needs to be fixed... */ SG(request_info).auth_user =

[PHP-DEV] PHP 4.0 Bug #9116 Updated: PHP will stop returing anything in NES 4.1 SP1

2001-02-06 Thread cboyce
ID: 9116 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Description: PHP will stop returing anything in NES 4.1 SP1 FYI, in the magnus.conf file, the StackSize needs to be increased. Previous Comments: -

Re: Fw: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-02-06 Thread Jason Greene
Wow you're right. I stand corrected. You think I would have an understanding of fork..one of the most basic unix system principals. Jason - Original Message - From: "Zeev Suraski" <[EMAIL PROTECTED]> To: "Jason Greene" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, Febru

[PHP-DEV] PHP 4.0 Bug #9116 Updated: PHP will stop returing anything in NES 4.1 SP1

2001-02-06 Thread cboyce
ID: 9116 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Description: PHP will stop returing anything in NES 4.1 SP1 Output from truss: Incurred fault #6, FLTBOUNDS %pc = 0xFDD34B78 siginfo: SIGSEGV SEGV_MAPERR addr=0xFD16C000 Received signal

Re: [PHP-DEV] Bug #9125: image file corrupted when upload

2001-02-06 Thread phobo
What is your code for opening the file? Sounds to me like you're not opening the file as a 'binary file' in Linux. Use 'b' as part of the fopen() statement. See http://php.net/fopen Siggy - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February

[PHP-DEV] PHP 4.0 Bug #9130: Connecting with sybase server makes php crash

2001-02-06 Thread jpintoc
From: [EMAIL PROTECTED] Operating system: Win2000 PHP version: 4.0.4pl1 PHP Bug Type: Sybase-ct (ctlib) related Bug description: Connecting with sybase server makes php crash There is a script that tries to connect to a sybase database, but when it uses sybase_connect(), i

Re: [PHP-DEV] Re: PHP 4.0 Bug #9126 Updated: Compilation stop with

2001-02-06 Thread Derick Rethans
Hello On Tue, 6 Feb 2001, PowerWeb root admin wrote: > ./configure --prefix=/usr/local/pdflib-3.03 >--with-tifflib=/usr/local/tiff-v3.5.6-beta --enable-shared >--with-pnglib=/usr/local/gnu --with-shared-pdflib My bad, try --enable-shared-pdflib Derick Rethans --

[PHP-DEV] PHP 4.0 Bug #9129 Updated: Compiling Errors

2001-02-06 Thread wildwayz
ID: 9129 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: *Install and Config Description: Compiling Errors Also MySQL is version 3.21.33 Previous Comments: --- [2001-02-06 08:44:54] [EMAIL PROTECTED] I don't think

[PHP-DEV] PHP 4.0 Bug #9129 Updated: Compiling Errors

2001-02-06 Thread derick
ID: 9129 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Install and Config Assigned To: Comments: I don't think this is a bug, php/apache compiles find on RedHat 5.2 for me. Try asking on the [EMAIL PROTECTED] mailinglist. If you are certain this is

[PHP-DEV] PHP 4.0 Bug #9129: Compiling Errors

2001-02-06 Thread wildwayz
From: [EMAIL PROTECTED] Operating system: RedHat 5.2 PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: Compiling Errors Hi, I am trying to upgrade from PHP3.0.7 to PHP4.0.4pl1 but I have had a nightmare. Noone can tell me if PHP4.0.4 can be installed

[PHP-DEV] PHP 4.0 Bug #9128: Memory Leak or Memory Problem.

2001-02-06 Thread kaiser
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Program Execution Bug description: Memory Leak or Memory Problem. i coding a skin engine @ pixelcore.com and use template to parse it. I open this file with $fp = fopen("http://",'r');

Re: [PHP-DEV] Re: PHP 4.0 Bug #9126 Updated: Compilation stop withPDF_show_boxed in -lpdf... no

2001-02-06 Thread Derick Rethans
Hello, what was your configure line for pdflib? Derick On Tue, 6 Feb 2001, PowerWeb root admin wrote: > > > > ID: 9126 > > Updated by: derick > > Reported By: [EMAIL PROTECTED] > > Old-Status: Open > > Status: Closed > > Bug Type: Compile Problem > > Assigned To: > > Comments: > > > > You need

[PHP-DEV] Re: PHP 4.0 Bug #9126 Updated: Compilation stop with PDF_show_boxed in -lpdf... no

2001-02-06 Thread PowerWeb root admin
> > ID: 9126 > Updated by: derick > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Closed > Bug Type: Compile Problem > Assigned To: > Comments: > > You need to compile pdflib --with-shared-pdflib for use with PHP. IF this still >causes problems, reopen this report. Well, does no

[PHP-DEV] PHP 4.0 Bug #9127: submitting a boolean to an attribute seems to fail

2001-02-06 Thread hans
From: [EMAIL PROTECTED] Operating system: Linux kernel 2.4.0 PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: submitting a boolean to an attribute seems to fail I've been working with a class and had some slight problems. One of the attributes is de

[PHP-DEV] PHP 4.0 Bug #9126 Updated: Compilation stop with PDF_show_boxed in -lpdf... no

2001-02-06 Thread derick
ID: 9126 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Problem Assigned To: Comments: You need to compile pdflib --with-shared-pdflib for use with PHP. IF this still causes problems, reopen this report. Previous Comments: --

[PHP-DEV] PHP 4.0 Bug #9126: Compilation stop with PDF_show_boxed in -lpdf... no

2001-02-06 Thread webmaster
From: [EMAIL PROTECTED] Operating system: Solaris/Linux PHP version: 4.0.4pl1 PHP Bug Type: Compile Problem Bug description: Compilation stop with PDF_show_boxed in -lpdf... no Including PDflib 3.0.3 into PHP4.0.4pl1 stops with checking for PDF_show_boxed in -lpdf... no

[PHP-DEV] Bug #9125: image file corrupted when upload

2001-02-06 Thread samuele_catuzzi
From: [EMAIL PROTECTED] Operating system: Linux redhat 6.2 & SuSE 7.0 on intel platform PHP version: 3.0.17 PHP Bug Type: Other Bug description: image file corrupted when upload -php 3.0.18 under RedHat linux 6.2 , apache 1.3.14 -php 3.0.16 and 4.0.3pl1 under SuSE linux 7.0

[PHP-DEV] FAX

2001-02-06 Thread E-alliance - Bruno
Hi, How can i send a request form by fax? I'm trying to begin a business!   Thanks, Bruno. PS: Sorry, my english is not too good!

[PHP-DEV] PHP 4.0 Bug #8938 Updated: Segfaults

2001-02-06 Thread cecot
ID: 8938 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: Segfaults sorry for the double report, but when I restarted the apache some of the children died with segmentation fault Previous Comments:

[PHP-DEV] PHP 4.0 Bug #8938 Updated: Segfaults

2001-02-06 Thread cecot
ID: 8938 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: Segfaults at about 2001-02-05 19:00 EET I got the CVS again and my observation is that there are no Segmentation faults for more than 15 hours, but there is still a lot of HTML code in my error.lo

[PHP-DEV] Re: [PHP-QA] Resurrecting the Function Renaming Thread

2001-02-06 Thread Phil Driscoll
>Anyone else want to pipe in on this thread? I believe that the naming is >still a significant issue. Just last week Jim - Jim fer diety's sake - made >the is_set != isset mistake. Sorry for late input on this one - just got back from holiday, but I'd just like to say that I think it is important

  1   2   >