[PHP-DEV] CVS history file?

2002-03-07 Thread Sean R. Bright
Hello, I had a shell script a while back that would determine all of the patches submitted by a user and it would generate the patch files between that revision and the previous revision. I ended up deleting it with a clean checkout and recently tried to rewrite it. As far as I can remember, I

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / NEWS

2002-02-15 Thread Sean R. Bright
It looks like he was removing it from the NEWS file, not adding it. -Original Message- From: Sebastian Bergmann [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 12:44 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / NEWS Andrei Zmievski wrote:

RE: [PHP-DEV] FWD: possible bug in date() function

2002-02-11 Thread Sean R. Bright
What? The original format string was: H:i D, nS M Y which is the part that makes no sense. He/She should be using: H:i D, jS M Y In other words, RTFM: http://www.php.net/date -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: [PHP-DEV] FWD: possible bug in date() function

2002-02-11 Thread Sean R. Bright
' Subject: Re: [PHP-DEV] FWD: possible bug in date() function Sean R. Bright wrote: What? The original format string was: H:i D, nS M Y which is the part that makes no sense. He/She should be using: As I mentioned, it does not make sense to me also. Some people may want

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/msession msession.c

2002-02-10 Thread Sean R. Bright
I think the issue is not compatibility with external libraries but with previous versions of the engine. IMHO, there is no reason for a module in the HEAD branch to be compatible with older versions of PHP. In the case of MySQL and GD, the ifdefs are used to maintain compatibility with the

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/msession msession.c

2002-02-10 Thread Sean R. Bright
Mark: Don't get me wrong, I have looked into msession, and it does indeed look useful to the PHP community as a whole. It just doesn't make sense to _me_ that backwards compatibility is being maintained to older versions of PHP from the HEAD development branch. I am not saying remove your

[PHP-DEV] Patch for Bug #9280

2002-02-10 Thread Sean R. Bright
Has anyone applied this patch to their local source tree? http://bugs.php.net/bug.php?id=9280 It seems to solve the bug and my server is still stable. (not under much load though, so that could be irrelevant) Sean -- === Sean

RE: [PHP-DEV] PHP TAG

2002-01-23 Thread Sean R. Bright
Manuel, This is the 5th time since the 14th of January that he has sent user level questions to this list, this is not an isolated event. See http://marc.theaimsgroup.com/?a=10110075472r=1w=2 Sean -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: [PHP-DEV] RFC: Moving documents in source

2002-01-19 Thread Sean R. Bright
I like that idea. My only suggestion is that we combine the TODO files into one file and leave both TODO and INSTALL in the root directory, not in the docs folder. When I untar a source distro, I expect to find the INSTALL file at the root level. Sean -Original Message- From: Yasuo

RE: [PHP-DEV] Bug #15060 Updated: include behaviour

2002-01-16 Thread Sean R. Bright
[EMAIL PROTECTED] wrote: ID: 15060 Updated by: hholzgra Old Summary: Keine Ahnung was Ihr hier wollen tut! Old Reported By: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Feedback Bug Type: Date/time related Old Operating System: win 2000 Operating System: im

RE: [PHP-DEV] Built-in SOAP based Web Services support (wasRe: PHP 5)

2002-01-01 Thread Sean R. Bright
Manuel: Is there something stopping you from implementing this? Sean -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Built-in SOAP based Web Services support (wasRe: PHP 5)

[PHP-DEV] zend_parse_parameters()

2001-12-30 Thread Sean R. Bright
Is the goal to existing code over to use the zend_parse_parameters() function or just those functions that take more than one parameter/ optional parameters? Sean -- === Sean Bright [EMAIL PROTECTED] / [EMAIL PROTECTED] /

RE: [PHP-DEV] Re: Suggestion: Adding fmt like linebreak algorithm

2001-12-26 Thread Sean R. Bright
I need to find a plaintext version of Knuth's paper, then maybe I could help. I don't want to look at fmt's code. Sean -Original Message- From: Dominik Roettsches [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 26, 2001 8:15 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re:

RE: [PHP-DEV] Re: Suggestion: Adding fmt like linebreak algorithm

2001-12-25 Thread Sean R. Bright
Doesn't wordwrap() already handle this? Or am i missing something? Sean -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 25, 2001 8:22 PM To: [EMAIL PROTECTED]; Markus Fischer Subject: Re: [PHP-DEV] Re: Suggestion: Adding fmt like linebreak

[PHP-DEV] Karma Request

2001-11-20 Thread Sean R. Bright
I think I am out of karma or something, I tried to commit a fix and received the following error: cvs [server aborted]: commit requires write access to the repository However I received no error on cvs login My username is elixer. Thanks, --

[PHP-DEV] PHP as an Application Server

2001-07-08 Thread Sean R. Bright
I am not bringing this up for discussion as I know alot of the group is against it, I am just wondering if anyone would be interested in a seperate project to get PHP to run as an Application Server. I would like to develop one based off the SAPI and would like there to be parallel development

[PHP-DEV] Is the command line php.exe under Win32 supposed to work at all?

2001-05-23 Thread Sean R. Bright
Just built from CVS and trying to run this script generates the shown output: Script (test.php): ?php $i = 1000; echo ($i\n); ? Output: C:\php4\Release_TSphp -f test.php $i = 1000 ($i\n)

RE: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread Sean R. Bright
The word customer indicates some sort of purchase. No one has ever bought PHP from anyone, and therefore PHP has no customers. At this point you are only responding to the list to piss people off, and that's fine, but the fact is that here is what has to happen. One, you have to fix the code

RE: [PHP-DEV] function suggestion

2001-05-21 Thread Sean R. Bright
This is now implemented in the latest CVS. Grab it from there or try a snaps.php.net sometime tomorrow. Sean -Original Message- From: Alex Black [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 20, 2001 8:39 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] function suggestion I would

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c basic_functions.h

2001-05-21 Thread Sean R. Bright
Since this move happened, I have been getting segfaults with the following script: ?php print_r(get_defined_constants()); ? -Original Message- From: Andrei Zmievski [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: [PHP-CVS] cvs:

RE: [PHP-DEV] returning an unsigned long from RETURN_*

2001-05-19 Thread Sean R. Bright
I think you mean that PHP only supports signed longs... Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 6:02 AM To: Faisal Nasim Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] returning an unsigned long from RETURN_* On

RE: [PHP-DEV] Bug #10681 Updated: Fix for #9698 breaks more than it fixes

2001-05-19 Thread Sean R. Bright
I shouldn't even bother sending this, but some people (read: me) might be a little put off if someone had to quote the word fix whenever referring to a piece of code they had written. Its a PHP limitation and had nothing to do with my code, I was just trying to address the problem at hand.

RE: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Sean R. Bright
-Original Message- From: Andi Gutmans [mailto:[EMAIL PROTECTED]] ... There has been lots of talk and I think there have also been some good ideas. The only problem I have had with these discussions up to now is that people here really forget that the average PHP coder is not a

RE: [PHP-DEV] bolt on libraries

2001-05-09 Thread Sean R. Bright
Have a look at: http://www.zend.com/zend/api.php -Original Message- From: Darren [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: [PHP-DEV] bolt on libraries Hi does anyone know how to write a module for php? Thanks Darren

RE: [PHP-DEV] Zend API changes

2001-05-04 Thread Sean R. Bright
Billy: Meet the QA team :) [EMAIL PROTECTED] -Original Message- From: Billy Rose [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 7:53 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Zend API changes It is obvious that this project has a tremendous amount of effort

RE: [PHP-DEV] bug 10609 test file

2001-05-02 Thread Sean R. Bright
Just for the record (not sure anyone has said this authoritatively or not) Apple's (MacOS) have saved files with only a \r since I first started using them (1994?). That's the beauty of standardization I guess; Win32 uses \r\n, Unices use \n, and MacOS uses \r. The best part of it was tr'ing

RE: [PHP-DEV] php.ini location

2001-04-30 Thread Sean R. Bright
This wasn't the case with the 4.0.5 branch was it? -Original Message- From: Mike Robinson [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 6:29 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-DEV] php.ini location [Andi Gutmans [EMAIL PROTECTED]] Hi, The default

RE: [PHP-DEV] RE: Bug #4787 Updated: get_browser() still segments

2001-04-28 Thread Sean R. Bright
This seems like a relatively easy thing to fix. Perhaps we should just do that. -Original Message- From: James Moore [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 2:02 PM To: James Moore; Liz Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DEV] RE: Bug #4787 Updated:

[PHP-DEV] dirname() implementation question

2001-04-28 Thread Sean R. Bright
What was the thinking behind this bit of code from dirname() (ext/standard/string.c:799): PHPAPI void php_dirname(char *path, int len) { ... /* Strip trailing slashes */ --- This? while (end = path IS_SLASH(*end)) { end--; } Why are we stripping trailing slashes? My

RE: [PHP-DEV] dirname() implementation question

2001-04-28 Thread Sean R. Bright
: Saturday, April 28, 2001 5:02 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] dirname() implementation question At 02:42 PM 4/28/2001 -0400, Sean R. Bright wrote: What was the thinking behind this bit of code from dirname() (ext/standard/string.c:799): PHPAPI void

[PHP-DEV] SMTP support under UNIX?

2001-04-27 Thread Sean R. Bright
Is there a reason why its not possible to use an SMTP server for mail() under UNIX? Just no one has got to it yet I am guessing? -- === Sean Bright [EMAIL PROTECTED] / [EMAIL PROTECTED] / http://www.seanbright.com/

RE: [PHP-DEV] always building cgi...

2001-04-12 Thread Sean R. Bright
-Original Message- From: Sascha Schumann [mailto:[EMAIL PROTECTED]] documentation, but what about printed manuals and the dozens of books on PHP? I'd be very hesitant to change anything http://www.amazon.com/exec/obidos/ASIN/1861002963 I think I smell a second edition ;)

RE: [PHP-DEV] PHP 4.0 Bug #10274: I get an errormessage every time i use the ftp_support

2001-04-10 Thread Sean R. Bright
Shouldn't you have a semi-colon after: $ftp_port = 21 ? Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 5:46 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] PHP 4.0 Bug #10274: I get an errormessage every time i use the

RE: [PHP-DEV] Segfault with current cvs

2001-04-09 Thread Sean R. Bright
Thanks. Applied, tested and committed. Sean -Original Message- From: Adam Dickmeiss [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 3:33 PM To: Jani Taskinen; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Segfault with current cvs Hi, this patch seems to fix this.

RE: [PHP-DEV] Suggestion for bug system

2001-04-08 Thread Sean R. Bright
I've heard whispers that a new bug system is being developed. Who's heading that up? What is the status of it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jani Taskinen Sent: Sunday, April 08, 2001 11:43 AM To: Phil Driscoll Cc: php

[PHP-DEV] PEAR Download/Install Tool

2001-04-03 Thread Sean R. Bright
Has anyone begun work on a PEAR Download/Install tool as of yet? If not I would like to see what we can come up with in the way of design and then start coding. Anyone? Thanks, -- === Sean Bright [EMAIL PROTECTED] / [EMAIL

RE: [PHP-DEV] Code documentation

2001-04-03 Thread Sean R. Bright
Someone needs to fix the images. -Original Message- From: Sterling Hughes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 6:56 PM To: Chand Cc: PHP Developer List Subject: Re: [PHP-DEV] Code documentation On Wed, 4 Apr 2001, Chand wrote: Hi everyone, I was

[PHP-DEV] Changing ip2long() return value to string

2001-03-20 Thread Sean R. Bright
IP addrs are unsigned longs and zvals only handle signed longs, so the only way to avoid 0 values is to convert to a string before returning. Anyone have issue with this? Sean -- === Sean Bright [EMAIL PROTECTED] / [EMAIL

[PHP-DEV] Adding oneself as Author

2001-03-13 Thread Sean R. Bright
At what point would one add themselves to the list of Authors in a given source file? This may sound like a dumb question and I am not going to start submitting patches specifically to add myself as author or anything, I was just curious as to if there was some criteria it was based on. Thanks,

RE: [PHP-DEV] Changing implementation of get_meta_tags for 4.0.5

2001-02-13 Thread Sean R. Bright
Well I certainly don't want to compare it to changes from PHP3 to PHP4, but this really isn't that huge of a change. The only difference is that this time this function will actually work correctly. Its never a Good Thing (tm) to break backwards compatibility but that shouldn't be the only

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/standard file.c file.h

2001-02-11 Thread Sean R. Bright
Well, I was trying to fix one bug, not introduce others. If you read the documentation for get_meta_tags you will see that it returns an associative array that is keyed by the value of the NAME attribute while the value is the data within the CONTENT attribute. If other members of the

RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Sean R. Bright
sarcasm Yes, I found this feature of PHP quite useful when I wanted to crash the server. There are many places on the web that you can download these very useful applications that call functions infinitely. The applications for this type of code are innumerable. /sarcasm Sean --

RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Sean R. Bright
of skills that can be applied to this problem. It would also seem that you understand the open source ethic. Why would you not look at solving the problem yourself? --zak - Original Message - From: "Sean R. Bright" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday

RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault

2001-02-06 Thread Sean R. Bright
I never said that recursion or the ability for a function to call another function was a feature/bug. I agree that they are necessary to the language. My point is simply that I don't think PHP needs to be "fixed" so that this user's mistake is somehow valid. Take this example (in C):

RE: [PHP-DEV] database abstraction layers [from: MySQLfeature/bug]

2001-02-04 Thread Sean R. Bright
This is something that PHP has always lacked. Its also something that I have always found to be the most attractive about application servers like Allaire's Cold Fusion (http://www.allaire.com/). The ability to totally abstract database access makes it much easier on the developer and

[PHP-DEV] Fix for Bug #7068

2001-02-01 Thread Sean R. Bright
If there is no objection to this bandaid to fix bug #7068 (http://bugs.php.net/bugs.php?id=7068) then I will go ahead and apply it. I think the Win32 smtp code needs somewhat of an overhaul in order to properly handle email addresses of the form: "Some User, Jr." [EMAIL PROTECTED] Right now,

[PHP-DEV] strncasecmp() not working correctly?

2001-01-30 Thread Sean R. Bright
I was just messing around with strncasecmp() and it doesn't seem to produce the correct values. For example: echo strncasecmp("http://","http://www.php.net/",7); Does not print 0 as expected. I looked at the code and it doesn't seem to be too complicated a function. Just wondering if

[PHP-DEV] Re: strncasecmp() not working correctly?

2001-01-30 Thread Sean R. Bright
Well, it seems to work fine from CVS. Sorry about that. Thanks, -- === Sean Bright [EMAIL PROTECTED] / [EMAIL PROTECTED] / http://www.seanbright.com/ === -- PHP

RE: [PHP-DEV] PHP 4.0 Bug #8890: Will not correctly update MySQL database when using WML and PHP and MySQL

2001-01-24 Thread Sean R. Bright
Change '$(first)' to '$first' and change the other variables in the msyql_query() line in the same way. Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 1:50 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] PHP 4.0 Bug #8890:

RE: [PHP-DEV] re zend_compile_file

2001-01-19 Thread Sean R. Bright
zend_compile_file is a function pointer...this line is the most helpful: Zend/zend.c:zend_compile_file = compile_file; You are looking for the wrong function. Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 10:43 PM

RE: [PHP-DEV] CVS Account Request

2001-01-18 Thread Sean R. Bright
You don't need a CVS account get the latest version of PHP. The only time you need an account is if you want to write code into the codebase. Here is the information you need: http://www.php.net/version4/cvs.php As noted on this page, anything you get from CVS is developmental code and is

RE: [PHP-DEV] MySQL client library upgrade: 3.3.31

2001-01-16 Thread Sean R. Bright
: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 6:02 PM To: Sean R. Bright Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DEV] MySQL client library upgrade: 3.3.31 On Tue, 16 Jan 2001, Sean R. Bright wrote: Ignacio: This is my configure line: ./configure

RE: [PHP-DEV] Re: PHP 4.0 Bug #6675 Updated: mysql_insert_id returns incorrect size for BIGINT fields

2001-01-15 Thread Sean R. Bright
fields ID: 6675 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related Assigned To: Comments: Feedback by Sean R. Bright [EMAIL PROTECTED]: -- the documentation for mysql_

RE: [PHP-DEV] PHP 4.0 Bug #8688: compile error in exec.c

2001-01-13 Thread Sean R. Bright
Looks like Zeev's latest patch caused this. I fixed exec.c locally and then fsock.c barfed with an error about fsock_globals being undefined, and then file.c barfed when I fixed those, etc. Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday,

[PHP-DEV] file.c fsock.c ... Again ...

2001-01-13 Thread Sean R. Bright
Anyone see the logical problem with this besides me? #ifdef ZTS static void file_globals_ctor(FLS_D) --- THIS is defined if thread safe { zend_hash_init(FG(ht_fsock_keys), 0, NULL, NULL, 1); zend_hash_init(FG(ht_fsock_socks), 0, NULL, (void (*)(void *))php_msock_destroy, 1);

FW: [PHP-DEV] file.c fsock.c ... Again ...

2001-01-13 Thread Sean R. Bright
Already did, these are happening after getting your changes. (I watch the cvs list as well ;)) -Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 13, 2001 6:04 PM To: Sean R. Bright Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] file.c

