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 u
len is the length of the buffer. When 's' is specified in
zend_parse_parameters, both the string and the number of characters
are returned to the calling function. In this case, len is the
length of 'buf_len.'
> -Original Message-
> From: Richard Samar [mailto:[EMAIL PROTECTED]]
> Sent:
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 wro
ent: Monday, February 11, 2002 9:26 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: 'Chris Newbill'
> Subject: Re: [PHP-DEV] FWD: possible bug in date() function
>
>
> Sean R. Bright wrote:
> > What? The original format string was:
> >
> > &qu
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: Mo
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
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
exte
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 libra
How about we wait for him to say "because I am lazy" before jumping down his
throat?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 29, 2002 2:59 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] Bug #15280 Updated: Feature request
>
>
> I
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=10110075472&r=1&w=2
Sean
> -Original Message-
> From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
> Sent: Wednes
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
[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 S
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
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] / http://www.
My concern (though maybe unwarrented, someone more familiar with these
matters might correct me) is that fmt is released under the GPL and I
recall us having problems with things like readline in the past. Is
this a non-issue? Otherwise I could read the paper and write a "clean
room" implementat
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]
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 linebr
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,
--
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 on
Chu:
The bug is not fixed in 4.0.6. 4.0.6 was released before the bug was fixed.
It will, however, be in 4.0.7 when it is released. In the meantime you can
get a development snapshot from http://snaps.php.net/ which contains the
changes that were made.
Thanks,
Sean
> -Original Message
Just built from CVS and trying to run this script generates the shown
output:
Script (test.php):
Output:
C:\php4\Release_TS>php -f test.php
$i = 1000
($i\n)
Something is screwy here...
--
=
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
Since this move happened, I have been getting segfaults with the following
script:
> -Original Message-
> From: Andrei Zmievski [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 11:44 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c
> basic
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 w
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.
> -
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_*
>
>
> -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 no
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
>
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
> ef
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 all
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,
> > >
s [mailto:[EMAIL PROTECTED]]
> Sent: 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
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? M
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: get_
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/
=
To continue a tangent... I don't like the idea of having the PEAR
fetching/installation mechanism written in PHP (already some base code in
PEAR to do this). It seems to me that it forces the user to download/build
PHP and then download and rebuild PHP with any extensions that don't come in
the
> -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
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 th
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 th
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 deve
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,
>
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 PROTECTE
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 PROTECTE
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,
who
> uses it and how. It will give you an idea if there are lots
> of people or
> none. Again, if the only problem you fixed is the multi-line
> problem then I
> think people won't get bitten by this.
>
> Andi
>
> At 01:01 AM 2/14/2001 -0500, Sean R. Bright wrote:
>
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 thing
Ladies/Gents:
I recently applied a patch that fixes the multi-line get_meta_tags bug. A
tag like this would fail:
http://www.php.net/">
And here is what I propose we return to the user:
$returnval[0]["name"] == NULL
$returnval[0]["http-equiv"] == "refresh"
$returnval[0]["content"]
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 developers
function calls causes seg fault
>
>
> Sean R. Bright wrote:
> >
> > Because I don't consider it a problem that needs solving.
> I am probably
> > overlooking some notoriously famous algorithm, but I can't
> think of a
> valid
> > rea
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):
/*
t;
> Your resume indicates that you have a wealth 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 -
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.
Sean
--
==
Could someone take a moment to explain what the X-Bit hack is?
--
===
Sean Bright
[EMAIL PROTECTED] / [EMAIL PROTECTED] / http://www.seanbright.com/
===
--
PHP Develo
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
transpare
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,
Well, it seems to work fine from CVS. Sorry about that.
Thanks,
--
===
Sean Bright
[EMAIL PROTECTED] / [EMAIL PROTECTED] / http://www.seanbright.com/
===
--
PHP Deve
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 a
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 #889
Not sure if this is exactly what you are after, but have you tried:
$myvar = $$const_name;
Sean
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 23, 2001 12:21 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] PHP 4.0 Bug #8863: function t
Could you provide some examples?
> -Original Message-
> From: Harald Radi [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 20, 2001 9:52 AM
> To: PHP Developer List
> Subject: [PHP-DEV] same functions in modules
>
>
> hi,
>
> there are a few modules using the same c-functions and t
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
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 ther
-
> From: 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:
>
> > I
Ignacio:
This is my configure line:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/etc/httpd/
bin/apxs
And I have a relatively new (a month?) mysql tarball and haven't received
this message.
How are you configuring?
Sean
> -Original Message-
> From: Ignacio Vazquez
Christophe:
I could be wrong but I would assume that the Performance counter allows more
flexibility then Sleep() does by the simple fact that it doesn't suspend
execution. Am I wrong?
Sean
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, Januar
5, 2001 3:30 AM
> Subject: PHP 4.0 Bug #6675 Updated: mysql_insert_id returns
> incorrect size
> for BIGINT fields
>
>
> > ID: 6675
> > Updated by: sniper
> > Reported By: [EMAIL PROTECTED]
> > Old-Stat
Ok...so that's a "No thanks" then?
==
Sean Bright
[EMAIL PROTECTED] / [EMAIL PROTECTED]
==
> -Original Message-----
> From: Sean R. Bright [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, Januar
Have you tried this with the latest CVS version? It works fine here with
the latest CVS.
Sean
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 10:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] PHP 4.0 Bug #8694: Date functi
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
===
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 :) Pl
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
&g
EMAIL PROTECTED]
> Subject: Re: FW: [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
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]
>
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
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
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);
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,
Hi,
http://bugs.php.net/bugs.php?id=6675
I think this bug can be closed off, the documentation for mysql_insert_id()
states that for very large values of the returned id (>32bits) this will
return the wrong data and users should use LAST_INSERT_ID() to fetch that
info from mysql instead. Not su
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
Hi there.
This patch should fix Bug #6073. Sometime before 3.21.33 the
FIELD_TYPE_TINY define was removed from mysql_com.h and #ifdefs don't work
if FIELD_TYPE_TINY is part of the enum. The version number is not exact,
but this is the earliest version of mysql I could find anywhere. Could
some
How up to date is the TODO list?
Sean R. Bright
[EMAIL PROTECTED]
--
PHP Development Mailing List <http://www.php.net/>
To unsubscr
This works fine for me...make absolutely sure that there is no whitespace
before your opening http://www.mysite.com:8080/index.php");
?>
Sean
-Original Message-
From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: [
Have a look at Zeev Suraski's article on output buffering over at Zend.com,
he discusses just this:
http://www.zend.com/zend/art/buffering.php
(Requires a relatively new version of PHP though.)
Sean Bright
> -Original Message-
> From: Moorhouse-Aires Family [mailto:[EMAIL PROTECTED]]
>
83 matches
Mail list logo