Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-12 Thread Sebastian Bergmann
Edin Kadribasic wrote: > What bison version are you using. I saw similar segfaults with 1.875. I was using 1.875. > Downgrading to 1.75 or even to 1.28 fixes it for me. Downgrading to 1.75 worked for me, too. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://ph

[PHP-DEV] Win32 crash (HEAD + ZE2)

2003-01-12 Thread Frank M. Kromann
Hi, This code works fine But this does not: where test.inc contains It works with other data types and I have tested it in Linux where it works. Any ideas ? - Frank -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] fix for bug #21600

2003-01-12 Thread Moriyoshi Koizumi
Attached is a patch for bug #21600. This problem is caused by unnecessary zval destruction performed when trying to assign a value that is originated from the same zval. Moriyoshi Index: Zend/zend_execute.c === RCS file: /repository

[PHP-DEV] php5 object model

2003-01-12 Thread Sterling Hughes
Hey, ADT is the Abstract Data Type extension available on cvs.php.net, module name "adt." I'm nearing an alpha, but have one outstanding issue. ADT itself provides both a functional and an object oriented interface. The following example shows the two ways you can use a stack. Functional -- O

Re: [PHP-DEV] Should I fix this?

2003-01-12 Thread Rickard Andersson
Pierre-Alain Joye wrote: > You do not have to feel like an idiot, I always specify the width&height > for the images. Well, since I had somehow "forgotten" that I could use getimagesize() with every image display, I do, but if it had been a question of using the database to save width&height, I do

Re: [PHP-DEV] Should I fix this?

2003-01-12 Thread Pierre-Alain Joye
On Mon, 13 Jan 2003 00:49:43 +0100 "Rickard Andersson" <[EMAIL PROTECTED]> wrote: > To tell you the truth, I never really thought about running > getimagesize() to get width="x" height="y" when displaying the images. > For some reason I always thought that I would be forced to save the > width and

Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-12 Thread Edin Kadribasic
What bison version are you using. I saw similar segfaults with 1.875. Downgrading to 1.75 or even to 1.28 fixes it for me. Edin - Original Message - From: "Sebastian Bergmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 10:07 AM Subject: Re: [PHP-DEV] Apache

Re: [PHP-DEV] Should I fix this?

2003-01-12 Thread Rickard Andersson
Melvyn Sopacua wrote: > I don't agree. > An avatar, by nature, has a fixed _image_ size. If you allow variable > avatar image sizes, then you still have the option to use that same > getimagesize() > to set the width and height attributes of the HTML IMG tag and the browser > (any browser), will re

Re: [PHP-DEV] Should I fix this?

2003-01-12 Thread Melvyn Sopacua
At 20:56 12-1-2003, Pierre-Alain Joye wrote: The filesize (with max upload size) will preserve of big image upload. Render the image inside a html image can be fixed with the size properties (which exist for this purpose...). I m against to add this to the current imagesize function, by default

Re: [PHP-DEV] Should I fix this?