RE: FW: [PHP-DEV] file.c fsock.c ... Again ...

2001-01-13 Thread Sean R. Bright
will see that file_globals_ctor is called when ZTS is NOT defined. Thats the problem... Sean -Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 13, 2001 6:08 PM To: Sean R. Bright Cc: [EMAIL PROTECTED] Subject: Re: FW: [PHP-DEV] file.c fsock.c

RE: FW: [PHP-DEV] file.c fsock.c ... Again ...

2001-01-13 Thread Sean R. Bright
D'oh! Ok... But my build is broken... Wh! ;) Thanks, Sean -Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 13, 2001 6:18 PM To: Sean R. Bright Cc: 'Derick Rethans'; [EMAIL PROTECTED] Subject: RE: FW: [PHP-DEV] file.c fsock.c

RE: FW: [PHP-DEV] file.c fsock.c ... Again ...

2001-01-13 Thread Sean R. Bright
: [PHP-DEV] file.c fsock.c ... Again ... Ok, I did the development under Windows and didn't check the thread-unsafe mode. I'll fix it. At 00:54 14/1/2001, Sean R. Bright wrote: Already did, these are happening after getting your changes. (I watch the cvs list as well

RE: FW: [PHP-DEV] file.c fsock.c ... Again ...

2001-01-13 Thread Sean R. Bright
Nevermind the thread safe stuff, had a case of the RTFMs and forgot to make clean. All is well with ZTS build now. Non-ZTS is still a problem though. :) -Original Message- From: Sean R. Bright [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 13, 2001 6:21 PM To: 'Zeev Suraski

[PHP-DEV] Code Contribution: localeconv()

2001-01-13 Thread Sean R. Bright
Hello, I noticed on the PHP setlocale manual page that localeconv() was not yet implemented. I went ahead and coded it up. I was going to list a bunch of stuff about it like why I chose to do things certain ways, etc. but I figure you will ask or flame if you see something you don't like :)

[PHP-DEV] Code Contribution: More localeconv() win32

2001-01-13 Thread Sean R. Bright
Hello again, I forgot about Win32 in that last patch, this patch should make this compile happily under Windows. Thanks, Sean == Sean Bright [EMAIL PROTECTED] / [EMAIL PROTECTED] == Index: php4/main/config.w32.h

RE: [PHP-DEV] PHP 4.0 Bug #8674: invallid filetype() results (affects isdir() )

2001-01-12 Thread Sean R. Bright
Thats because you need to pass a valid filename to filetype(). PHP is trying to find $file in its current directory even if $dir is /usr/local/not/phps/current/dir. I have fixed your example below. (Note that this still won't work if the last character of $dir is not a '/', so append one where