[PHP-DEV] emulating http request on commandline?

2001-07-12 Thread Brian Lalor
for the php cgi binary to see? Thanks, B -- Brian Lalor [EMAIL PROTECTED] (v) 480-333-3196 (f) 480-760-9298 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP-DEV] Help with corrupted defines [bug 11990]

2001-07-12 Thread Brian Lalor
-- Brian Lalor [EMAIL PROTECTED] (v) 480-333-3196 (f) 480-760-9298 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] many errors with zend_debug on

2001-07-13 Thread Brian Lalor
) At least 4 bytes overflown I'm seeing this with php 4.0.6. Thanks, B -- Brian Lalor [EMAIL PROTECTED] (v) 480-333-3196 (f) 480-760-9298 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP-DEV] More on the corrupted defines

2001-07-16 Thread Brian Lalor
. Will someone take a look at this? I'll try to bundle up a set of scripts that reproduces the error. Thanks, B -- Brian Lalor [EMAIL PROTECTED] (v) 480-333-3196 (f) 480-760-9298 error_log.bz2 debug_patch.bz2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [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] Security Issues

2001-07-25 Thread Brian Tanner
it is just too difficult for them to learn. My .02 -Brian Tanner this is not a language issue, it is a script-coder one, if someone is not able to handle this, he is not able to write scripts if register_globals is turned off too - Peter -- PHP Development Mailing List http://www.php.net

RE: [PHP-DEV] Bug #12381: Data Structure Dumper Feature Needed

2001-07-25 Thread Brian Tanner
Actually its a great enough idea that its already there ;) http://www.php.net/manual/en/function.serialize.php Internal Format XML Variant if you want to communicate between apps http://www.php.net/manual/en/ref.wddx.php :) I think thats what you are looking for Brian Tanner Project Manager

RE: [PHP-DEV] Security Issues

2001-07-26 Thread Brian Tanner
introduce any new syntax... I don't really see the advantage of the accept_parameters idea. -Brian Tanner -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

RE: [PHP-DEV] Security Issues

2001-07-27 Thread Brian Tanner
, they should write things where they can actually hurt someone. Anyway, thats my .02. I'm done talking about this issue... its a difference of opinion, which is generally very hard to resolve -- and no amount of logical dicussion can change the mind of either group. -Brian T -Original Message

RE: [PHP-DEV] Security Issues

2001-07-27 Thread Brian Tanner
hit counters either. I'm actually working on a very large project that I'm going to tell you all about one day soon, when its done ;) -Brian T -Original Message- From: Zeev Suraski [mailto:[EMAIL PROTECTED]] Sent: July 27, 2001 10:06 AM To: Brian Tanner Cc: [EMAIL PROTECTED] Subject: RE

Re: [PHP-DEV] Security Issues

2001-07-27 Thread Brian Foddy
[ post_user_name] is much more straight forward. But is there a $_POST call also? Making a important distinction between data posted or getted input? If so, that may be a small inconvienence. Good debate tho, and well timed for other issues I'm dealing with. Brian -- PHP Development Mailing List http

RE: [PHP-DEV] Security Issues

2001-07-27 Thread Brian Tanner
Brian Foddy actually brings up a really important issue, which would go along way to making (at least me) much happier with the proposed change. *If* there will be: $_Get[] $_Post[] $_Cookie[] -- can we also have something else to the tune of: $_External or $_User or $_Something That gets

FW: [PHP-DEV] Security Issues

2001-07-30 Thread Brian Tanner
Just passing this along form Ramsi... who sent it to me instead of the list. (unless he wants to unsubscribe from my point of view :P )-Original Message-From: Ramsi Sras [mailto:[EMAIL PROTECTED]]UNSUBSCRIBE ME PLEASE!! Brian Tanner schrieb: Brian Foddy actually

[PHP-DEV] HEY RASMI SRAS -- READ THE BOTTOM OF THE MESSAGE

2001-07-30 Thread Brian Tanner
To unsubscribe, e-mail: [EMAIL PROTECTED]

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