2003-01-12 Thread Pierre-Alain Joye
Hello, I do not think this is a good solution, and starting to check the internal data of each images (think about bmp or any 'raw' images format). The filesize (with max upload size) will preserve of big image upload. Render the image inside a html image can be fixed with the size properties (wh

Re: [PHP-DEV] Should I fix this?

2003-01-12 Thread Melvyn Sopacua
At 09:55 7-1-2003, Marcus Börger wrote: At 01:43 07.01.2003, Rickard Andersson wrote: I'd be glad to write a patch for image.c (function php_handle_gif()), but I though I should ask you guys first. I wouldn't want to do it in vain. As it is now I've got PHP code that checks this for me to preven

Re: [PHP-DEV] PROPOSAL: 'unless' control structure

2003-01-12 Thread Timm Friebe
On Sun, 2003-01-12 at 20:47, Sara Golemon wrote: [...] > This has been discussed (recently in fact) and won't be done. However, > you *can* give your code the type of readability you're looking for with: > > ($condition) || { > /* This will only run if $condition evals to false */ > } Nope, th

Re: [PHP-DEV] PROPOSAL: 'unless' control structure

2003-01-12 Thread Sara Golemon
> My apologies if this has been brought up before, but I searched the > archives and couldn't find a reference to it. > > I'm sure this is the sort of thing that would have already been > implemented if there was any desire for it among the developers, but I > was wondering if anyone had considered

[PHP-DEV] exception error with apache + php

2003-01-12 Thread Sjon
I've been fiddling with my apache & php installation again, and I'm getting exception errors when trying to view a php page. I've enabled a lot of extensions, and I think that the problem lies therein. I've attached some output from my vstudio debugger, wich I hope is enough for you guys to awnser

Re: [PHP-DEV] PROPOSAL: "unless" control structure

2003-01-12 Thread Jon Parise
On Sun, Jan 12, 2003 at 12:53:12PM -0600, Michael Sims wrote: > My apologies if this has been brought up before, but I searched the > archives and couldn't find a reference to it. > > I'm sure this is the sort of thing that would have already been > implemented if there was any desire for it amon

[PHP-DEV] PROPOSAL: "unless" control structure

2003-01-12 Thread Michael Sims
My apologies if this has been brought up before, but I searched the archives and couldn't find a reference to it. I'm sure this is the sort of thing that would have already been implemented if there was any desire for it among the developers, but I was wondering if anyone had considered adding sup

Re: [PHP-DEV] PROPOSAL: default value handling

2003-01-12 Thread Nyk Cowham
Ok, this was my mistake in missing the "Ternary operator enhancement for fluent code" (http://marc.theaimsgroup.com/?t=9622016834&r=1&w=2) discussion thread from last year in the archives. It was not my intention to reopen a dead thread. I did make best effort to do prior research in the

[PHP-DEV] Re: cvs checkout skip dir

2003-01-12 Thread Gabor Hojtsy
> we could also just do a system("file $_"); or whatever to work out what kind > of file we're adding... and if it's a binary type file, then just don't > diff. Images and compressed files are not diffed. So if I update Mirrors-htdig.tgz then nobody can see what I have changed in the instructions

[PHP-DEV] RE: cvs checkout skip dir

2003-01-12 Thread James Cox
heh :0 we could also just do a system("file $_"); or whatever to work out what kind of file we're adding... and if it's a binary type file, then just don't diff. for large diffs, like date changes or doc changes, then publishing the diffs at a site like cvs.php.net/diffs/ or similar would also be

[PHP-DEV] Re: cvs checkout skip dir

2003-01-12 Thread Gabor Hojtsy
> hmm. that is an interesting idea... hacking the dolog.pl script to publish > the diffs for large attachements instead of including them inline might not > be a bad thing (tm). Now, **no** cvs mails are sent regarding the distributions dir. It is skipped because the files are big. But diffs canno

[PHP-DEV] RE: cvs checkout skip dir

2003-01-12 Thread James Cox
hmm. that is an interesting idea... hacking the dolog.pl script to publish the diffs for large attachements instead of including them inline might not be a bad thing (tm). -- james > -Original Message- > From: Gabor Hojtsy [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 12, 2003 5:02

[PHP-DEV] Re: cvs checkout skip dir

2003-01-12 Thread Gabor Hojtsy
> I am actually pondering about removing distrobutions from phpweb, and moving > it to it's own cvs module, with slightly more heavier control over it. This > is to be a bit more secure over releases, and also it is usually not needed > during a checkout of phpweb. (if you're going to checkout phpw

[PHP-DEV] RE: cvs checkout skip dir

2003-01-12 Thread James Cox
I am actually pondering about removing distrobutions from phpweb, and moving it to it's own cvs module, with slightly more heavier control over it. This is to be a bit more secure over releases, and also it is usually not needed during a checkout of phpweb. (if you're going to checkout phpweb, you'

[PHP-DEV] Moving extensions to PECL

2003-01-12 Thread Tal Peer
Hello, In my opinion, one of the goals of PHP5 is to reduce the codebase size by moving most of the extensions to PECL. We should start doing this sometime in the near future, if we want PHP5 released this year. Currently, there are few problems with the handling of PECL extensions in the PEAR i

RE: [PHP-DEV] php editor

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
Not exactly the right place for this question!! Active state have this feature in their Komodo product for code folding. http://www.activestate.com/ It is a requested feature for Zend Studio and will come soon. http://www.zend.com/<--- (my preference) Timothy Hitchens (HiTCHO) Open Pla

[PHP-DEV] php editor

2003-01-12 Thread Hannes Smit
is there a php editor which supports the tree-view for the code itself. I believe tools like visual basic uses this option. You can easily collapse pieces of code, for example a function or a class. Is there any place where i can download a tool like this? And if there's not, what is your favourit

Re: [PHP-DEV] Re: php4 /ext/standard file.c formatted_print.c

2003-01-12 Thread Sascha Schumann
> I might be misunderstanding the problem and I didn't have time to read the > phrack article, but doesn't this mean that leaving it unsigned is better? > It wouldn't pass the length check and thus, memcpy() wouldn't convert a > negative number to something huge. The problem is that every sing

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter php_functions.c

2003-01-12 Thread Sebastian Bergmann
Moriyoshi Koizumi wrote: > moriyoshi Sat Jan 11 17:36:38 2003 EDT > > Modified files: > /php4/sapi/apache2filter php_functions.c > Log: > This patch is likely to fix win32 build I (still) get sapi_apache2.c(538): error C2039: '_free_dbg' is not an element of 'apr_

Re: [PHP-DEV] Can't build PHP_4_3+ZE1 on Win32

2003-01-12 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > [...] I just checked out '-r php_4_3_0' and get the same linker errors. I have no idea what might be causing this... -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishl

Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-12 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > [...] I get a segfault with the same backtrace for Apache 1.3. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing L

[PHP-DEV] Re: aggregation stability

2003-01-12 Thread Greg Beaver
As a further note, it appears that the issue may involve the deaggregate() function. When used as deaggregate($this), it seems to cause a crash. This is the only link to crashing I've found. If I can isolate it, I'll post a bug to the tracker. Greg "Greg Beaver" <[EMAIL PROTECTED]> wrote in me

Re: [PHP-DEV] patch to sapi/servlet fixes bug 21291 &more, pleaseapply to STABLE/HEAD

2003-01-12 Thread Sebastian Bergmann
Giuseppe Tanzilli - CSF wrote: > this patch fixes all this problems, I committed your patch, although I can't test it at the moment. > Who is the maintainer of this sapi module ? Sam Ruby. Just kidding. The SAPI Servlet module is unmaintained at the moment. Maybe this will change onc