[PHP-DEV] Bug #14143 Updated: Apache2 PATH_INFO var (was:Segmentation fun)

2002-01-21 Thread teo
Comment: After some hassle with compilation I tried again w/ a recent snapshot.Path info still doesn't get set :(. Previous Comments: [2002-01-18 02:04:14] [EMAIL PROTECTED] Teo: Can you download a CVS snapshot, an

[PHP-DEV] Bug #14143 Updated: Segmentation fun

2002-01-17 Thread teo
ol = 0x813e4ec, connection = 0x813a5cc, server = 0x80cae44, next = 0x0, prev = 0x0, main = 0x0, the_request = 0x813ecac "GET /i.php/a HTTP/1.1", assbackwards = 0, proxyreq = 0, header_only = 0, protocol = 0x813ecfc "HTTP/1.1", proto_num = 1001, hostname = 0x813ef6c &q

[PHP-DEV] Bug #14209: tux sapi doesn't work when using virtual hosts

2001-11-24 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.1/kernel-2.4.10/tux-2.1.0 PHP version: 4.0CVS-2001-11-24 PHP Bug Type: Other web server Bug description: tux sapi doesn't work when using virtual hosts [yep, I know it's quite experimental that extension,just want to contribute

[PHP-DEV] Bug #14143: Segmentation fun

2001-11-20 Thread teo
ev = 0x0, main = 0x0, the_request = 0x813ecac "GET /i.php/a HTTP/1.1", assbackwards = 0, proxyreq = 0, header_only = 0, protocol = 0x813ecfc "HTTP/1.1", proto_num = 1001, hostname = 0x813ef6c "teo", request_time = 1006255730034262, status_line = 0x0, status

[PHP-DEV] Bug #12691 Updated: Apache 2: Server variables don't get set

2001-11-19 Thread teo
ID: 12691 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Apache related Operating System: SuSE7.1 PHP Version: 4.0CVS-2001-08-10 New Comment: ok, here's what I tried: o PHP4.0.2-dev (php4-2009 from snaps) o config line is:

Re: [PHP-DEV] Re: Bug #13616 Updated: Compiler complains about function declaration after return is called

2001-10-18 Thread teo
Hi jeroen! On Wed, 17 Oct 2001, [EMAIL PROTECTED] wrote: > > "Brian Moon" <[EMAIL PROTECTED]> wrote in message > news:00c601c15725$d00cf0c0$[EMAIL PROTECTED]... > > This is a huge compatibility breaker. The sad part is that you did not > > properly fix the bug in 9884. The bug is that the comp

Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity

2001-10-03 Thread teo
Hi Andrei! On Tue, 02 Oct 2001, Andrei Zmievski wrote: > On Tue, 02 Oct 2001, Jason Greene wrote: > > This easy to understand, efficient (no time consuming code to interpret whether > > a class was intended), no backwards compatibility issues, > > no ambiguity, and its not the first 3 symbol oper

Re: [PHP-DEV] Add function aliases at runtime?

2001-10-02 Thread teo
Hi Emiliano! On Tue, 02 Oct 2001, Emiliano wrote: > [EMAIL PROTECTED] wrote: > > > > Is it possible to add a function entry for a C-coded funtion at > > > runtime? > > > > I once was interested in that and Sascha said it's possible to do that. > > It was quite a while back ,so I dunno if recen

Re: [PHP-DEV] Add function aliases at runtime?

2001-10-02 Thread teo
Hi Emiliano! On Tue, 02 Oct 2001, Emiliano wrote: > Is it possible to add a function entry for a C-coded funtion at > runtime? I once was interested in that and Sascha said it's possible to do that. It was quite a while back ,so I dunno if recent changes changed also the situation. It would be

Re: [PHP-DEV] A couple of session issues

2001-08-27 Thread teo
Hi Zeev! On Mon, 27 Aug 2001, Zeev Suraski wrote: > At 13:40 27-08-01, Thies C. Arntzen wrote: > >On 27 Aug 2001 01:33:46 +0300, Zeev Suraski wrote: > > > The other issue is a suggestion I want to pitch - right now, if sessions > > > are started after the headers are already sent, we'll get a nic

Re: [PHP-DEV] Anybody tested the Apache module recently?

2001-08-26 Thread teo
Hi Rasmus! On Sun, 26 Aug 2001, Rasmus Lerdorf wrote: > Ok, it is working again now. > How about Apache2? Is any eye on it? just askin' -- teodor -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] for the php-gtk people

