[PHP-DEV] Re: cvs: php4 /ext/iconv config.m4

2002-10-31 Thread Yasuo Ohgaki
Moriyoshi Koizumi wrote: (B> moriyoshi Thu Oct 31 15:23:53 2002 EDT (B> (B> Modified files: (B> /php4/ext/iconv config.m4 (B> Log: (B> Fixed library capability detection behaviour. (B> # Whew! I've fixed all the known problems. (B> # And should I

Re: [PHP-DEV] Re: [PHP-DOC] RE: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Apache 2 installation instructions

2002-10-31 Thread Aaron Bannert
On Tue, Oct 29, 2002 at 05:11:03PM +0100, Gabor Hojtsy wrote: > Ack. So then, please add us some info on PHP <-> Apache2 versions > compatibility so we can add the info to the docs. Or is it only > Sascha who knows this (apache2 sapi author)? Do the latest PHP version and the latest Apache2 versio

Re: [PHP-DEV] Re: [PHP-DOC] Apache 2 installation instructions

2002-10-31 Thread Aaron Bannert
On Tue, Oct 29, 2002 at 11:27:51AM +0100, Derick Rethans wrote: > > Ah yes - but that will contradict greatly, to "the best version yet" marketing > > trick the Apache Group is advertising on their front page. > > We can mention it to users, in the bug db etc. But officially documenting, that > > A

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/calendar calendar.cjewish.c sdncal.h

2002-10-31 Thread Derick Rethans
On Thu, 31 Oct 2002, Andrei Zmievski wrote: > On Thu, 31 Oct 2002, Derick Rethans wrote: > > A crap, yes... fixing README.CVS-RULES right away. > > Umm... @ should stay there. Just don't use it until 4.3.0 is out. Yeah, it's there again... Derick -- --

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/calendar calendar.c jewish.c sdncal.h

2002-10-31 Thread Andrei Zmievski
On Thu, 31 Oct 2002, Derick Rethans wrote: > A crap, yes... fixing README.CVS-RULES right away. Umm... @ should stay there. Just don't use it until 4.3.0 is out. -Andrei http://www.gravitonic.com/ "Claiming Java is easier than C++ is like saying that K2 is

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Ilia A.
On October 31, 2002 03:12 pm, Ori Staub wrote: > A few tests using eregi on windows and linux shows that it can be up to 30 > times faster the PCRE for some expressions (e.g. validating email address > format). > > See an interesting thread on sitepoint ( > http://www.sitepointforums.com/showthread

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Ori Staub
A few tests using eregi on windows and linux shows that it can be up to 30 times faster the PCRE for some expressions (e.g. validating email address format). See an interesting thread on sitepoint ( http://www.sitepointforums.com/showthread.php?s=&threadid=71134 ) with some sample benchmark script

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Moriyoshi Koizumi
Just FYI: Recently I found that the result of following code differs by ereg_replace() and preg_replace(). Hmm... there might be other trivial BC problems apart from regex spec differences, however the ereg_replace() behaviour appears somewhat strange to me. Moriyoshi "Ilia A." <[EMAIL PR

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Ilia A.
On October 31, 2002 02:57 pm, Adam Maccabee Trachtenberg wrote: > So you're planning on converting POSIX regexen to PCRE so people don't > need to worry about PCRE metacharacters that are POSIX literals? Seems > tricky. (e.g. is "\w" a backslash and a w or a "word" character? what > about search pa

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Adam Maccabee Trachtenberg
So you're planning on converting POSIX regexen to PCRE so people don't need to worry about PCRE metacharacters that are POSIX literals? Seems tricky. (e.g. is "\w" a backslash and a w or a "word" character? what about search patterns of 10 instead of "10" they have different meanings in egrep(), yo

[PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Ilia A.
Currently PHP ships with two regular expression libraries that are both installed by default, PCRE & regex. The regex library that is responsible for ereg_* functions is fairly old and offers a very limited functionality compared to the PCRE library. In most cases the PCRE functions are also muc

Re: [PHP-DEV] Adding mail() Parameter to Set Return Path

2002-10-31 Thread Melvyn Sopacua
At 20:25 31-10-2002, Hartmut Holzgraefe wrote: Melvyn Sopacua wrote: At 11:29 31-10-2002, Hartmut Holzgraefe wrote: -- Why should I need to open a network socket with all problems that may arrise with it, when I can call a binary? why bother with additional subprocesses, incompatible comma

[PHP-DEV] OCISaveLob, OCILoadLob, OCISaveFile?

2002-10-31 Thread Jean Tardy
Hello, Who know haw to use those functions:OCISaveLob, OCILoadLob, OCISaveFile? Where can I find documentation and sample about this general purpose: 'lob object manipulation with oracle" Thanks. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/u

Re: [PHP-DEV] Adding mail() Parameter to Set Return Path

2002-10-31 Thread Hartmut Holzgraefe
Melvyn Sopacua wrote: At 11:29 31-10-2002, Hartmut Holzgraefe wrote: -- Why should I need to open a network socket with all problems that may arrise with it, when I can call a binary? why bother with additional subprocesses, incompatible command line interfaces, a command line interface that

[PHP-DEV] Re: Strange problem with INI settings

2002-10-31 Thread Andi Gutmans
Doesn't the INI mechanism reset the values to their original INI values at the end of each request? Zeev knows this stuff better than me as he wrote it. Andi At 02:56 PM 10/31/2002 +0100, Derick Rethans wrote: Hello Andi, I encountered a somewhat weird thing with the "report_memleak" settings.

Re: [PHP-DEV] Console Behavior

2002-10-31 Thread Yasuo Ohgaki
It's known issue... (B (B-- (BYasuo Ohgaki (B (BAdam Voigt wrote: (B> Figured it out, turns out I had actually bothered to copy the php.ini (B> from the recommended on the server it didn't work on, if I removed the (B> config file (forcing PHP to use the default options), it worked fine, (

Re: [PHP-DEV] Console Behavior

2002-10-31 Thread Adam Voigt
Figured it out, turns out I had actually bothered to copy the php.ini from the recommended on the server it didn't work on, if I removed the config file (forcing PHP to use the default options), it worked fine, I narrowed the problem down to the output_buffering setting, changing it from 4096 (prob

Re: [PHP-DEV] Variable Functions?

2002-10-31 Thread Dan Hardiker
> http://php.net/create_function, > and see the ZE2 notes on __call/__get/__set handlers. Yeah, Im aware of the existing functionality, I was just wondering if it was the best way to approach it. The ECMA method seems a bit cleaner... but that may well be an issolated opinion. -- Dan Hardiker [

Re: [PHP-DEV] Console Behavior

2002-10-31 Thread Adam Voigt
You are correct, I tried it on an identical system and it worked. But it still refuses to work on my other system. They both run RH8 with PHP 4.2.3, the only difference (that I can see) is that I'm connecting to the box it doesn't work on through SSH, I don't have a third box from which to test thi

Re: [PHP-DEV] Console Behavior

2002-10-31 Thread Rasmus Lerdorf
Running your code here gives me: 8:27am thinkpad:~> ./foo Attach code? > 12345 12345 8:27am thinkpad:~> Seems to work fine. -Rasmus On 31 Oct 2002, Adam Voigt wrote: > Now I have this, same behavior as before, maybe I'm using the flush > function incorrectly but the manual seems to sugge

Re: [PHP-DEV] Console Behavior

2002-10-31 Thread Adam Voigt
Now I have this, same behavior as before, maybe I'm using the flush function incorrectly but the manual seems to suggest this is the way to use it: #!/usr/local/php_4.2.3/bin/php -q "; flush(); $f = fopen("php://stdin","r"); $data = fread($f,5); fclose($f); echo "\n\n$data\n\n"; ?> On Thu, 2

Re: [PHP-DEV] Console Behavior

2002-10-31 Thread Rasmus Lerdorf
flush() On 31 Oct 2002, Adam Voigt wrote: > Is this normal? > I have: > > #!/usr/local/php_4.2.3/bin/php -q > > error_reporting(E_ALL); > > echo "\n\nAttach code? > "; > > $f = fopen("php://stdin","r"); > $data = fread($f,5); > fclose($f); > > echo "\n\n$data\n\n"; > > ?> > > And it refuses to e

[PHP-DEV] Console Behavior

2002-10-31 Thread Adam Voigt
Is this normal? I have: #!/usr/local/php_4.2.3/bin/php -q "; $f = fopen("php://stdin","r"); $data = fread($f,5); fclose($f); echo "\n\n$data\n\n"; ?> And it refuses to echo "Attach code?" until after I hit 5 keys on the console and hit enter, when infact it is supposed to be a prompt for the

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/calendar calendar.cjewish.c sdncal.h

2002-10-31 Thread Jani Taskinen
On Thu, 31 Oct 2002, Derick Rethans wrote: >On Thu, 31 Oct 2002, Jani Taskinen wrote: > >> >> Please do not use @ anymore!! If you haven't noticed, we always >> have to edit the NEWS file after these stupid commits.. >> >> (the entry needs to go underneath the removal notices!!)

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/calendar calendar.c jewish.c sdncal.h

2002-10-31 Thread Derick Rethans
On Thu, 31 Oct 2002, Jani Taskinen wrote: > > Please do not use @ anymore!! If you haven't noticed, we always > have to edit the NEWS file after these stupid commits.. > > (the entry needs to go underneath the removal notices!!) A crap, yes... fixing README.CVS-RULES right away

Re: [PHP-DEV] Re: cvs: php4 / Makefile.global run-tests.php

2002-10-31 Thread Yasuo Ohgaki
Derick, I've pointed out problems _WEEKS_ ago. I let you know problems _MANY_ times. Derick, be responsible with your change and opinion at least. Don't forget you're the one broke it w/o discussion first. When I add "-c php.ini-dist", there is discussion. As a result, there is -c option. Please

Re: [PHP-DEV] Re: cvs: php4 / Makefile.global run-tests.php

2002-10-31 Thread Derick Rethans
On Thu, 31 Oct 2002, Yasuo Ohgaki wrote: > Derick Rethans wrote: > > derick Thu Oct 31 09:02:00 2002 EDT > > > > Modified files: > > /php4 Makefile.global run-tests.php > > Log: > > Discuss first! > > Huh? What do you mean discuss first? > There is discuss

[PHP-DEV] Re: cvs: php4 / Makefile.global run-tests.php

2002-10-31 Thread Yasuo Ohgaki
Derick Rethans wrote: (B> derickThu Oct 31 09:02:00 2002 EDT (B> (B> Modified files: (B> /php4 Makefile.global run-tests.php (B> Log: (B> Discuss first! (B (BHuh? What do you mean discuss first? (BThere is discussion and the patch is valid. (B

Re: [PHP-DEV] Adding mail() Parameter to Set Return Path

2002-10-31 Thread Melvyn Sopacua
At 11:29 31-10-2002, Hartmut Holzgraefe wrote: now serious: this is just another argument for dropping the sendmail kludge and come up with a working SMTP implementation for both platforms ... (we can still keep sendmail delegation as a less featured fallback if SMTP is not configured) -- Why

Re: [PHP-DEV] Variable Functions?

2002-10-31 Thread Wez Furlong
Hi Dan, http://php.net/create_function, and see the ZE2 notes on __call/__get/__set handlers. --Wez. On 10/31/02, "Dan Hardiker" <[EMAIL PROTECTED]> wrote: > Hi All, > > Just a thought, but while working reciently with a few ECMA scripting > languages (eg: ActionScript in Flash MX), I uncovered

Re: [PHP-DEV] Adding mail() Parameter to Set Return Path

2002-10-31 Thread Melvyn Sopacua
At 14:49 31-10-2002, Melvyn Sopacua wrote: I think a parameter to set the MAIL FROM: user, will work much better. Last time I looked the 'From:' header is copied onto 'MAIL FROM:'. Separating those will have a more flexible and cross-platform solution, since you map that address to /usr/sbin/sen

Re: [PHP-DEV] Adding mail() Parameter to Set Return Path

2002-10-31 Thread Melvyn Sopacua
At 22:16 30-10-2002, Michael Sisolak wrote: Several months ago the imap_sendmail.c routines were merged into the standard Win32 sendmail.c code. One of the results of this was that the TSendMail function gained a parameter to specifically set the mail header return path. The imap_mail() functio

[PHP-DEV] Strange problem with INI settings

2002-10-31 Thread Derick Rethans
Hello Andi, I encountered a somewhat weird thing with the "report_memleak" settings. I varified that it gets set to "0" normally if I use the -d option to CLI or the ini_set() function. With both methods ini_get() in the script returns the correct setting ("0"). But, when the value is used in m

[PHP-DEV] CVS Account Request: murphy

2002-10-31 Thread Alexander Chuprin
Translating the documentation -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Variable Functions?

2002-10-31 Thread Dan Hardiker
Hi All, Just a thought, but while working reciently with a few ECMA scripting languages (eg: ActionScript in Flash MX), I uncovered the amazing uses (especially from a security point of view) of variable functions. For those that dont know, it allows you to assign a function to a variable, rather

Re: [PHP-DEV] hebrew patch for jewish calendar

2002-10-31 Thread moshe doron
here the test file + new little patch allow more flexible way controling the results: http://212.199.221.100/moshe/heb-calendar-patch2.tar.gz thnx moshe. -- "Derick Rethans" <[EMAIL PROTECTED]> wrote in message news:Pine.LNX.4.44.0210311022570.9488-10@;jdi.jdimedia.nl... > On Wed, 30 Oct 2

[PHP-DEV] Re: #19250 [Opn->Fbk]: Php_hostconnect error

2002-10-31 Thread Andy Hunt
We have finaly worked out the problem. It was to do with a dodgy reverse DNS lookup on the domain. This seems unrelated but is the cause. So if you get the problem in the future check your reverse DNS. <[EMAIL PROTECTED]> wrote in message news:20020905190043.11642.qmail@;rack1.php.net... > ID:

[PHP-DEV] Copy of Array

2002-10-31 Thread Laurent FOINEL
when I try $newArray = $myarray the copy is by reference. How-can I do a copy by value ? Thanks -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Adding mail() Parameter to Set Return Path

2002-10-31 Thread Hartmut Holzgraefe
Michael Sisolak wrote: The only downside I see to this is that the value would only work for the internal Win32 sendmail code and not the standard Unix calls to sendmail. A windows-only solution for a standard PHP function? Who uses PHP on Win32 for serious stuff anyway? ;) now serious: this is

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-31 Thread Ford, Mike [LSS]
> -Original Message- > From: Andi Gutmans [mailto:andi@;zend.com] > Sent: 30 October 2002 19:26 > > I think you guys have convinced me that having >>> only isn't too bad > (Jason will kill me now). > Does anyone here on php-dev have any additional thoughts? Well, although I think it's a

Re: [PHP-DEV] hebrew patch for jewish calendar

2002-10-31 Thread Derick Rethans
On Wed, 30 Oct 2002, moshe doron wrote: > i already did it. > couldn u get the tar.gz file? The list manager strips them. > > let do it the web way: > http://212.199.221.100/moshe/heb-calendar-patch.tar.gz This worked :) Can you also write some tests for the test suite, so that we can trace b

Re: [PHP-DEV] hebrew patch for jewish calendar

2002-10-31 Thread Zeev Suraski
Sorry for the Engrish - latters == letters At 00:53 31/10/2002, Zeev Suraski wrote: to make things clearer English would have been much better... otiyot == latters techidot == singles asarot == tens meot == hundreds In short, there's a weight for every letter in the alphabet, and numbers are ge

Re: [PHP-DEV] hebrew patch for jewish calendar

2002-10-31 Thread Zeev Suraski
to make things clearer English would have been much better... otiyot == latters techidot == singles asarot == tens meot == hundreds In short, there's a weight for every letter in the alphabet, and numbers are generated from a combination of letters. At 23:35 30/10/2002, moshe doron wrote: > mos

[PHP-DEV] RE: [PEAR-DEV] optiizer extension import?

2002-10-31 Thread Lukas Smith
> -Original Message- > From: BUSTARRET, Jean-Francois [mailto:JFBUSTARRET@;tf1.fr] > Sent: Thursday, October 31, 2002 9:19 AM > To: George Schlossnagle; [EMAIL PROTECTED] > Subject: RE: [PEAR-DEV] optiizer extension import? > > > Votes? > > > > If it runs as fast as PHPA, if it's as easy