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 To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Two ZE2 problems

2003-02-21 Thread Brian Moon
| class foo {} | class bar { | var $baz = 'foo'; | } | $bar = new bar(); | $foo = new $bar->baz; // let's call this line 6 | | It runs fine on ZE1, but ZE2 bails out with "parse error, unexpected | T_OBJECT_OPERATOR on line 6". Should this work? YOu are using new with a returned v

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 | Br

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 PRO

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 PH

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 PROT

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]>; <[E

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" <[EMA

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. http://spidey.dealnews.com/";); exit(); ?> Document Contains No Data. Brian. dealnews.com - Original Message - From: "Brian Moon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Joseph

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

2003-01-28 Thread Brian Moon
You are correct. The output buffer is not auto-flushed with this patch. Brian. dealnews.com - Original Message - From: "Zeev Suraski" <[EMAIL PROTECTED]> To: "Joseph Tate" <[EMAIL PROTECTED]> Cc: "Php-Dev List" <[EMAIL PROTECTED]>; "PHP Group" <[EMAIL PROTECTED]> Sent: Tuesday, January 2

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] 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" <[EM

[PHP-DEV] Distributing Extensions

2003-01-22 Thread Brian Moon
cs that tell you where to stick 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

[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,

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

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 To

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. Br

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 P

[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] 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&qu

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 Mo

[PHP-DEV] Single quotes VS. Double quotes

2002-12-13 Thread Brian Moon
and $var='This is test number '.$x; 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/

[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." <[EM

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 --

[PHP-DEV] register_shutdown_function => register_offline_function

2002-12-05 Thread Brian Moon
default. So, i wrote 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] 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: Thu

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

2002-06-20 Thread Brian Moon
r So, _TEST is getting read from the ini file, but it is not getting auto globaled. I get no errors when compiling. Does anybody see the error? Brian. - Original Message - From: "Brad LaFountain" <[EMAIL PROTECTED]> To: "Brian Moon" <[EMAIL PROTECTED]>

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 Glo

[PHP-DEV] Custom Extensions and Super Globals

2002-06-20 Thread Brian Moon
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

[PHP-DEV] References - good or bad

2001-12-28 Thread Brian Moon
fied by a function. If this is the case, 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

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()

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: "De

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 PROT

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 Moo

Re: [PHP-DEV] first bug report for 4.1.0 (was [PHP-DEV] Bug #14329: Mail() does not work)

2001-12-03 Thread Brian Moon
The next one is going have to come out so soon it won't matter. We all know how far behind HEAD 4.1.0 is. Brian. - Original Message - From: <[EMAIL PROTECTED]> To: "Joao Prado Maia" <[EMAIL PROTECTED]> Cc: "Hartmut Holzgraefe" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "PHP Developers Ma

Re: [PHP-DEV] BC problem

2001-11-29 Thread Brian Moon
ROTECTED]> To: "Brian 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 beli

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]>; "Bria

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) |

Re: [PHP-DEV] BC problem

2001-11-28 Thread Brian Moon
CVS I get: 4.2.0-dev Fatal error: Cannot redeclare test() (previously declared in /home/brian/public_html/include.php:8) in /home/brian/public_html/include.php on line 9 Andi, Zeev, I thought we were going to back out that change? Brian. - Original Message - From: "Andi Gutmans&quo

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, Novem

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.

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" <[EMA

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

[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] 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 Va

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] Addition

[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 comma

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 --- results: - This is ApacheBench, Version 1.3c <$Revisi

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&quo

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 To unsubscribe, e-mail: [EMAIL PROTECTED]

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

2001-10-19 Thread Brian Moon
they are added and then an ERROR is raised. Brian. - Original Message - From: "Edin Kadribasic" <[EMAIL PROTECTED]> To: "Brian Moon" <[EMAIL PROTECTED]>; "Daniel Beckham" <[EMAIL PROTECTED]> Cc: "PHP Development" <[EMAIL PROTECT

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 exist

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-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

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

2001-10-18 Thread Brian Moon
w). If there > was a bug that allowed to do it, it's a logical thing to fix it, not to > drag it through versions as if it should be so. And my fix will keep a function from being defined twice. It will simply also allow people who have become accustomed to using the language t

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

2001-10-18 Thread Brian Moon
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]&g

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

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]

Re: [PHP-DEV] Better shell scripting

2001-09-07 Thread Brian Moon
cause 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]>

Re: [PHP-DEV] Better shell scripting

2001-09-07 Thread Brian Moon
We could make this part of the -S option that I have just submitted a patch for. Brian Moon -- dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: "Boian Bonev" <

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

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

2001-09-06 Thread Brian Moon
let me know. Brian Moon -- dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews.com/ | http://dealmac.com/ shellmode.diff -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

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: "B

[PHP-DEV] Error messages go to stderr

2001-09-06 Thread Brian Moon
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 &

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 Mes

Re: [PHP-DEV] Linux Today Article

2001-08-15 Thread Brian Moon
he MS 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 Donaghe

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] 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: &

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" <[EM

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

2001-07-09 Thread Brian Moon
t think it should 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

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] 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] php 4.1 or php 5.0

2001-07-04 Thread Brian Moon
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 P

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] switch, equality and preg_match

2001-07-02 Thread Brian Moon
IMO, I like preg_match to return a bool and preg_match_all return a count. But that is me. It may be thought of as inconsistent to some. I just see the functions has having a different purpose. Brian Moon -- dealnews.com, Inc. Makers of dealnews

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

2001-07-01 Thread Brian Moon
beta\n"; } elseif($match===0) { echo "hmm.. gamma\n"; } elseif($match===TRUE) { echo "hmm.. TRUE\n"; } elseif($match===FALSE) { echo "hmm.. FALSE\n"; } Brian Moon -- dealnews

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] 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] 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] Adding URI Translation Handlers

2001-06-22 Thread Brian Moon
n 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://de

Re: [PHP-DEV] [[email protected]: Re: [PHP-DEV] Adding URI Translation Handlers]

2001-06-22 Thread Brian Moon
d.com/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://de

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

2001-06-22 Thread Brian Moon
g very bad fragmentation. I fixed it so that it'll minimize memory fragmentation in between requests." So, good for PHP! Brian Moon -- dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message

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

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/ |

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

[PHP-DEV] Command line option for shell scripting

2001-06-20 Thread Brian Moon
INI file. 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 & dealma

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

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread Brian Moon
and turns 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" <[E

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
But, that all makes sense and tells me that it is not worth pursuing. Is the regex lib bundled with apache always as part of the core or just included with certain modules? Brian Moon -- dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews

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 -

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]> T

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 PROTECT

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

[PHP-DEV] removing ereg functions

2001-05-15 Thread Brian Moon
Is it possible to remove the ereg functions? We have a strict policy to only use preg as they are more reliable and faster. So, I am not to happy that PHP is bloated with these ereg functions. Any thoughts? 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.

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

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

2001-05-14 Thread Brian Moon
still a long integer in value, but it is a different representation of that number. As for why it was that way to begin with, I am not sure. I could be that it would be too confusing like you say or that type casting was introduced before using hex or octal numbers was. 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 -

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] PHP 4.0 Bug #8889 Updated: Memory is not being freed.

2001-04-30 Thread Brian Moon
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

  1   2   >