2001-08-24 Thread teo
Hi Marc! On Fri, 24 Aug 2001, Marc Boeren wrote: > > > > > There exists wxPython and wxPerl... why not wxPHP? > > > > > Marc, it would be an absolutely cool idea :) > > That's what I thought :-) > > > So actually the question is, who has the time to start it? > > Well, not right now... > B

Re: [PHP-DEV] for the php-gtk people

2001-08-24 Thread teo
Hi Marc! On Fri, 24 Aug 2001, Marc Boeren wrote: > > Hi, > > I've been looking at crossplatform gui-development, and one of the > things that is easily found is the wxWindows tools (www.wxwindows.org). > > This looks to be sort of the same as php-gtk, but it does windows, motif > os/2 and mac

Re: [PHP-DEV] apache 2 environment

2001-08-23 Thread teo
Hi Lenar! On Wed, 22 Aug 2001, Lenar wrote: > Hi, > > Can anybody say something about progress made finding and fixing the > unfortunate problem about apache 2 and php 407-dev, where server and > environment variables are not accessible under php? > I filed a bug report and still watching for u

Re: [PHP-DEV] Bug #12272 Updated: Handling of file submissions from Opera incorrect

2001-08-21 Thread teo
Hi sniper! On Mon, 20 Aug 2001, [EMAIL PROTECTED] wrote: > ID: 12272 > Updated by: sniper > Reported By: [EMAIL PROTECTED] > Old Status: Feedback > Status: Closed > Bug Type: HTTP related > Operating System: Linux RedHat > PHP Version: 4.0.5 > New Comment: > > No feedback. Reopen if you still ha

Re: [PHP-DEV] chroot(): _not_ safe-mode restricted?

2001-08-19 Thread teo
Hi jeroen! On Mon, 20 Aug 2001, [EMAIL PROTECTED] wrote: > As I read it in CVS, chroot() will work even in safe-mode. Isn't this a bad > idea(tm), or am I wrong? > If users can chroot in safe-mode, Apache won't serve any more pages after > all children have been chrooted to an empty dir? uhm, w

Re: [PHP-DEV] Chora and CVSWeb problems

2001-08-19 Thread teo
Hi Anil! On Sun, 19 Aug 2001, Anil Madhavapeddy wrote: > Guessing the file-type from the first few magic bytes is > probably a good thing (especially in the case where other > methods have failed, and the MIME type has fallen back to > application/octet-stream or something equally unhelpful). > u

Re: [PHP-DEV] Bug #12826 Updated: session_unregister() array_walk() immune? :)

2001-08-18 Thread teo
Hi mfischer! On Sat, 18 Aug 2001, [EMAIL PROTECTED] wrote: > ID: 12826 > Updated by: mfischer > Reported By: [EMAIL PROTECTED] > Status: Bogus > Bug Type: Session related > Operating System: Win2000 SP2 > PHP Version: 4.0.6 > New Comment: > > If you want to stick to a one-liner, you can use > -

Re: [PHP-DEV] Setting up RFC

2001-08-15 Thread teo
Hi Andrei! On Wed, 15 Aug 2001, Andrei Zmievski wrote: > On Wed, 15 Aug 2001, Zeev Suraski wrote: > > like. That's why the situation wouldn't change radically if/when the > > engine license changes, much like it wasn't any different *before* the > > engine license was even introduced, in the P

Re: [PHP-DEV] Bug #12735: Shorthand for X ? X : Y

2001-08-14 Thread teo
Hi david! On Tue, 14 Aug 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: > PHP version: 4.0.6 > PHP Bug Type: Feature/Change Request > Bug description: Shorthand for X ? X : Y > > Providing default values for fields, I find myself using the fol

[PHP-DEV] Reserved keywords in PHP

2001-08-13 Thread teo
Are there any reserved keywords in PHP put aside for future development? I am looking for some guidelines of avoiding name clashes with future PHP development. For example, if I write a function named import() and then suddenly the import() becomes a language construct it will suck. So, any name

[PHP-DEV] Bug #12691: Server variables don't get set

