Re: [PHP-DEV] Re: ob_get_level

2002-03-25 Thread Jan Lehnardt
Hi, On Sun, 24 Mar 2002 19:29:07 -0500 Yasuo Ohgaki [EMAIL PROTECTED] wrote: I guess you are writing test scripts, right? bingo ;) There are cases you need to consider. If you enable output_buffer ob_get_level() == 1 If you enable zlib.output_compression ob_get_level() == 2 If you

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Kristian Köhntopp
Edin Kadribasic wrote: That's ok. Calling function to set it should still work though. We should really get started on the IfModule .. thing for php.ini. Actually, no. A SAPI version of PHP should get configuration values the way a webserver does. It is running in the context of a

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Markus Fischer
On Mon, Mar 25, 2002 at 10:45:04AM +0100, Kristian Köhntopp wrote : Edin Kadribasic wrote: That's ok. Calling function to set it should still work though. We should really get started on the IfModule .. thing for php.ini. Actually, no. A SAPI version of PHP should get

Re: [PHP-DEV] Re: ob_get_level

2002-03-25 Thread Yasuo Ohgaki
Jan Lehnardt wrote: Hi, On Sun, 24 Mar 2002 19:29:07 -0500 Yasuo Ohgaki [EMAIL PROTECTED] wrote: I guess you are writing test scripts, right? bingo ;) There are cases you need to consider. If you enable output_buffer ob_get_level() == 1 If you enable zlib.output_compression

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

2002-03-25 Thread Yasuo Ohgaki
Comment to lists, since this is marked as Critical already. According to multiple user bug reports, it seems this bug is preventing saving session variables, when user redirect via. header(). Apache/Linux users are reporting this. This crash may be happening any OS/SAPI. -- Yasuo Ohgaki

Re: [PHP-DEV] Re: ob_get_level

2002-03-25 Thread Jan Lehnardt
Hi, On Mon, 25 Mar 2002 05:02:38 -0500 Yasuo Ohgaki [EMAIL PROTECTED] wrote: trans sid buffer is registered at level 1. even if session.use_trans_sid = 0 ? This makes result wrong and trans sid does not work :( IIRC, there is a bug report from user that trans sid does not work when

[PHP-DEV] Re: [PHP-QA] Re: Bug #8744 Updated: call to header() causes CGIerror

2002-03-25 Thread Sascha Schumann
On Mon, 25 Mar 2002, Yasuo Ohgaki wrote: Comment to lists, since this is marked as Critical already. According to multiple user bug reports, it seems this bug is preventing saving session variables, when user redirect via. header(). Apache/Linux users are reporting this. The bug report

Re: [PHP-DEV] Session patch for ID created by handler

2002-03-25 Thread Derick Rethans
Mark, On Sun, 24 Mar 2002 [EMAIL PROTECTED] wrote: I am submitting a patch that will enable a session handler to override the default session id creation routine. Looks ok to me! regards, Derick - PHP: Scripting

[PHP-DEV] Re: [PHP-QA] PHP Test results

2002-03-25 Thread Derick Rethans
Hello Rene, Which version of Apache 2 are you using, and what is your configure line? groeten, Derick On 24 Mar 2002 [EMAIL PROTECTED] wrote: array ( 'user_name' = 'Rene Aaij', 'email' = '[EMAIL PROTECTED]', 'package' = '4.2.0-RC1', 'testcase' = '0', 'status' = 'Fail', 'os'

Re: [PHP-DEV] Re: ob_get_level

2002-03-25 Thread Yasuo Ohgaki
For ob_get_level test, it's okay to test if ob_start() increments a nesting level by one. ob_get_level() returns OG(nesting_level) basically. At a moment, I don't have time to take a look at what is really going on with trans sid and zlib.output_compression. You may need to use real web server

Re: [PHP-DEV] Re: ob_get_level

2002-03-25 Thread Jan Lehnardt
Hi, On Mon, 25 Mar 2002 06:53:15 -0500 Yasuo Ohgaki [EMAIL PROTECTED] wrote: even if session.use_trans_sid = 0 ? No. Session module registers buffer when trans sid is active. session.use_trans_sid=1 does not mean there is trans sid buffer. huh? session.use_trans_sid = 1 enables trans sid,

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

2002-03-25 Thread Yasuo Ohgaki
Sascha Schumann wrote: On Mon, 25 Mar 2002, Yasuo Ohgaki wrote: Comment to lists, since this is marked as Critical already. According to multiple user bug reports, it seems this bug is preventing saving session variables, when user redirect via. header(). Apache/Linux users are reporting

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread derick
On Mon, 25 Mar 2002, Markus Fischer wrote: Mindreader, you ;) Actually, we're a bit late (and I complained that already in other places). 4.2.0 is already half-way out of the door with the CLI version and we don't have a proper setup for it yet. And I fear people in

[PHP-DEV] Re: [PHP-QA] Re: PHP Test results

2002-03-25 Thread derick
On Mon, 25 Mar 2002, Yasuo Ohgaki wrote: It's available as PECL module. Look for it under http://cvs.php.net/cvs.php/pear/PECL Most extensions will be PECL modules in the future. That's very nice, but doesn't help Windows users. I think we still should supply the PECLed extensions with

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Markus Fischer
On Mon, Mar 25, 2002 at 12:56:21PM +0100, [EMAIL PROTECTED] wrote : On Mon, 25 Mar 2002, Markus Fischer wrote: Mindreader, you ;) Actually, we're a bit late (and I complained that already in other places). 4.2.0 is already half-way out of the door with the CLI