[PHP-DEV] [patch] IMAP setacl command...

2001-08-07 Thread Brian Masney
I have enclosed a patch that adds support for the IMAP setacl command that is found in the Cyrus IMAP package (and probably others). If anyone has any problems with this, please let me know. Brian diff -ru php-4.0.6-orig/ext/imap/php_imap.c php-4.0.6/ext/imap/php_imap.c --- php-4.0.6-orig/ext

Re: [PHP-DEV] [patch] IMAP setacl command...

2001-08-07 Thread Brian Masney
On Tue, 7 Aug 2001, Chuck Hagenbuch wrote: Quoting Brian Masney [EMAIL PROTECTED]: I have enclosed a patch that adds support for the IMAP setacl command that is found in the Cyrus IMAP package (and probably others). If anyone has any problems with this, please let me know. Please

RE: [PHP-DEV] Security proposal - SPHP and helper functions

2001-08-07 Thread Brian Tanner
it, etc, etc -- but it would be much simpler if I had a better way to get/check some things. -Brian Tanner //Original Message function get_input ($variable) # Return value of input named variable, or if unset. # This pays attention to gpc_order, and looks at # $HTTP_COOKIE_VARS

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

RE: [PHP-DEV] Bug #12965 Updated: fopen() don't open URL files

2001-08-28 Thread Brian Tanner
redirect. fopen cannot handle the redirect. -Thought I'd give a shot at a little explanation instead of just suggesting the /. -Brian Tanner -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: August 28, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: [PHP-DEV] Bug #12965

Re: [PHP-DEV] Sybase and Sybase-CT and MSSQL, oh my?]

2001-09-06 Thread Brian Foddy
? Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[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] Re: Sybase Stored Procedures