2001-08-10 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.1 PHP version: 4.0CVS-2001-08-10 PHP Bug Type: Apache related Bug description: Server variables don't get set Apache 2.0.24-dev PHP4-200108091635 CFLAGS='-O6 -fomit-frame-pointer' \ './configure' \

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-09 Thread teo
Hi Jason! On Wed, 08 Aug 2001, Jason Greene wrote: > From: "Zeev Suraski" <[EMAIL PROTECTED]> > > My top of the list is: > > > > $_REQUEST > > $_EVIL (Andi and I think it's really pretty good, but we both figured we'll > > end up going with a different alternative :) > > What about $_TAINTED ?

Re: [PHP-DEV] TSRM change

2001-07-30 Thread teo
y `/usr/src/php4-200107300435/Zend' make: *** [all-recursive] Error 1 teo:/usr/src/php4-200107300435 # cat config.nice #! /bin/sh # # Created by configure './configure' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--enable-debug' \ '--with-xslt-s

Re: [PHP-DEV] Bug #12464: IIS5.0 header problems

2001-07-30 Thread teo
Hi j.gray! On Mon, 30 Jul 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: win 2k > PHP version: 4.0.6 > PHP Bug Type: Session related > Bug description: IIS5.0 header problems > > The below message is getting spewed from an IIS5.0 win2k PHP 4.06

Re: [PHP-DEV] Security Issues (isset stuff)

2001-07-30 Thread teo
Hi Phil! On Mon, 30 Jul 2001, Phil Driscoll wrote: > On Sunday 29 July 2001 19:13, [EMAIL PROTECTED] wrote: > ...stuff pointing out how you'd get no warning messages when the evil guy > sets the variables from outside. > > You missed my point, which is the good guy would get the warning message

Re: [PHP-DEV] Security Issues

2001-07-30 Thread teo
Hi Zeev! On Sun, 29 Jul 2001, Zeev Suraski wrote: > Generally I agree, except I don't think we should go as far as changing the > theme of PHP. Putting form variables into a different space would be the > simplest and equally secure way to do the trick. > yes, but a Request class can be enric

Re: [PHP-DEV] php+apache2 anyone?

2001-07-30 Thread teo
Hi Ramsi! On Mon, 30 Jul 2001, Ramsi Sras wrote: > UNSUBSCRIBE ME PLEASE!! > geez dude, drink less coffee :) then just jump with your eyes to the bottom of this mail. see something? if not, save the mail and "grep unsubscribe " or just write a PHP script to find the magic word. [ y

[PHP-DEV] php+apache2 anyone?

2001-07-29 Thread teo
Anyone got an Apache2 running (which one) with PHP (which one) ? thx ciao -- teodor -- 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] Bug #12460: ZLIBG(v) redefined in ext/zlib/php_zlib.h

2001-07-29 Thread teo
rning: this is the location of the previous definition zlib.c: In function `php_zlib_init_globals': zlib.c:152: `zend_zlib_globals' undeclared (first use in this function) [so on] teo:/usr/src/php4-200107291635 # cat config.nice #! /bin/sh # # Created by configure

Re: [PHP-DEV] Security Issues (backward fix)

2001-07-29 Thread teo
Hi Ron! On Sat, 28 Jul 2001, Ron Chmara wrote: > On Saturday, July 28, 2001, at 12:52 PM, Zeev Suraski wrote: > > At 06:01 28/07/2001, Phil Driscoll wrote: > >> I and no doubt thousands of others will turn > >> register_globals on because it gives much more readable code, > >> much less > >> t

Re: [PHP-DEV] Security Issues

2001-07-29 Thread teo
Hi Zeev! On Thu, 26 Jul 2001, Zeev Suraski wrote: > At 02:18 26/07/2001, Ron Chmara wrote: > >> If most of the PHP apps out there are or were vulnerable to > >> register_globals=on attacks, we can't (shouldn't) blame the whole world, > >> but fix the language instead. > > > >I'd suggest fixin

Re: [PHP-DEV] Bug #12453: comparing 0=="null" is true?

2001-07-29 Thread teo
Hi btanner! On Sun, 29 Jul 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: Win2k > PHP version: 4.0.6 > PHP Bug Type: Scripting Engine problem > Bug description: comparing 0=="null" is true? > > If you compare the integer(0) to the string "null"

Re: [PHP-DEV] function basename()