[PHP-DEV] HELP ME PLEASE: php not run on IIS 4.0

2002-03-25 Thread Berlina
Hi, Im trying to install PHP 4.1.2 under Windows 2000 Server and IIS 4.0 * If I configure PHP as a MODULE, all run but SESSIONS DON'T WORK * If I configure PHP as a CGI, SESSIONS WORK but ORACLE MODULE for PHP not load Any ideas? Anybody can help me? Advanced thanks, Berli -- PHP

RE: [PHP-DEV] Resume of my problem

2002-03-25 Thread mlwmohawk
I am assuming that he is making a very simple example for something much larger, written in C. erm, it would make more sense to use php: ?php $c = 1 + 2; print (Value C is $c); ? You need to make an extension. Look in the ext/ directory. Those are all PHP extensions.

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

2002-03-25 Thread Sascha Schumann
No. I've just seen enough complaints about not saving session vars with redirection. That's because people forget to embed SID into their URLs. That does not happen automatically. That issue is completely unrelated to this bug report. - Sascha

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Kristian Köhntopp
[EMAIL PROTECTED] wrote: ANother possibility is to take the CLI out of 4.2.0, +1 from me. We have lived without the CLI for some time now. If we introduce it, it should be done right (correct defaults, reading preferences the right way). Kristian -- PHP Development Mailing List

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Marcus Börger
At 12:56 25.03.2002, [EMAIL PROTECTED] wrote: On Mon, 25 Mar 2002, Markus Fischer wrote: Mindreader, you ;) Actually, we're a bit late (and I complained that already in other places). 4.2.0 is already half-way out of the door with the CLI version and we don't have a

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Jan Lehnardt
Hi, On Mon, 25 Mar 2002 12:56:21 +0100 (CET) [EMAIL PROTECTED] wrote: I agree it should be done right the first time, but for me the release plan is fixed. ANother possibility is to take the CLI out of 4.2.0, but I think that will only cause more problems. +1 for removing cli from 4.2.

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread php4
** Reply to note from Kristian =?iso-8859-1?Q?K=F6hntopp?= [EMAIL PROTECTED] Mon, 25 Mar 2002 10:45:04 +0100 A CLI version of PHP is a kind of scripting shell at the same level as awk, perl and other scripting languages are. It should not behave webbish at all, but shelly instead. It

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Wez Furlong
On 25/03/02, Kristian Köhntopp [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: ANother possibility is to take the CLI out of 4.2.0, +1 from me. +1 here too. We have lived without the CLI for some time now. If we introduce it, it should be done right (correct defaults, reading

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Edin Kadribasic
[EMAIL PROTECTED] wrote: ANother possibility is to take the CLI out of 4.2.0, +1 from me. We have lived without the CLI for some time now. If we introduce it, it should be done right (correct defaults, reading preferences the right way). I have to disagree with you guys here. We are,

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread derick
On Mon, 25 Mar 2002, Edin Kadribasic wrote: I have to disagree with you guys here. We are, after all, past RC1 at this point and doing a major surgery on php and its build and test systems is irresponsible. A very big point, I totally agree with you on this. This is not an option after all.

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Compile Failure

2002-03-25 Thread derick
On Sat, 23 Mar 2002, Edin Kadribasic wrote: You're testing with the latest cvs which is broken at the moment. Please test PHP_4_2_0 branch. Derick please revert read_uploaded_file patch... It's not needed, plus it broke the build. hmmm, I already did that I think. Derick Edin

[PHP-DEV] Confused About Classes

2002-03-25 Thread arti
I do not understand why I am getting the error Undefined variable this in this snippet of code (note for brevity I cut out a lot of code): ?php class standardquestion { var $private; function standardquestion($xmlfilename) { $this-private=FALSE; skip some stuff here } function

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Marcus Börger
At 15:30 25.03.2002, Edin Kadribasic wrote: [EMAIL PROTECTED] wrote: ANother possibility is to take the CLI out of 4.2.0, +1 from me. We have lived without the CLI for some time now. If we introduce it, it should be done right (correct defaults, reading preferences the right

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread derick
On Mon, 25 Mar 2002, Marcus Börger wrote: Ithink we all know this - but what you wrote *is* the reason to remove CLI from 4.2 - we all seem unhappy with its current behaviour so why not wait until we have made CLI that general purpose scripting language. To derick as RM: I think

RE: [PHP-DEV] question

2002-03-25 Thread Joseph Tate
a) Yes, if and only if memory has been allocated and you have to deallocate it. Otherwise a memory leak occurs. b) No if a is not the case. -Original Message- From: Vergoz Michael (SYSDOOR) [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 24, 2002 6:00 PM To: [EMAIL PROTECTED]

RE: [PHP-DEV] Unsigned Right Shift Sould there be a matching left shift?

2002-03-25 Thread Joseph Tate
-1 Even if it does make for consistency (which is debatable) anyone who uses the operator will also know that is the same as (one less character to type too). -Original Message- From: Jason Greene [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 24, 2002 2:37 AM To: PHP-Dev Cc:

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Jan Lehnardt
Hi, On Mon, 25 Mar 2002 15:36:38 +0100 (CET) [EMAIL PROTECTED] wrote: And what if we disable the CLI by default for 4.2.0 and make a switch --enable-cli to enable building of the CLI. This makes it more clear that it's still experimental. In 4.3.0 we simply change the default to always

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Edin Kadribasic
I could go the long way and repeat the motivatiom behind the creation of CLI at this point, but instead I would like to recommend that we take evolutionary approach. First make CLI a CGI without all the CGI garbage. Always build it with PHP. (this is where we are now). The next step is

Re: [PHP-DEV] Confused About Classes

2002-03-25 Thread Markus Fischer
On Mon, Mar 25, 2002 at 09:59:12AM -0500, arti wrote : I do not understand why I am getting the error Undefined variable this in this snippet of code (note for brevity I cut out a lot of code): ?php class standardquestion { var $private; function standardquestion($xmlfilename) {

[PHP-DEV] Disabling CLI for 4.2.0

2002-03-25 Thread Sascha Schumann
The CLI does not have many roots.. it might take literally one or two changes to disable it generally in the 4.2.0 branch. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- PHP Development Mailing

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Markus Fischer
On Mon, Mar 25, 2002 at 04:20:13PM +0100, Jan Lehnardt wrote : Hi, On Mon, 25 Mar 2002 15:36:38 +0100 (CET) [EMAIL PROTECTED] wrote: And what if we disable the CLI by default for 4.2.0 and make a switch --enable-cli to enable building of the CLI. This makes it more clear that it's

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Jan Lehnardt
Hi, On Mon, 25 Mar 2002 16:21:58 +0100 Edin Kadribasic [EMAIL PROTECTED] wrote: You cannot make that happen overnight. Thus the evolutionary appoach. Do you know that the changes to the build system so that stand alone php binary was always built was added to PHP4 TODO list on April 28, 2000

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Edin Kadribasic
I have to disagree with you guys here. We are, after all, past RC1 at this point and doing a major surgery on php and its build and test systems is irresponsible. A very big point, I totally agree with you on this. This is not an option after all. I hate to say it, but there were

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Edin Kadribasic
that does not allow us release unthought things as stable. I hope we can agree on the --disable-cli approach for 4.2 and fully integrate CLI into 4.3. Is it unstable? I was under the impression that we're talking about feature set. Edin -- PHP Development Mailing List http://www.php.net/

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Edin Kadribasic
that does not allow us release unthought things as stable. I hope we can agree on the --disable-cli approach for 4.2 and fully integrate CLI into 4.3. Is it unstable? I was under the impression that we're talking about feature set. here: stable as in we have some kind of agenda

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Markus Fischer
On Mon, Mar 25, 2002 at 04:54:08PM +0100, Edin Kadribasic wrote : that does not allow us release unthought things as stable. I hope we can agree on the --disable-cli approach for 4.2 and fully integrate CLI into 4.3. Is it unstable? I was under the impression that we're

Re: [PHP-DEV] Advice on design issues (long)...

2002-03-25 Thread l0t3k
John Lim [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have always wondered, how do you pronounce L0t3k? actually low-tech. most days i dream of woodworking g Seriously, if you are duplicating Metabase's effort, but in C, why not work with the Manuel

Re: [PHP-DEV] Advice on design issues (long)...

2002-03-25 Thread l0t3k
Lukas Smith [EMAIL PROTECTED] wrote in message 008a01c1d2fb$952b4630$4d00a8c0@vandal">news:008a01c1d2fb$952b4630$4d00a8c0@vandal... There is currently an effort underway to merge Metabase with PEAR DB. I have just commited the first code into the pear cvs (package is called MDB for now). The

[PHP-DEV] Re: Bug #16265: Multiply-defined functions in classes not reported

2002-03-25 Thread Derick Rethans
Hello, the attched patch fixes this for me, but I'm sure it will impact a lot of other things. Andi, can you shed some light on it? Derick On 25 Mar 2002 [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.2 PHP Bug Type:

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread J Smith
I'd kind of agree with this. I use both the apache SAPI module and the CLI side by side in a single system (the web server does it's thing, and the CLI powers the search engine, which the web server can use on a per-request basis and ties the two together with XML/XSLT). One of the problems I

[PHP-DEV] Re: Bug #16265: Multiply-defined functions in classes not reported

2002-03-25 Thread Andi Gutmans
Looks like a good fix to me. I'd just change the error message to Cannot redeclare method %s() The patch can go into Engine 1 and 2. Andi At 20:10 25/03/2002 +0100, Derick Rethans wrote: Hello, the attched patch fixes this for me, but I'm sure it will impact a lot of other things. Andi, can

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Edin Kadribasic
I'd kind of agree with this. I use both the apache SAPI module and the CLI side by side in a single system (the web server does it's thing, and the CLI powers the search engine, which the web server can use on a per-request basis and ties the two together with XML/XSLT). One of the problems I

[PHP-DEV] RE: [PHP-QA] PHP Test results

2002-03-25 Thread derick
Hello Ian, I encountered the same thing here very weird (from PHPMyAdmin): Error MySQL said: Host 'localhost.localdomain' is not allowed to connect to this MySQL server I would very appreciate it if you could find what is exactly going wrong with MySQL here. I also wonder what is

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread derick
On Mon, 25 Mar 2002, Edin Kadribasic wrote: Are you sure you were testing it with CLI? Header hiding (-q) has been in there since the first check-in back in Jan 6. If you have sufficiently different setups, there is no way but to configure and compile PHP twice. Building of CLI creates no

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread Edin Kadribasic
I can't rememberr I promised it :) but I looked into it. It's not at all that simple I'm afraid :( Let me refresh you memory then: http://groups.google.com/groups?hl=enth=1a4afc1bc6afa8a4seekm=Pine.LNX.4.3 3.0202281357200.522-10%40kossu.office.jdimedia.nlframe=off Edin -- PHP

[PHP-DEV] RE: [PHP-QA] PHP Test results

2002-03-25 Thread derick
On Tue, 26 Mar 2002, Ian Metcalfe wrote: Sure... this evening as after work I'll do just that. :) I did a bit of grepping and diffing, and while there are some changes relating to added support for unix sockets and specifying ports in the PEAR code, nothing leaps out as the culprit.

[PHP-DEV] openssl_get_privatekey ignores passphrase

2002-03-25 Thread James Blast
Hi, hope this question has not been answered too often, but search is offline :( I have a problem with openssl_get_privatekey. Im trying to generate an private-key, writing it encrypted to disk and using it later to decrypt a secret message. The functions works without a password like a charm,

Re: [PHP-DEV] CLI max_execution_time

2002-03-25 Thread J Smith
You're right about the -q thing, I didn't notice it the first time. (I kind of just run -q now without thinking about it.) It's not a big thing to do the separate compiles, so it's no worry. Just a little annoyance, but I'll live. This isn't a big issue or anything, sort of a nice-to-have.

Re: [PHP-DEV] Re: ob_get_level

2002-03-25 Thread Yasuo Ohgaki
Jan Lehnardt wrote: Hi, On Mon, 25 Mar 2002 06:53:15 -0500 Yasuo Ohgaki [EMAIL PROTECTED] wrote: even if session.use_trans_sid = 0 ? No. Session module registers buffer when trans sid is active. session.use_trans_sid=1 does not mean there is trans sid buffer. huh? session.use_trans_sid

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

2002-03-25 Thread derick
On Mon, 25 Mar 2002, Yasuo Ohgaki wrote: Jan Lehnardt wrote: Hi, On Mon, 25 Mar 2002 06:53:15 -0500 Yasuo Ohgaki [EMAIL PROTECTED] wrote: even if session.use_trans_sid = 0 ? No. Session module registers buffer when trans sid is active. session.use_trans_sid=1 does not mean

[PHP-DEV] CVS Account Request: phallstrom

2002-03-25 Thread Philip Hallstrom
Need to maintain the application database on gtk.php.net. Andrei Zmievski asked that I request an account. Thanks. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-03-25 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: On Mon, 25 Mar 2002, Yasuo Ohgaki wrote: Jan Lehnardt wrote: Hi, On Mon, 25 Mar 2002 06:53:15 -0500 Yasuo Ohgaki [EMAIL PROTECTED] wrote: even if session.use_trans_sid = 0 ? No. Session module registers buffer when trans sid is active. session.use_trans_sid=1

[PHP-DEV] Re: [PHP-QA] Re: PHP Test results

2002-03-25 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: On Mon, 25 Mar 2002, Yasuo Ohgaki wrote: It's available as PECL module. Look for it under http://cvs.php.net/cvs.php/pear/PECL Most extensions will be PECL modules in the future. That's very nice, but doesn't help Windows users. I think we still should

Re: [PHP-DEV] openssl_get_privatekey ignores passphrase

2002-03-25 Thread Wez Furlong
Hi James, No, this question has never been asked not answered AFAICT. You are correct: the passphrase _is_ being ignored; I'll fix it in CVS; the fix should also make it into PHP 4.2 (but RC2, not the current one). Thanks for reporting this problem: I have had virtually no feedback on the newer

[PHP-DEV] Crypto++ extension alpha release

2002-03-25 Thread J Smith
I've finally gotten the Crypto++ extension I've been working on up to the point where I think a release is warranted. At least, an alpha release. The Crypto++ extension provides a number of cryptographic algorithms, including some 27 block cipher algorithms and 13 hash algorithms. At this

[PHP-DEV] RE: [PHP-DB] ODBC -- Setting ApplicationID

2002-03-25 Thread Andrew Hill
Bruce, It looks like you were on the right track initially, the problem is that PHP has a major bug - odbc_setoption is coded specific to ODBC statement handle (connection id), which means that trying to use odbc_setoption the way you want attempts to set a SQLSetConnectOption AFTER the

[PHP-DEV] File Upload

2002-03-25 Thread David McInnis
I wrote s script to upload a file. The script works, but when I point my browser to the file it downloads, but I can no longer open the file in MS Word. What is happening to my file? My client is Windows and the server is Linux. David McInnis -- PHP Development Mailing List

Re: [PHP-DEV] Crypto++ extension alpha release

2002-03-25 Thread derick
On Mon, 25 Mar 2002, J Smith wrote: p.s. Derick -- what's the word on that abstracted crypto API you mentioned a while back? I'm still interested. I've been too busy with QA and the RCs, but I'm certainly planning to make a general encryption extension for PHP5. Derick