Would it be possible to have an extra parameter for preg_match_all() that
would allow for a maximum number of matches to be set?
Ie, with $foo = tda/tdtdb/tdtdc/tdtdd/tdtde/td, do
something like
preg_match_all(/td(.*?)\/td/, $foo, $r, PREG_PATTERN_ORDER, 4);
, which would return only matches a
At 07:55 20/08/2002, Brad LaFountain wrote:
You as a Zend owner who's business could be very propitable for Zend2
success
or you as a php developer
Brad,
This is CLEARLY as PHP developers. We happen to have quite a bit of
experience in getting the userbase to convert from one version to
Hi David,
thank you, at least the linking seems to be done now. But if I test the
module via dl() following error occours:
Warning: Unable to load dynamic library './indi.so' - libmmem.so: cannot
open shared object file: No such file or directory in /usr/local/
apache/htdocs/indi/indi.php on
Stanislav Malyshev wrote:
I fear that has something to do with your CVS checkout... There's no
's in CVS version (and yes, it compiles just fine).
After the recent patch to var_unserializer.{c|re} it works.
--
Sebastian Bergmann
http://sebastian-bergmann.de/
Well, more worrisome would be if a bad guy tricks you into clicking on
a link or simply sends you an image in an email that makes a request
to my server with a valid-looking session id. Then if you go to this
site (that
I've debunked that scenario already a few times. The net
Hi
I took rasmus input and made a new (hopefully) better patch, to allow
webdav methods. I also changed the option allow_option to
allow_webdav_methods, which should be more descriptive.
The patch can be found at http://trash.chregu.tv/webdav.diff
I hope, it's cleaner now than before :)
Hi,
the following is a list of files containing C++ comments.
Comments to files note why there is no problem with C++ comments.
Maybe those involved in the development of these files change the comments.
To find C++ comments easier it may be a good idea to have CODING_STANDARS
added like this:
i wanna join the arabic translation team
in phpdob_ar
am a php programmer and am working in a web designing company in title 'php
programmer'
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 6:26 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] PATCH: debug_backtrace() function for 4.3-dev/ZE1
At 12:30 PM 8/19/2002 +0200, you wrote:
On Mon, Aug 19,
I just checked out a fresh copy of php4 with zend1.3 but unfortuanetly the
errors i had in php4/zend2 + changes are there too.
As i do not understand why there are memory leaks i hope someone can help.
/usr/src/php4/ext/session/session.c(568) : Freeing 0x40922D30 (16 bytes),
Translating Manual to Slovenian
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
to reproduce this:
- http://bugs.php.net/search.php
Select Status: Won't fix, hit Search
on the following page select Next 10 Entries
Regards,
Sebastian Nohn
--
+49 170 471 8105 - [EMAIL PROTECTED] - http://www.nohn.net/
PGP Key Available - Did I help you? Consider a gift:
Title: RE: [PHP-DEV] PHP 4.3 and PHP 5
Wez Furlong wrote:
o Bundle Brads php-soap extension, and market PHP 5 as
being Web Service Enabled.
This will stop the bleeding of the PHP users
Manuel Lemos will be pleased.
:P
Mike Robinson
IT/Developer - Torstar Media Group
On Tue, 20 Aug 2002, Andi Gutmans wrote:
I still think it shouldn't go in. This is the only feature in Engine 2
which might make non-OOP people convert. Once this isn't in Engine 2 we
don't have a carrot for them.
I guess you want PHP 5 only to have ZE2 as the only major change?
Thanks, I've committed the patch to CVS.
Sander
On Mon, Aug 19, 2002 at 03:42:12PM +0200, Christophe Sollet wrote:
hi,
this patch fix bug #18654 by extending the nvexp definition.
The diff contains the resulting re2c var_unserializer.c.
[snip]
--
PHP Development Mailing List
On Tue, 20 Aug 2002, Andi Gutmans wrote:
I still think it shouldn't go in. This is the only feature in Engine 2
which might make non-OOP people convert. Once this isn't in Engine 2 we
don't have a carrot for them.
[..]
I'm +1 for getting this backtrace thing in PHP asap. It's more
Sascha:
If you want your site to be safe, enable
session.use_only_cookies and be done with it. No amount of
checking on the server side can otherwise prevent this class
of attacks.
By the way, does session.use_only_cookies work with
session.use_cookies=off?
I'm using an
So you wish to prevent your users from forging GET/POST values and are
willing to rely on client-side cookies ?
How is that any safer ?
On Tue, 2002-08-20 at 09:18, Marko Karppinen wrote:
Sascha:
If you want your site to be safe, enable
session.use_only_cookies and be done
Xavier:
So you wish to prevent your users from forging GET/POST values and are
willing to rely on client-side cookies ?
How is that any safer ?
On Tue, 2002-08-20 at 09:18, Marko Karppinen wrote:
By the way, does session.use_only_cookies work with
session.use_cookies=off?
Who said
--- Zeev Suraski [EMAIL PROTECTED] wrote:
At 07:55 20/08/2002, Brad LaFountain wrote:
You as a Zend owner who's business could be very propitable for Zend2
success
or you as a php developer
Brad,
This is CLEARLY as PHP developers. We happen to have quite a bit of
experience in
It is also very conceivable that a person would send a link to a java
applet or any other kind of wrapper (PHP or other CGI actually would be
able to establish the connection on the server side always sending the
same user agent string and sending back the data from your site) to
establish the
Ok, I've fixed this. When the cvs change propogates to the rsync server
and the next rsync update cron job from bugs.php.net runs, this change
will be visible... So try again in about 2 weeks. ;)
On Tue, 20 Aug 2002, Sebastian Nohn wrote:
Hi,
to reproduce this:
-
Ah again a problem with $_SESSION And some session_() functions.
Maybe it would be a good idea to allow using both. AND it would be a
good thing to have $_SESSION beeing an available array even if no
session was started already.
marcus
At 14:04 20.08.2002, Marcus Boerger wrote:
I just checked
Hi!
Some time ago there was some traffic on that list regarding problems reading
results of requests made to any servers using UDP. A lot of people reported
issues such as fread stalling, not returning anything, etc. There have also
been some bugs in PHP bug tracking system, but it seems it all
It is also very conceivable that a person would send a link to a java
applet or any other kind of wrapper (PHP or other CGI actually would be
able to establish the connection on the server side always sending the
same user agent string and sending back the data from your site) to
establish
Dan Hardiker wrote:
It is also very conceivable that a person would send a link to a java
applet or any other kind of wrapper (PHP or other CGI actually would be
able to establish the connection on the server side always sending the
same user agent string and sending back the data from your
At 17:21 20/08/2002, Brad LaFountain wrote:
Ok this experience you are talking about is converting php3 = php4 correct?
Both PHP/FI 2 = PHP 3 and PHP 3 = PHP 4
Well how many people are were using php3 at that time? Siginifntly less? The
conversion from php3 to php4 offered a more stable
hi,
Like I said before, this discussion is not about the method by which an SID
is propogated nor generated.
It is about:
1) knowing when it is safe to display sensative information - user education
2) the possibility to verify credentials, besides the SID.
Given 2), the easiest solution is to
Hi Dan,
This was exactly what I meant to suggest by allowing to time out any
session even active.
Even though your workaround would also definitely make the task harder,
as George pointed out, we still don't have a solution against a
motivated cracker.
I think it would be very good but I am
IP match makes no sense. Someone's ip can change dramatically from one
click to the next due to dhcp leases timing out, roaming from one wireless
gateway to the next, coming through a round-robin dns batch of proxy
servers, etc.
i quote myself:
p.s. storing IP/USERAGENT/whatnot on the
Hello!
Sure, I've made a TFTPD server using PHP ... if you want samples, mail me
...
Cheers,
Dejan
Torsten Schlabach [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| Hi!
|
| Some time ago there was some traffic on that list regarding problems
reading
| results
First of all I wanna just say that I'm just stating my opnion. You seem to be
getting angry. Im not trying to say your wrong and I'm right. Please don't take
it like that.
--- Zeev Suraski [EMAIL PROTECTED] wrote:
At 17:21 20/08/2002, Brad LaFountain wrote:
Ok this experience you are
[..]
Besides whos to say that
adding debug_backtrace now to 4.3 won't steer more people to php
instead of other envrionments.
I'm willing to be the first person to say this if no one beats me to
it... Such a featurelet steering people to choose one
technology/platform over the other?
At 18:45 20/08/2002, Brad LaFountain wrote:
First of all I wanna just say that I'm just stating my opnion. You seem to be
getting angry. Im not trying to say your wrong and I'm right. Please don't
take
it like that.
I'm not angry at all :)
Obvisouly we all have our own opnion I wanted to
Obvisouly we all have our own opnion I wanted to state mine not get
in a big
argument about this. I do see your point, as a zend2 advocate, and im
sure you see mine too, as a php user who wants debug_backtrace. So what
to do, do you just call the shots or do we have an offical vote?
I've
(Forgot CCing)
Hi,
I've implemented a DNS resolver with fsockopen udp (and no special
tricks used).
It seems to work but for occasional infinite polling.
if interested, please visit sourceforge site http://phpresolver.sf.net/
FYI,
Moriyoshi Koizumi
Torsten Schlabach [EMAIL PROTECTED]
Hi,
we really need this to be resolved ASAP.
I have written quite a few changes into my version of liveUser and I am
sure there are other people that are interested in seeing what's going
on.
I really dont care for these structure/naming discussion because it
seems that people have been going
I still think it shouldn't go in. This is the only feature in Engine 2
which might make non-OOP people convert. Once this isn't in Engine 2 we
don't have a carrot for them. Why can't you respect this way of
thinking? Especially as I wrote the code? You're basically saying screw
them because
Was this intended for pear-dev?
On Tue, 20 Aug 2002, Lukas Smith wrote:
Hi,
we really need this to be resolved ASAP.
I have written quite a few changes into my version of liveUser and I am
sure there are other people that are interested in seeing what's going
on.
I really dont care for
At 19:35 20/08/2002, Rasmus Lerdorf wrote:
We should not be talking about carrots here, and Thies is not saying
screw you to you. He wants to help PHP users today.
That almost sounds like a Microsoft tagline :) Come on, you know what he
meant. If Andi didn't implement this efficient approach
We have a feature that doesn't destabilize anything or slow anything down
as far as I can tell, and would be very useful to a whole bunch of users
today. If that single point is not more important than anything else, then
we are getting completely offtrack here.
I disagree. Exactly the
At 20:04 20/08/2002, Rasmus Lerdorf wrote:
If you could explain to me why holding back a useful feature that could
help a lot of users today is somehow better for these users, then you
might be able to convince me. Is it because by holding it back now we can
force a portion of users who are
--- Zeev Suraski [EMAIL PROTECTED] wrote:
At 19:35 20/08/2002, Rasmus Lerdorf wrote:
We should not be talking about carrots here, and Thies is not saying
screw you to you. He wants to help PHP users today.
That almost sounds like a Microsoft tagline :) Come on, you know what he
meant.
-Original Message-
From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 6:58 PM
To: Rasmus Lerdorf
Cc: Andi Gutmans; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] PATCH: debug_backtrace() function for 4.3-dev/ZE1
with it, but as I said, if
At 09:55 PM 8/19/2002 -0700, Brad LaFountain wrote:
I still think it shouldn't go in. This is the only feature in Engine 2
which might make non-OOP people convert. Once this isn't in Engine 2 we
don't have a carrot for them.
You as a Zend owner who's business could be very propitable
By the way, the only personal gain I have in getting ZE2 out of there is
that it's my code and that PHP will do much better. I think that PHP is
going to loose out big time if things don't start gaining some momentum.
Backporting is definitely a momentum breaker *especially* as everyone
It took us a long time to get php-dev moving on the new version
because most of them were still using PHP 3 for their production sites.
The fact that you guys are so strongly in favor of putting this cool
feature into ZE1 proves that not putting it in could give ZE2 a big
boost of
Hi,
is there a bug report for this?
Derick
On Mon, 19 Aug 2002, Wez Furlong wrote:
I noticed that make test runs (or skips) some tests in
ext/skeleton. It should probably skip that dir.
Also, the array tests are failing because they expect output
like -0.33 but are getting
At 11:20 AM 8/20/2002 -0700, Rasmus Lerdorf wrote:
By the way, the only personal gain I have in getting ZE2 out of there is
that it's my code and that PHP will do much better. I think that PHP is
going to loose out big time if things don't start gaining some momentum.
Backporting is
Sander Roobol wrote:
Can it be merged in the 4.2 branch too ?
It would be great to have 4.2.3 without this bug.
Christophe
Thanks, I've committed the patch to CVS.
Sander
On Mon, Aug 19, 2002 at 03:42:12PM +0200, Christophe Sollet wrote:
hi,
this patch fix bug #18654 by extending the
Yeah, should have done that immediately. Committed.
On Tue, Aug 20, 2002 at 09:41:54PM +0200, Christophe Sollet wrote:
Sander Roobol wrote:
Can it be merged in the 4.2 branch too ?
It would be great to have 4.2.3 without this bug.
Christophe
Thanks, I've committed the patch to CVS.
On 08/20/02, Shane Caraveo [EMAIL PROTECTED] wrote:
Personally, I would trash 4.3, and focus on the next major version
including ze2. Do it now, get it over with. Having this non-descript
4.3 between now and ze2 is somewhat distracting. There can be minor
point releases to backport bug
Ah, yeah, that'd be ok.
On Tue, 20 Aug 2002, Jani Taskinen wrote:
Heh..I should have said that I meant the regression tests.. :)
configure is fine as it is. :)
--Jani
--
On Mon, 19 Aug 2002, Rasmus Lerdorf wrote:
I think it would be hard to distinguish when a positive
It is getting there. You are checking for POST under webdav_methods when
POST is already allowed by default, so it is a redundant strcmp().
Otherwise your patch looks ok.
Anybody else here have an issue with adding this configue option which
will allows webdav methods through to be handled in
Not as far as I know; I just spotted the failing array tests and
thought that it might be something simple (like cgi headers, or mangled
include) screwing with the tests.
--Wez.
On 08/20/02, [EMAIL PROTECTED] wrote:
Hi,
is there a bug report for this?
Derick
On Mon, 19 Aug 2002, Wez
On Tue, 20 Aug 2002, Rasmus Lerdorf wrote:
It is getting there. You are checking for POST under webdav_methods when
POST is already allowed by default, so it is a redundant strcmp().
oops. that one slipped through and was certainly not intended to be there
:)
Anybody else here have an
On Tue, 20 Aug 2002, Rasmus Lerdorf wrote:
On Tue, 20 Aug 2002, Rasmus Lerdorf wrote:
It is getting there. You are checking for POST under webdav_methods when
POST is already allowed by default, so it is a redundant strcmp().
oops. that one slipped through and was certainly not
Hey,
I think this is fairly ciritical... and suspect it has something to do
with marcus' new sprintf function. Marcus, can you have a look at it?
Derick
On Tue, 20 Aug 2002, Wez Furlong wrote:
Not as far as I know; I just spotted the failing array tests and
thought that it might be
On Tue, 20 Aug 2002, Rasmus Lerdorf wrote:
It is getting there. You are checking for POST under webdav_methods when
POST is already allowed by default, so it is a redundant strcmp().
oops. that one slipped through and was certainly not intended to be there
:)
Anybody else here have
On Tue, 20 Aug 2002, Dan Hardiker wrote:
Could we not just release a patch to the people that want it (well, need
it!), and leave the official implementation until PHP5? That way the
carrot remains, but nothing is held back from the people who desperatly
want it.
Having 'official' patches
What are the thoughts on implementing interfaces (as in object) within
PHP? Does the work outweigh the benefits?
Ben Dischinger
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 22:51 20.08.2002, [EMAIL PROTECTED] wrote:
Hey,
I think this is fairly ciritical... and suspect it has something to do
with marcus' new sprintf function. Marcus, can you have a look at it?
Derick
Unfortuanetly spprintf is based on snprintf we took from apache.
It seems that 'f' and 'g' are
I've just comitted the streams filter API to CVS.
The concept is that a series of filters can be applied to a given
stream instance (as a doubly-linked-list); writing to the stream
causes the buffer to pass through the filters from head to tail,
before finally being written to the underlying
Hi Ben,
ZE2 will implement something that can used much like interfaces;
Please see this RFC on Delegation; something very similar to the syntax
described there will be in PHP 5.
http://cvs.php.net/co.php/ZendEngine2/RFCs/004.txt?r=1.2
Also, review the archives for [EMAIL PROTECTED] list for
I have some patches for ext/gd. Rasmus convinced me to request a CVS account.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 05:31 PM 8/20/02 +0200, Tit \Black\ Petric wrote:
the ip match should be implemented too, but trough a php.ini switch, since i
see how that behaviour might not be desired from your comment above, i would
default it to off thou, let the user/admin/whatnot change it if they desire
to do that.
Marcus Börger wrote:
1) someone must have changed ini setting precision from 14 to 12
Adding special INI section to array tests fixed test 1 2.
IIRC, Zeev changed this to avoid useless bug reports.
There are too many people don't know how floating point
numbers are handled by computer...
--
Hi everyone
I'm trying to read from a popen ($file, r) and fgets in PHP.
The output is like this in perl:
print join (\t, $_, $b-{one}, $b-{two}, $b-{three}, $b-{four}), \n;
I've also added another column to the beginning of it, so the output would
be:
nameonetwothreefour
I changed it actually, but you are right, that was the reason.
On Wed, 21 Aug 2002, Yasuo Ohgaki wrote:
Marcus Börger wrote:
1) someone must have changed ini setting precision from 14 to 12
Adding special INI section to array tests fixed test 1 2.
IIRC, Zeev changed this to avoid
At 10:47 PM 8/20/2002 +0100, Wez Furlong wrote:
Filters are created using:
php_stream_filter_create(char *filtername, char *filterparams,
int filterparamslen, int persistent TSRMLS_DC);
filtername corresponds to the name used to register the factory;
if no exact match is found, it looks
From my reading of delegation, it's really overloading, worded slightly
differently.. - but not that related to interfaces...
In the example below, which is a php'ized version of a C# demo, the
advantages of using interfaces (as far as I know) are primarly useful
for COM or CORBA, where it
--- Alan Knowles [EMAIL PROTECTED] wrote:
From my reading of delegation, it's really overloading, worded slightly
differently.. - but not that related to interfaces...
In the example below, which is a php'ized version of a C# demo, the
advantages of using interfaces (as far as I know)
I'll try to explain why I feel such a feature as interfaces would be useful
to me in PHP.
This is all under the assumption that when a class is loaded into memory a
certain number of checks are performed to make sure it is a valid
definition. For example, You cannot extend a class which is not
Translating the documentation To Arabic
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
74 matches
Mail list logo