2001-07-29 Thread teo
Hi Marcus! On Thu, 26 Jul 2001, Marcus wrote: > shouldn't the function basename() return only the > script part and not the query part? I guess basename() is a filesistem function, and hence it doesn't make sense to care about `query string' cause in the file systems there are no such things. I

Re: [PHP-DEV] Security Issues (isset stuff)

2001-07-29 Thread teo
Hi Phil! On Sat, 28 Jul 2001, Phil Driscoll wrote: > > That's not going to find half, or a quarter, or whatever of the problems, > > since PHP has tools to cleanly handle undefined variables - namely isset() > > and empty(). They, or at least isset(), are quite popular. > > I always use somethi

Re: [PHP-DEV] Bug #12325 Updated: Query_string not defined

2001-07-25 Thread teo
Hi danradigan! On Tue, 24 Jul 2001, [EMAIL PROTECTED] wrote: > ID: 12325 > User updated by: [EMAIL PROTECTED] > Reported By: [EMAIL PROTECTED] > Status: Feedback > Bug Type: Unknown/Other Function > Operating System: Win 2k > PHP Version: 4.0.6 > New Comment: > > I think this is the relevant sec

Re: [PHP-DEV] Bug #12350: Referencing multiple arrays in classes from inside methods doesn't work

2001-07-25 Thread teo
Hi m.stenzel! On Tue, 24 Jul 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: W2K > PHP version: 4.0.6 > PHP Bug Type: Class/Object related > Bug description: Referencing multiple arrays in classes from inside methods doesn't >work > > Configura

[PHP-DEV] Bug #11970: SEPARATE_ZVAL_TO_MAKE_IS_REF doesn't like 0x0

2001-07-09 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.0 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: SEPARATE_ZVAL_TO_MAKE_IS_REF doesn't like 0x0 function &erm($key) { return @$arr[$key]; } $foo = erm('foo'); $bar = erm('bar'); (gdb) run

Re: [PHP-DEV] (change request) PHP 4.0 Bug Summary Report

2001-05-05 Thread teo
Hi Joe! On Sat, 05 May 2001, Joe Brown wrote: > Is it possible to include www.php.net/bugs.php?id= at the front of these, or > on a second line trailing each bug listed? > > Would make the list twice as long, but a lot simpler to follow up on, w/mail > reader that recognises links. [justa-hint

Re: [PHP-DEV] php got stomped on in shootout, but shouldn't have...

2001-05-04 Thread teo
Hi Sean! On Fri, 04 May 2001, Sean Chittenden wrote: > Howdy. So I was checking out Perl, Ruby, and Java's > performance specs on a language shootout, and PHP got stomped on. It > was safely sitting at the bottom of the list (check out the score card > page). > > http://www.bagley.org/~d

Re: [PHP-DEV] Bug #10561 Updated: sockets.c uses `SUN_LEN' unconditionally - undefined on Solaris

2001-05-01 Thread teo
[Offtopic] Hi sniper! I was just wondering, how can a socket use *unconditionally* a LEN to look @ the SUN :) I thought only snipers use highly accurate lens to shoot bugs, isn't it? [BTW, do you sleep? or you won't sleep until all the bugs are smashed? :) ] -- teodor -- PHP Development Mai

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

2001-05-01 Thread teo
Hi Brian! On Mon, 30 Apr 2001, Brian Foddy wrote: > Perhaps another possible solution is this... > For those 1 in 300 web hits that the developer knows is > going to use gobs of memory and assuming they can't > be re-engineered to use less (through temp files, etc), > create a simple function tha

[PHP-DEV] Bug #10551: array_switch ( permute the keys w/ values)

2001-04-29 Thread teo
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0 Latest CVS (29/04/2001) PHP Bug Type: Feature/Change Request Bug description: array_switch ( permute the keys w/ values) I found myself with an array like $a = array (0 => "Foo", 1 => "Bar" ); and thought it would

Re: [PHP-DEV] Bug #10496: segfault on parse error

2001-04-25 Thread teo
Hi php-dev! On Wed, 25 Apr 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: SuSE7.0 > PHP version: 4.0.4pl1 > PHP Bug Type: Scripting Engine problem > Bug description: segfault on parse error > > Given the complexity of the whole app, I couldn't

[PHP-DEV] Bug #10496: segfault on parse error

2001-04-25 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.0 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: segfault on parse error Given the complexity of the whole app, I couldn't make a small script. The offending code was: $tplBoxes = array (); ">

