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

2001-01-29 Thread Brian Moon
That is what we are doing now. We have it at 5. Any higher and we are running out. There is only 128MB of RAM in our machine. I am considering switching to CGI PHP just to eliviate this problem. Of course, that sucks. Brian Moon

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

2001-01-29 Thread Brian Moon
setting that states the max amount PHP should keep) to the system why not do it? Brian Moon - Phorum Dev Team - http://phorum.org Making better forums with PHP

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

2001-01-29 Thread Brian Moon
Ok, so what are the benefits of not returning memory to the system? It seems that no one who can do it wants to so there must be a good reason. Brian Moon -- Phorum Dev Team - http://phorum.org Making better forums with PHP

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

2001-01-31 Thread Brian Moon
rg but I am not sure how to pinpoint it. Can you tell me what you did to force the shutdown_memory_manager. I would like to see what that can do for me. Brian Moon - Phorum Dev Team - http://phorum.org Making be

[PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-12 Thread Brian Moon
Hi guys, A) has anyone tried PHP and gd 2.0.1? B) If I compile gd with FreeType 2 support, do I have to compile FreeType into PHP? Brian Moon - Phorum Dev Team - http://phorum.org Making better forums with PHP

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-13 Thread Brian Moon
When compiling Apache I get: modules/php4/libphp4.a(gd.o): In function `php_imagettftext_common': /usr/src/apache/php4-200104131045/ext/gd/gd.c:2667: undefined reference to `gdttf' Brian Moon Phorum Dev Team - Making better forums with PHP http://phorum.org

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-13 Thread Brian Moon
]: Leaving directory `/usr/src/apache/php4-200104131045/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/apache/php4-200104131045/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/apache/php4-200104131045/ext' make: *** [all-recursive]

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

2001-04-30 Thread Brian Moon
The big problem is that the memory is never returned to the system. The Apache process holds on to it until it dies. Brian Moon - Phorum Dev Team - http://phorum.org Making better forums with PHP

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

2001-04-30 Thread Brian Moon
MaxRequestsPerChild until one day the people that wrote that memory allocation system get a clue. Brian Moon - Phorum Dev Team - http://phorum.org Making better forums with PHP

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

2001-04-30 Thread Brian Moon
not be freed. Reuse in the same process is not free memory, it is reused memory. And it sounds like there is nothing that the PHP team can do about it. Brian Moon - Phorum Dev Team - http://phorum.org Making better forums with PHP

Re: [PHP-DEV] Bug #10598 Updated: Windows Protocol ini file placement

2001-05-02 Thread Brian Moon
Looking at the API I think I can do this. The only question I have is how do I tell from inside the code whether or not PHP is a DLL or an EXE? The function call has to be made differently depending on that information. Brian Moon

Re: [PHP-DEV] Integer casts broken or...?

2001-05-14 Thread Brian Moon
This is correct. The type casting converts the string into its integer value. If there is a non-numeric character in the string, it stops at that point. So 09 is 9 and 09t is 9 but 0t9 is 0. Brian Moon -- dealnews.com, Inc

Re: [PHP-DEV] weird passthru() behavior

2001-05-14 Thread Brian Moon
I know that passthru only outputs what was sent to stdout and nothing else. So, if XalanTransform is sending output to something other than stdout then that might be it. That is just my experience with passthru. Brian Moon

[PHP-DEV] Re: [PEAR-DEV] Comparison style

2001-05-14 Thread Brian Moon
There is another reason as well. type casting is done right to left. This will always ensure that the variables type is compared to , which will convert to 0 if $content is a number. Not sure if this was intentional or not, but it is true. Brian Moon

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
That is why I am asking. Is there a core reason that the ereg functions have to be there? I could extend this to other functions as well of course. But this set in particular I have wondered about. Brian Moon -- dealnews.com

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
for the confusion. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Zeev Suraski [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
The problem is not the PHP C code. It is the regex library. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: John Lim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
I guess it just seems a little odd too me that PCRE is optional and POSIX is not. I know the history and all. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread Brian Moon
them all into simplified useless tools. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Emmanuel FAIVRE [EMAIL PROTECTED] To: [EMAIL

Re: [PHP-DEV] Register_Shutdown_Function happens before shutdown

2001-06-19 Thread Brian Moon
PHP lives inside the connection and content delivery area of Apache. Therefore, all code is parsed while the connection is open. You must have some bad HTML design however if you can not see your page until after all that is done. Brian Moon

[PHP-DEV] Command line option for shell scripting

2001-06-20 Thread Brian Moon
. There does not appear to be a simple function to unregister a ini setting. I need to have an ini_entry struct and a module number to do that. Any pointers on that? Thanks, Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http

Re: [PHP-DEV] List messages are being delayed?

2001-06-20 Thread Brian Moon
The hard part is finding someone who is willing to do it and does not want a lot of advertising in return. Good Luck. BTW, what kind of machine does it take to turn the list out? I know you were on a dual CPU box with Gig of ram at VA. Brian Moon

Re: [PHP-DEV] Command line option for shell scripting [ And some interactive mode issues]

2001-06-21 Thread Brian Moon
Looks like we just need to call: zend_unset_timeout(); zend_set_timeout(0); in sapi/cgi/cgi_main.c. I will put this in the patch I send in. This is a good idea. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http

Re: [PHP-DEV] Command line option for shell scripting [ And some interactive mode issues]

2001-06-21 Thread Brian Moon
output_buffering also needs to be turned off in interactive mode. I will add that as well. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: James Moore [EMAIL

Re: [PHP-DEV] [emile@iris-advies.com: Re: [PHP-DEV] Adding URI Translation Handlers]

2001-06-22 Thread Brian Moon
/florists/rosebowlfloral/ Although it makes for a longer URL, it does not require all the files you talked about and does not require any C. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com

Re: [PHP-DEV] Adding URI Translation Handlers

2001-06-22 Thread Brian Moon
in the templates has to do with anything. Can you elaborate more on that. Maybe some examples of what the request would be and how you would rewrite it and why. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com

Re: [PHP-DEV] Memory limit is used for all scripts instead of one?

2001-06-28 Thread Brian Moon
What version of PHP are you using? There were some changes in 4.0.6 that may change your results. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message

Re: [PHP-DEV] PHP Bug Type: Strings related ???

2001-06-29 Thread Brian Moon
You have magic_quotes_gpc turned on. You will need to stripslashes anything passed in as a GET var. You can turn this off in php.ini or Apache conf files (including .htaccess). See the configuration portion of the manual for instructions. Brian Moon

Re: [PHP-DEV] switch, equality and preg_match

2001-07-01 Thread Brian Moon
. Andrei, you are listed as the author on this file. What needs to change? The return type? That would make the most sense to me. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http

Re: [PHP-DEV] switch, equality and preg_match

2001-07-01 Thread Brian Moon
; } elseif($match===TRUE) { echo hmm.. TRUE\n; } elseif($match===FALSE) { echo hmm.. FALSE\n; } Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original

Re: [PHP-DEV] switch, equality and preg_match

2001-07-03 Thread Brian Moon
If you look back to the original problem, switch was matching the 0 returned from preg_match to a string. However, if the return value is a boolean it would not match 0 to a string. However, I guess it would then match the true to a string. Brian Moon

Re: [PHP-DEV] php 4.1 or php 5.0

2001-07-04 Thread Brian Moon
the passed array. There is just a lot of stuff like that. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Phil Driscoll [EMAIL PROTECTED] To: php

Re: [PHP-DEV] php 4.1 or php 5.0

2001-07-09 Thread Brian Moon
convention. 2. convert all function params to a standard order. 3. get rid of old aliased functions. 4. Make sure all return codes are consistent. Some are 1 or 0 some are true or false. What else is there? I am sure there is more. Brian Moon

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Brian Moon
That is not completely true. If there is a file in the included scripts dir that has the same name as one in the including scripts dir, that would cause some unexpected problems. I still like the idea. Brian Moon -- dealnews.com, Inc. Makers of dealnews

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Brian Moon
be at least a 4.1 thing. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED]; Vlad Krupin [EMAIL PROTECTED

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Brian Moon
different server setups. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Vlad Krupin [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: Zeev Suraski [EMAIL PROTECTED

Re: [PHP-DEV] shell programming

2001-07-20 Thread Brian Moon
Have a look at the $argv variable. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: void [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP-DEV] faster serializer?

2001-08-03 Thread Brian Moon
I would love to see a faster serializer. I think serializing has a lot of upsides but the downside right now is performance. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com

Re: [PHP-DEV] Linux Today Article

2001-08-15 Thread Brian Moon
way. I just don't get it. It is all 1's and 0's. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: John Donagher [EMAIL PROTECTED

Re: [PHP-DEV] mysql_fetch_xml

2001-08-23 Thread Brian Moon
This is a very neat function. I may be able to use it. Having said that I think it is best left as a userland function. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message

[PHP-DEV] Error messages go to stderr

2001-09-06 Thread Brian Moon
this was added in 4.0.6 as my 4.0.5 install does not do it. however I can not find any code that does it. Any ideas. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ -- PHP Development Mailing List http

Re: [PHP-DEV] Error messages go to stderr

2001-09-06 Thread Brian Moon
Well, i just tried the latest CVS and it does not do it. So, I guess I will forget about that. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Brian Moon [EMAIL

Re: [PHP-DEV] patch to make for better shell scripting

2001-09-07 Thread Brian Moon
I thought about that. But I decided against it as we have had some times where that has saved our hides here. I think that is best left to be added on a per script basis. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com

Re: [PHP-DEV] Better shell scripting

2001-09-07 Thread Brian Moon
it breaks all my code that I want the -S option for. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Boian Bonev [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Brian Moon
See bug 13616. Brian. - Original Message - From: Stanislav Malyshev [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: PHP Development [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:01 AM Subject: Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Brian Moon
Hold off on that file. I made an error. Let me fix it. Brian. - Original Message - From: Andrei Zmievski [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 9:53 AM Subject: Re: [PHP-DEV] New zend_compile.c

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Brian Moon
. The other thing is that backward compatiblity was broken when it did not have to be. include_once is a *new* function in PHP to lots of people. Brian. - Original Message - From: Stanislav Malyshev [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: PHP Development [EMAIL PROTECTED] Sent

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Brian Moon
a function from being defined twice. It will simply also allow people who have become accustomed to using the language this way to keep doing it. Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Brian Moon
Ok, here is the _diff_ that will do it right. Brian. - Original Message - From: Brian Moon [EMAIL PROTECTED] To: Andrei Zmievski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:11 AM Subject: Re: [PHP-DEV] New zend_compile.c to solve all

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Brian Moon
If we were designing the language from the ground up I would agree with you. However, we are talking about a language that is already being used by lots of people. Therefore I see no reason to break the old code. Brian Moon

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Brian Moon
The problem is backward compatiblity. That is the biggest thing at stake here. Daniel and I are a bit skewed as we have over 1000 files full of code that start with something like: if(defined(_FILE_NAME)) return; define(_FILE_NAME, 1); This was our solution _before_ include_once ever existed

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Brian Moon
- Even with no protection at all, function redefinitions will not be reported. That's kind of ugly. An E_NOTICE is raised at runtime. I know many people ignore these, but it is there. Brian. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-21 Thread Brian Moon
This would be done at the configuration level I take it? Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Zeev Suraski [EMAIL PROTECTED

Re: [PHP-DEV] Echo vs in/out

2001-10-28 Thread Brian Moon
It has always been my understanding that in/out is faster as PHP does not have to evalutate the terms for variables. The best test would be to use an app like apache bench (aka: ab) against the two pages. Like this: Test 1 --- ?php $var=array(1,2,3,4,5);

[PHP-DEV] Additional ENV Vars with Apache 2.0.28 and PHP 4.1.0 RC2

2001-11-16 Thread Brian Moon
, Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP-DEV] Additional ENV Vars with Apache 2.0.28 and PHP 4.1.0 RC2

2001-11-17 Thread Brian Moon
, please do not comment with a prepared newbie reply. FYI, - Original Message - From: Zak Greant [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, November 17, 2001 12:45 AM Subject: Re: [PHP-DEV] Additional ENV Vars with Apache 2.0.28 and PHP 4.1.0 RC2

Re: [PHP-DEV] Additional ENV Vars with Apache 2.0.28 and PHP 4.1.0 RC2

2001-11-17 Thread Brian Moon
I just compiled with the latest CVS and yes it is there. Thanks, Brian. - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Sebastian Bergmann [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, November 17, 2001 5:57 AM Subject: Re: [PHP-DEV] Additional ENV Vars with

[PHP-DEV] FYI: Apache 2.0.28 and latest CVS running fine at phorum.org

2001-11-18 Thread Brian Moon
Hi all, I am running latest CVS and Apache 2.0.28 at phorum.org on port 8080. I could not however run 4.1 RC2 because of some fixes that had to be made to load environment variables. So, FWIW, 4.1 RC2 will not work with Apache 2.0.28, the latest beta from Apache 2.0 tree. I am running Phorum

Re: [PHP-DEV] PHP 4.1.0 Final RC QA Status

2001-11-21 Thread Brian Moon
I built it on Linux with Apache 2.0.28. I guess no one merged the HEAD changes in that will make it work with Apache2Filter. Latest HEAD works fine with 2.0.28. Brian. - Original Message - From: Derick Rethans [EMAIL PROTECTED] To: Zak Greant [EMAIL PROTECTED] Cc: PHP Quality

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP 4.1.0 Final RC QA Status

2001-11-21 Thread Brian Moon
You might have thought it was junk, but did you look at the one from the Nullsoft guys? http://www.nullsoft.com/free/nsis/ Brian. - Original Message - From: Phil Driscoll [EMAIL PROTECTED] To: James Moore [EMAIL PROTECTED]; Zak Greant [EMAIL PROTECTED]; Jani Taskinen [EMAIL PROTECTED];

Re: [PHP-DEV] PHP 4.1.0

2001-11-25 Thread Brian Moon
What is the turn around for 4.2 and will the shell patch I submitted be in it? Brian. - Original Message - From: Zeev Suraski [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, November 25, 2001 8:57 PM Subject: [PHP-DEV] PHP 4.1.0 | I packaged PHP 4.1.0. It's

Re: [PHP-DEV] BC problem

2001-11-28 Thread Brian Moon
This has already been discussed at great length in another thread. I believe it was decided to put it all back like it was for now and decide on a better solution later. Brian. - Original Message - From: Markus Fischer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November

Re: [PHP-DEV] BC problem

2001-11-28 Thread Brian Moon
/ Andi, Zeev, I thought we were going to back out that change? Brian. - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED]; Markus Fischer [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 28, 2001 2:23 PM Subject: Re: [PHP-DEV] BC problem

Re: [PHP-DEV] about php4.1.0 with apache2.x (httpd-2_0_28)

2001-11-29 Thread Brian Moon
Your best bet with Apache 2 is to compile Apache with DSO support and compile PHP with apxs2. Brian. - Original Message - From: sam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 3:58 AM Subject: [PHP-DEV] about php4.1.0 with apache2.x (httpd-2_0_28) | Try

Re: [PHP-DEV] BC problem

2001-11-29 Thread Brian Moon
Are the changes that make Apache 2.0.28 work included in those changes? Brian. - Original Message - From: Zeev Suraski [EMAIL PROTECTED] To: Markus Fischer [EMAIL PROTECTED] Cc: Andi Gutmans [EMAIL PROTECTED]; Brian Moon [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, November 29

Re: [PHP-DEV] BC problem

2001-11-29 Thread Brian Moon
Moon [EMAIL PROTECTED] Cc: Markus Fischer [EMAIL PROTECTED]; Andi Gutmans [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 8:14 AM Subject: Re: [PHP-DEV] BC problem I don't believe so. They should be either, as Apache 2.0 is alpha code... Zeev At 16:09 29/11/2001, Brian

Re: [PHP-DEV] about php4.1.0 with apache2.x (httpd-2_0_28)

2001-12-19 Thread Brian Moon
Yes, PHP 4.1 does not work with Apache 2.0.28. You would need to use a recent CVS snapshot. It does however compile and appear to work fine. at first. Brian. - Original Message - From: sheens [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Brian Moon [EMAIL PROTECTED] Sent: Wednesday

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Brian Moon
No offense Benjamin, but you don't understand the conversation. This is about running PHP apps in consoles, mail pre-processors and as cron jobs where exit status is needed. The only way to get an exit status is with exit. Brian. - Original Message - From: benjamin yates [EMAIL

Re: [PHP-DEV] exit() summary

2001-12-19 Thread Brian Moon
I say we apply the shell_exit() patch and move on with our lives. If you are dead set on making exit work like that, then change your own code and be happy. I just want a solution ASAP. The code is written. Brian. - Original Message - From: Markus Fischer [EMAIL PROTECTED] To: Derick

Re: [PHP-DEV] exit()

2001-12-25 Thread Brian Moon
+1 - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 21, 2001 3:20 AM Subject: [PHP-DEV] exit() | Guys, | | I just read the whole thread about exit() now. Boy you guys write a lot :) | Unlike Zeev I think that overloading exit() is

[PHP-DEV] References - good or bad

2001-12-28 Thread Brian Moon
, shouldn't this be documented? Am I missing something? Brian Moon -- dealnews.com, Inc. Makers of dealnews dealmac http://dealnews.com/ | http://dealmac.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-DEV] Custom Extensions and Super Globals

2002-06-20 Thread Brian Moon
a push in the right direction to making it happen? Thanks, Brian Moon dealnews.com Phorum.org -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Custom Extensions and Super Globals

2002-06-20 Thread Brian Moon
big thanks. Brian. - Original Message - From: Brad LaFountain [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 3:32 PM Subject: Re: [PHP-DEV] Custom Extensions and Super Globals | I believe you are looking

Re: [PHP-DEV] Custom Extensions and Super Globals

2002-06-20 Thread Brian Moon
? Brian. - Original Message - From: Brad LaFountain [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 3:32 PM Subject: Re: [PHP-DEV] Custom Extensions and Super Globals | I believe you are looking for | | zend_register_auto_global

Re: [PHP-DEV] Custom Extensions and Super Globals

2002-06-20 Thread Brian Moon
Well, I kept playing with and got it to work. I changed the sizeof(AUTOGLOBAL_G(global_vars))-1 to strlen(AUTOGLOBAL_G(global_vars)). Any reason not to use this. Brian. - Original Message - From: Brian Moon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 6:32 PM

[PHP-DEV] register_shutdown_function = register_offline_function

2002-12-05 Thread Brian Moon
mysql_fetch_assoc, got it commited and never looked back on that one. Thanks for the time. Brian Moon dealnews.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] register_shutdown_function = register_offline_function

2002-12-05 Thread Brian Moon
Ok, I reopened the bug. It fails with latest CVS. [root@dealnews php4-200212051430]# ./sapi/cgi/php-cgi csv.php Content-type: text/html X-Powered-By: PHP/4.4.0-dev Array ( [0] = 6 [1] = 7 [2] = 8 [3] = line1 ) Segmentation fault Brian Moon dealnews.com - Original Message

[PHP-DEV] fgetcsv problems was: register_shutdown_function = register_offline_function

2002-12-05 Thread Brian Moon
Well, this goes back to my original problem with fgetcsv then. I can not find another application that will accept a CSV file that will allow mutliline quoted fields. They stop at the newline regardless. Brian Moon dealnews.com - Original Message - From: Ilia A. [EMAIL PROTECTED

[PHP-DEV] Single quotes VS. Double quotes

2002-12-13 Thread Brian Moon
; we basically identical. Andi, Zeev, if you want waste some energy on exanding on why this is and if anything in ZE2 will change it I would find it a good read. Brian Moon dealnews.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Single quotes VS. Double quotes

2002-12-13 Thread Brian Moon
Man, I wish that answered my question, but it does not address string concatenation vs. variables in double quoted strings anywhere on there. Thanks for trying. Brian Moon dealnews.com - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED]; [EMAIL

Re: [PHP-DEV] Single quotes VS. Double quotes

2002-12-13 Thread Brian Moon
I am using 4.2.2-dev. Must be a stable build from snaps.php.net. I will read the archives. Brian Moon dealnews.com - Original Message - From: George Schlossnagle [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: Brian Moon [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday

[PHP-DEV] zlib + register_shutdown_function

2002-12-23 Thread Brian Moon
I just put a comment on the register_shutdown_function bug, but I am not sure if comments go to the list or not. Here was the comment: -- The following script will cause IE to stop loading the page when zlib.output_compression is used.

Re: [PHP-DEV] [PATCH]apache_register_shutdown_function final version

2002-12-30 Thread Brian Moon
So, is this going to get added? I have seen very little response to Joseph from the list. I would very much like to see this as register_shutdown_function is/was crucial to us in it previous form. Brian Moon dealnews.com - Original Message - From: Joseph Tate [EMAIL PROTECTED] To: Php

Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-06 Thread Brian Moon
From what I understand, all OO code will have to be modified for PHP5. Constructors for example and no longer named the same as the class name. That alone means every class must be changed. I don't recall anyone saying it would be BC either, but I could be wrong. Brian Moon

Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-06 Thread Brian Moon
| I don't recall anyone saying | it would be BC either, but I could be wrong. | | You're wrong. | | Of course, I could be too. | | but you're not. so its ok... | So current PHP4 classes will still work in ZE2? Brian. -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] when PHP code causes crash due to bad input, is it a bug?

2003-01-10 Thread Brian Moon
| I have worked as Sr. SQA engineer for many years and have always worked | under the understanding that crashes are unacceptible - no matter what | caused them: code should be able to handle bad data and not crash. Agreed, IMO, if it in fact crashes, it is not bogus. Brian Moon dealnews.com

[PHP-DEV] sapi/embed ?

2003-01-17 Thread Brian Moon
I just noticed sapi/embed. Where can I find out more about what this is? I am hoping it is a sapi that will create a generic library that can be used from any C application. Is this true? Brian Moon dealnews.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit

[PHP-DEV] Distributing Extensions

2003-01-22 Thread Brian Moon
the code, run buildconf, etc., but I wondered if there was a preferred way of handling C extensions. Is PECL ready for this stuff? Thanks, Brian Moon dealnews.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-01-23 Thread Brian Moon
+1 for me too. It seems a lot of people (like us at dealnews) built large time consuming applications around the concept of register_shutdown_function working like this. I would love to have this back. Brian Moon dealnews.com - Original Message - From: Joseph Tate [EMAIL PROTECTED

Re: [PHP-DEV] roadmap of PHP - where? PHP 5 - when?

2003-01-23 Thread Brian Moon
| Imagine a company office where the programmers get paid per hour while | spending tons of time at the round table of a meeting room throwing into | each other what they like better and why. In open source this happens a | lot. hey, who let you in to the dealnews dev room? Brian. dealnews.com

Re: [PHP-DEV] Re: Register Shutdown Function for Apache

2003-01-28 Thread Brian Moon
It also does not send the headers if there is not content. ?php header(Location: http://spidey.dealnews.com/;); exit(); ? Document Contains No Data. Brian. dealnews.com - Original Message - From: Brian Moon [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Joseph Tate [EMAIL PROTECTED

Re: [PHP-DEV] Re: Register Shutdown Function for Apache

2003-01-28 Thread Brian Moon
Give me a patch and I will tell you. ;) Brian Moon dealnews.com - Original Message - From: Zeev Suraski [EMAIL PROTECTED] To: Joseph Tate [EMAIL PROTECTED] Cc: Brian Moon [EMAIL PROTECTED]; Php-Dev List [EMAIL PROTECTED]; PHP Group [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 4:03

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-03 Thread Brian Moon
Hmm, there is #define MOD_PHP4_H in sapi/apache/mod_php4.h. Not real descriptive, but seems to be unique to the Apache sapi. Brian Moon dealnews.com - Original Message - From: Joseph Tate [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Brian Moon
Well, it is not just apxs is it? The same would be true if --with-apache was used. Brian Moon dealnews.com - Original Message - From: Joseph Tate [EMAIL PROTECTED] To: Jani Taskinen [EMAIL PROTECTED] Cc: Php-Dev List [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 9:04 AM Subject

Re: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli

2003-02-11 Thread Brian Moon
Do you have some sample code or a function list? Brian Moon dealnews.com - Original Message - From: Georg Richter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 6:08 PM Subject: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli | Hi

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Brian Moon
Jani, are you volunteering to add it? If so, please do so at your earliest convience. Brian Moon dealnews.com - Original Message - From: Jani Taskinen [EMAIL PROTECTED] To: Joseph Tate [EMAIL PROTECTED] Cc: Php-Dev List [EMAIL PROTECTED] Sent: Monday, February 10, 2003 6:16 PM Subject

Re: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli

2003-02-12 Thread Brian Moon
my bad, forgive me. Brian Moon dealnews.com - Original Message - From: Sebastian Bergmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 11:47 PM Subject: Re: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli | Brian Moon wrote: | Do you have

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Brian Moon
| -1. | | The list could be renamed so that it is less confusing for | newbie PHP developers. | | - Sascha I agree. Brian. dealnews.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php