2001-10-02 Thread Brian Foddy
that claims to provide multiple result set capability, but I haven't tried it and to my knowledge its not been added to the CVS code yet. If it works, it would probably allow much more complex sp's. Brian Daniel Andersson wrote: we are using sybase stored procedures with no problems what so

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
if the function is being declared in a different location than it has alread been encountered. Brian. - Original Message - From: Edin Kadribasic [EMAIL PROTECTED] To: Daniel Beckham [EMAIL PROTECTED] Cc: PHP Development [EMAIL PROTECTED] Sent: Friday, October 19, 2001 9:27 AM Subject: Re: [PHP-DEV

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
://www.apache.org/ Server Software:Apache/1.3.20 Server Hostname:phorum.org Server Port:80 Document Path: /~brian/test.php Document Length:500 bytes Concurrency Level: 3 Time taken for tests: 0.523 seconds Complete requests: 100 Failed requests:0

[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

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

2001-11-18 Thread Brian Moon
of course and have seen no errors with this setup. Try it if you want. http://phorum.org:8080/ Brian. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

Re: [PHP-DEV] Bug #14030: sybase ct_init fails

2001-11-18 Thread Brian Foddy
? DwebQuery=protocol+driver+failed#X for more hints. Reply if you still have problems and I'll look at my detailed build script tomorrow to see what minor tweaks I made to the build scripts for PHP. Brian On 12 Nov 2001 13:58:15 -, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED

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
/br bFatal error/b: Cannot redeclare test() in b/home/brian/public_html/include.php/b on line b9/bbr with CVS I get: 4.2.0-devbr /br / bFatal error/b: Cannot redeclare test() (previously declared in /home/brian/public_html/include.php:8) in b/home/brian/public_html/include.php/b on line b9/bbr

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
2.0.28 brought it into beta. Current HEAD of PHP works fine. I just thought if there is going to be a release of PHP we might want it to work with all the latest builds if possible. The code is there in HEAD. Brian. - Original Message - From: Zeev Suraski [EMAIL PROTECTED] To: Brian

[PHP-DEV] sybase-ct patch

2001-11-29 Thread Brian Bruns
Hi all, This is a patch to ext/sybase_ct/config.m4 to detect if FreeTDS is installed instead of openclient and use the right library list depending on that. If someone wants to look it over to make sure it looks good, I'll check it in. Cheers, Brian Index: config.m4

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] Advice wanted on function arguments

2002-01-05 Thread Brian Foddy
the arg type for solution 2. Let me re-stress, I'm talking about a PHP C code module, not PHP code. I can provide more detailed description if you need. Thoughts? Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP-DEV] CVS Account Request: mabouzou

2002-01-25 Thread Brian Bruns
Isn't SQL Any accessed via ODBC and/or sybase openclient? What does the new driver do that these don't (Not knocking the extension, just curious)? Brian On 25 Jan 2002, Mohammed Abouzour wrote: I have writen an extension that allows PHP to connect to SQLAnywhere databases. I would like

[PHP-DEV] patch for sybase extension

2002-02-15 Thread Brian Bruns
FreeTDS now supports alternate date formats when converting datetime to char. The current PHP code however passes NULL as the first argument to dbconvert(), so the code doesn't know what format is currently set. This patch passes the dbprocess instead. Anybody mind if I check it in? Brian

Re: [PHP-DEV] --with-sybase and --with-ibm-db2 conflict

2002-02-24 Thread Brian Bruns
on thursday. Brian On Sun, 24 Feb 2002, Rasmus Lerdorf wrote: Unlikely unless you figure out how to fix it and submit a patch. Very few developers have access to that combination to test things with. -Rasmus On Sun, 24 Feb 2002, Casey Allen Shobe wrote: On Friday 22 February 2002 19

Re: [PHP-DEV] PHP module creation

2002-03-03 Thread Brian Foddy
This is a good place to start http://wwwzendcom/apidoc/ Brian On Sun, 3 Mar 2002 19:30:09 -0600, topside wrote: st want to use some C functions with -- PHP Development Mailing List http://wwwphpnet/ To unsubscribe, visit: http://wwwphpnet/unsubphp

Re: [PHP-DEV] Vote on New Build System

2002-03-07 Thread Brian Foddy
the goals you outlined and your results look promising. Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Config.m4 help

2002-03-12 Thread Brian Foddy
or places I can start to work this out? Much appreciated. Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Linking pthread in a module

2002-03-12 Thread Brian Foddy
; even tho the whole of PHP is not (assume I'm doing a standard Apache 1.3 module build). Does anyone have any thoughts on this? Raise any red flags, etc? Assume Solaris or Linux, systems that obviously support the threading libraries in some fashion. Brian -- PHP Development Mailing List http

[PHP-DEV] Re: Crash in Apache2Filter

2002-04-09 Thread Brian Havard
Sebastian Bergmann wrote: Win32, Apache 2.0.36-dev, PHP 4.2.0-dev (both current CVS) ap_save_brigade(ap_filter_t * 0x00800e40, apr_bucket_brigade * * 0x00800a8c, apr_bucket_brigade * * 0x10e6fe6c, apr_pool_t * 0x007ff898) line 562 + 49 bytes php_output_filter(ap_filter_t * 0x00800e40,

[PHP-DEV] Re: [PATCH] rev. 2 of my apache2filters SEGV fixes

2002-04-10 Thread Brian Havard
Aaron Bannert wrote: I posted this patch earlier, but this has some improvements. First of all, it's tabified, so we have consistent style. It also has some performance improvements suggested by Cliff Woolley, including one that will significantly improve output buffering/copying. The main

[PHP-DEV] Re: [PATCH] rev. 2 of my apache2filters SEGV fixes

2002-04-11 Thread Brian Havard
On Thu, 11 Apr 2002 01:14:37 -0400 (EDT), Cliff Woolley wrote: On Thu, 11 Apr 2002, Brian Havard wrote: - while (str_length 0) { ... - str += now; - str_length -= now; - } ... - return str_length; + return 0; /* we wrote everything, we promise! */ Why did

[PHP-DEV] T1lib thread safety

2002-04-12 Thread Brian Havard
While doing some testing with Apache 2.0.35+PHP4.2.0RC3 I'm getting random crashes in T1_LoadFont(). Looking through the t1lib source (v1.3.1) I see frequent use of global variables which suggests it isn't thread safe. Is this a known problem? Maybe some mutexes in GD would help -- PHP

Re: [PHP-DEV] T1lib thread safety

2002-04-13 Thread Brian Havard
own modified GD with PHP. I was actually thinking of just the GD PHP extension as the GD library itself doesn't call t1lib. It's the ImagePS* functions that do. On Sat, 13 Apr 2002, Brian Havard wrote: While doing some testing with Apache 2.0.35+PHP4.2.0RC3 I'm getting random crashes

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
RC cycle. You will have lost a lot of credability from potential users if it core dumps the minute Apache 2 is started. PHP has usually always been very careful about major bugs in releases; until now. Brian On Mon, 22 Apr 2002 22:55:14 +0200 (CEST), Derick Rethans wrote: The PHP Group

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
. But this looks to me that with the much touted Apache 2 compatibility in this version, it could have waited just a little longer. Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
, and Apache starts fine without PHP, hence PHP must be at fault. Simply stating the obvious facts from the public point of view. Brian On Mon, 22 Apr 2002, Rasmus Lerdorf wrote: That is exactly my point. I no more than read the encouraging report that its been identified and is close

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
there is a definate problem, not some potential bug you might encounter. I've said my peace, Good night. Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-23 Thread Brian Foddy
(also nonreproduceable by me) that we have already spent much time on and hope to have solved soon. Brian, I suggest you join the volunteer effort by providing detailed bug reports or even patches to fix problems that you come across. Only then can you ensure that your issues are properly

[PHP-DEV] Problems with extensions...

2002-05-24 Thread Brian France
? I thought I would as before submitting a bug report. Thanks, Brian BTW, no my extension is not named foo_bar, but it does have a underscore it. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Problems with extensions...

2002-05-24 Thread Brian France
, Whether to build $1 as dynamic module) Should I just submit a bug report on this or am I still missing something? Thanks, Brian At 1:33 PM -0700 5/24/02, Brian France wrote: I am changing the way I build my PHP extension and am running into some problems. I was originally would build

Re: [PHP-DEV] Problems with extensions...

2002-05-24 Thread Brian France
Sorry ignore that last email it should read like this: Brian -- After reviewing my fix for this I realize that #define labels can only have A-Z and underscores so this is a better fix: From: AC_DEFINE_UNQUOTED([COMPILE_DL_]translit($1,a-z-,A-Z_), 1, Whether to build $1 as dynamic module

[Fwd: Re: [PHP-DEV] PHP's vision]

2002-06-03 Thread Brian Foddy
-tuxedo.sourceforge.net) if you are interested. Brian Andi Gutmans wrote: At 03:27 PM 6/3/2002 +0300, Jani Taskinen wrote: On Mon, 3 Jun 2002, Andi Gutmans wrote: the web but more for Enterprise transaction based applications such as billing systems. Twisting your words a bit

[PHP-DEV] Zend Engine unloading extension in the wrong order

2002-06-06 Thread Brian France
created a zend_hash_reverse_destroy and call that instead of zend_hash_destroy. There may be a better way to do this, but this is the quick fix for me. I have included a patch below, should I submit a bug report as well? Thanks, Brian diff -rc php-4.2.1/Zend/zend.c *** php-4.2.1/Zend/zend.c

[PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
as well? Thanks, Brian diff -rc php-4.2.1/Zend/zend.c *** php-4.2.1/Zend/zend.c Tue Feb 26 10:59:25 2002 --- php-4.2.1/Zend/zend.c Thu Jun 6 11:32:57 2002 *** *** 487,493 zend_destroy_rsrc_list(EG(persistent_list) TSRMLS_CC); #endif

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
wanted at least one example so I looked at the Apache source. Shouldn't the Zend Engine always unload extension in reverse order it loaded them in? Thanks! Brian BTW, I think the priority for loading in the ini should be an option, but a completely different subject. At 12:12 PM -0700 6/7/02

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
I will try that, but I was worried that the pDestructor function would not get called for each item like it was in zend_hash_destroy. Is this the case? Looking at the code what is the difference between zend_hash_graceful_destroy and zend_hash_destroy? Thanks again for the help! Brian

Re: [PHP-DEV] Fwd: REJECTED:5.1.0.14.2.20020607225328.03df2740@127.0.0.1

2002-06-07 Thread Brian France
Somebody from PRESENCE-GROUP.COM is subscribed to php-dev list and is filtering mail through spamcop or something program. I am getting them to. Brian At 10:58 PM +0300 6/7/02, Andi Gutmans wrote: Any idea why I got this when posting to php-dev? Andi Delivered-To: [EMAIL PROTECTED] Sender

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
Yes, zend_hash_graceful_reverse_destroy() fixes the problem as well. Is this a better solution for the fix? Thanks, Brian At 11:06 PM +0300 6/7/02, Andi Gutmans wrote: At 01:00 PM 6/7/2002 -0700, Brian France wrote: I will try that, but I was worried that the pDestructor function would

[PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-07 Thread Brian Pane
with no actual embedded scripting code) only the loop right after the yy_match label ever got executed. --Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-07 Thread Brian Pane
I wrote: a quick system call profile of PHP-4.2.1 within oops, s/system/function/ --Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Zend Engine expert wanted!

2002-06-08 Thread Brian France
that is a zend_llist instead of a zend_hash, but I believe it unloads in the same order they are loaded instead of reverse. Sorry for not ack'ing earlier. No problem, just glad I confirmed the fix. Thanks for help! Cheers, Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http

[PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-08 Thread Brian Pane
cause of reports of slowness under 2.0. --Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performanceof Apache 2.0 Filter

2002-06-08 Thread Brian Pane
to skip the mutex operations. If you want to try the APR pools, the easiest approach might be to either use the request_rec-pool directly or create a sub-pool from it. --Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performanceof Apache 2.0 Filter

2002-06-08 Thread Brian Pane
Andi Gutmans wrote: At 10:47 AM 6/8/2002 -0700, Brian Pane wrote: ... So the simplest case, the lifetime of a pool looks like: - create the pool, requiring a lock/unlock - do hundreds of allocations from the pool, none of which require locking You mean that different threads can

Re: [PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performanceof Apache 2.0 Filter

2002-06-08 Thread Brian Pane
. --Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performanceof Apache 2.0 Filter

2002-06-08 Thread Brian Pane
Zeev Suraski wrote: At 12:55 AM 6/9/2002, Brian Pane wrote: I just looked through zend_alloc.c. It looks like the HeapCreate only happens once, at startup--did I get that right? It's called on the per-thread startup (start_memory_manager(), which is called from alloc_globals_ctor

Re: [PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performanceof Apache 2.0 Filter

2002-06-09 Thread Brian Pane
help us improve the APR allocator design in the future. Thanks, --Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[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] Re: cvs: php4 /ext/mbstring mbstring.c

2002-06-20 Thread Brian France
Ok, what does exif need from mbstring, code wise? Taking a look at it I don't see any references to mbstring in the code. Thanks, Brian At 8:27 PM +0200 6/20/02, Marcus Börger wrote: You will break ext/exif when removing mbstrings current integration At 04:17 20.06.2002, you wrote: I am

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

Re: [PHP-DEV] Re: cvs: php4 /ext/mbstring mbstring.c

2002-06-20 Thread Brian France
, but it is rather small compared to the one if you build it with phpize, ./configure, make in the ext/mysql directory. Thanks, Brian At 8:44 AM +0900 6/21/02, Yasuo Ohgaki wrote: Brian France wrote: Ok, what does exif need from mbstring, code wise? Taking a look at it I don't see any references

Re: [PHP-DEV] Re: cvs: php4 /ext/mbstring mbstring.c

2002-06-21 Thread Brian France
. :-) Should of just stuck with can be built as a shared extension. Thanks, Brian At 1:57 PM +0100 6/21/02, Wez Furlong wrote: mailparse (now in PECL) also requires that mbstring be installed. More specifically, it requires that the mbstring headers are installed in the pear header directory when

<    1   2   3   >