[PHP-DEV] Req/Res wrappers (was Re: [PHP-DEV] Bug #10423: HTTP_ENV_VARS is bigger...)

2001-04-20 Thread teo
Hi Colin! On Fri, 20 Apr 2001, Colin Viebrock wrote: > > > Specifically in my case, HTTP_ENV_VARS['USER'] is now being set. It > took me a while to figure out why my scripts, which use $USER as a session > variable, were getting messed up. > > > > > That is because PHP inherits the environment f

Re: [PHP-DEV] Bug #10423: HTTP_ENV_VARS is bigger, overwrites session vars

2001-04-20 Thread teo
Hi colin! On Fri, 20 Apr 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: RH7.0 > PHP version: 4.0 Latest CVS (20/04/2001) > PHP Bug Type: Performance problem > Bug description: HTTP_ENV_VARS is bigger, overwrites session vars > > After updating

Re: [PHP-DEV] Bug #10309: feature request

2001-04-12 Thread teo
Hi fabiankessler! On Thu, 12 Apr 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: all > PHP version: 4.0.4 > PHP Bug Type: Feature/Change Request > Bug description: feature request > > $a = 'foo'; > $b = 'bar'; > > $c = (true) ? &$a : &$b; sugge

Re: [PHP-DEV] app server

2001-04-05 Thread teo
Hi Uioreanu! On Thu, 05 Apr 2001, Uioreanu Calin wrote: > Hello, > > I'm Calin from Romania. I've worked with php for about 1 year. I'm teo, also from Romania, but please direct this kind of questions on php-general list. This list is for the development of PHP only.

[PHP-DEV] PHP 4.0 Bug #10179: repetition quantifiers

2001-04-05 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.0 PHP version: 4.0.4pl1 PHP Bug Type: PCRE related Bug description: repetition quantifiers I am not sure if it's a bug or misinterpretation on my side but I expect something like /[0-9]{,10}/ to match a number at most 10 chars

Re: [PHP-DEV] Unix timestamp maximum

2001-04-05 Thread teo
Hi Stanislav! On Wed, 04 Apr 2001, Stanislav Malyshev wrote: > AG>> By the time we close in on 2038 and UNIX is still around > AG>> (*smile*) then most UNIX systems will most probably have moved > AG>> to 64bit timestamps, thus requiring in the best place just a > AG>> recompilation of your PHP b

Re: [PHP-DEV] Leaking references

2001-03-28 Thread teo
Hi Wez! On Wed, 28 Mar 2001, Wez Furlong wrote: > [I can't reach the PHP web site (100% packet loss), so I can't open a bug > report at this time] > > I have found a leak in the Zend engine: > > class A > { > var $t = null; > > function &run(&$t) > { > $this->t

[PHP-DEV] PHP 4.0 Bug #9953 Updated: memory leak

2001-03-28 Thread teo
ID: 9953 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Duplicate Bug Type: Scripting Engine problem Description: memory leak Previous Comments: --- [2001-03-23 08:09:27] [EMAIL PROTECTED] zend_hash.c(1032)

[PHP-DEV] PHP 4.0 Bug #9953: memory leak

2001-03-23 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.0 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: memory leak zend_hash.c(1032) : Freeing 0x0824400C (17 bytes), script=/usr/local/cvsdevel/php/a/htdocs/index.php Last leak repeated 14 times How

[PHP-DEV] PHP 4.0 Bug #9870 Updated: PHP dies with segfault when a post request has no content-type

2001-03-21 Thread teo
ID: 9870 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: HTTP related Description: PHP dies with segfault when a post request has no content-type K, thanks Jani can you have a look/an opinion if this strstr() stuff is not exploitable, given the fact that it's triggered by malforme

[PHP-DEV] PHP 4.0 Bug #9870: PHP dies with segfault when a post request has no content-type

2001-03-20 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.0 PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: PHP dies with segfault when a post request has no content-type [Tue Mar 20 15:09:20 2001] [error] PHP Warning: No content-type in POST request in Unknown on

[PHP-DEV] PHP 4.0 Bug #9781: sig 11

2001-03-16 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Output Control Bug description: sig 11 Sorry for the terse note but I am in the stress of finishing a project and have no time to produce a reproducing script. The code it's too complicat

[PHP-DEV] PHP 4.0 Bug #9108: ini_get_all()

2001-02-05 Thread teo
From: [EMAIL PROTECTED] Operating system: * PHP version: 4.0 Latest CVS (05/02/2001) PHP Bug Type: Feature/Change Request Bug description: ini_get_all() array ini_get_all() should expose all PHP configuration settings. this can be useful to inspect those settings by other m