Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard info.c

2002-10-18 Thread Colin Viebrock
> And I wonder why do you think it is so important to show the characters > like é or ä in every browser... ? For me, to show correct > multibyte characters in the gpc section would make more sense. > Therefore I think the best solution is to keep the best visibility in the > user's native cha

Re: [PHP-DEV] [PATCH] Changing entity charsethandlinginext/standard/html.c

2002-10-18 Thread Moriyoshi Koizumi
resending... Moriyoshi Koizumi <[EMAIL PROTECTED]> wrote: > I've made a revised patch. I don't see there's no more BC problem around > it. Please review it. > > PS: I finally ended my search without a hit on such a discussion: Could > you give me a pointer where that discussion took place if i

Re: [PHP-DEV] OCI patch

2002-10-18 Thread Maxim Maletsky
OK, then. -- Maxim Maletsky [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote... : > > Thies, Maxim, if you could hang on for a few hours I'll be back with a few ideas and >a cleaned up version of the patches + a switch for oracle 9+ to enable the new nls >functions. > > Abdul > -- PHP Dev

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Yasuo Ohgaki
Zeev Suraski wrote: At 11:10 17/10/2002, Yasuo Ohgaki wrote: Zeev Suraski wrote: No, we shouldn't have. It is not a deprecated feature or a discouraged feature. If you use the *FAIRLY RARE* combination of using PHP to generate XML, you'd have to configure your PHP. If you're with the vas

Re: [PHP-DEV] Re: $_ENV[] != getenv()

2002-10-18 Thread Andrew Sitnikov
Hello Tom, reede, 18.10.2002, you wrote: TS> Andrew Sitnikov wrote: >> Any comments please ? >> >> P.S. I know that 'REMOTE_ADDR' exists in $_SERVER[] TS> Are you using the lastest snapshot, I believe this is a bug that is now TS> fixed... i use 4.2.3 and will try snapshot for you. Best reg

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard info.c

2002-10-18 Thread Moriyoshi Koizumi
Hello, > If you explicitly specify a charset, then you need to encode the > characters according to that character set. The problem is, that > encodings such as é and Ä (which show up on the credits > page), don't work under all charsets/encodings. IMO this is alreadly accomplished with mbstring

[PHP-DEV] parse_url is not BC to 4.2.

2002-10-18 Thread Thies C. Arntzen
HEAD doesnt do parse_url("file:/tmp/bla") any more. (you need to have 2 slahes after file: to make it work). i really think we should allow the single-slash syntax again! re, tc -- Thies C. Arntzen - Looking for all sorts of freelance work - just ask..

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andi Gutmans
I have to admit that after grep'ing a few hundred xml documents it does seem to make some sense to support this. It's ugly but it works. The only question is what will we think of this in two years time? :) By the way, I really think we should quit the Andi At 06:12 PM 10/17/2002 +0200, Zeev S

Re: [PHP-DEV] 4.3.0-pre1 printf weirdness

2002-10-18 Thread Derick Rethans
Hello, I could reproduce this with pre1, but latest CVS works fine again. Can you try? Derick On Thu, 17 Oct 2002, Mike Robinson wrote: >printf("%01.2f",-2999/100); > echo ""; > printf("%01.2f",-3000/100); > echo ""; > printf("%01.2f",-3000/100); > echo ""; > printf("%01.2f",-

Re: [PHP-DEV] [PATCH] Changing entity charsethandlinginext/standard/html.c

2002-10-18 Thread Moriyoshi Koizumi
I've made a revised patch. I don't see there's no more BC problem around it. Please review it. PS: I finally ended my search without a hit on such a discussion: Could you give me a pointer where that discussion took place if it doesn't take your time? I've ever looked over the archives of php-de

[PHP-DEV] php/embed and php-config

2002-10-18 Thread Wez Furlong
I've been playing with php/embed and stumbled on a slight problem with php-config - it doesn't include the paths for the libs: % php-config --libs -lrecode -lexpat -lsnmp -lpanel -lncurses -lmysqlclient -lming -lm -lintl -lgd -lfreetype -lpng -lz -ljpeg -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
Brad LaFountain <[EMAIL PROTECTED]> writes: > PHP_FUNCTION(ref_assign) > { > zval *bar, *foo; > > if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &bar, &foo) == > FAILURE) { > return; > } > > ZVAL_ADDREF(foo); > *bar = *foo; > bar->i

Re: [PHP-DEV] php/embed and php-config

2002-10-18 Thread Jani Taskinen
On Fri, 18 Oct 2002, Wez Furlong wrote: >I've been playing with php/embed and stumbled on a slight problem with >php-config - it doesn't include the paths for the libs: > >% php-config --libs >-lrecode -lexpat -lsnmp -lpanel -lncurses -lmysqlclient -lming -lm >-lintl -lgd -lfreetype -lpng -lz -lj

RE: [PHP-DEV] 4.3.0-pre1 printf weirdness

2002-10-18 Thread Mike Robinson
Yup, I just grabbed a checkout and its fixed. That was a weird one. Regards Mike Robinson Derick Rethans wrote: > Hello, > > I could reproduce this with pre1, but latest CVS works fine > again. Can > you try? > > Derick > > > On Thu, 17 Oct 2002, Mike Robinson wrote: > > > > printf("%

SV: [PHP-DEV] [4.3] Current critical bugs

2002-10-18 Thread Carsten Gehling
Maybe this is what you need? http://www.naken.cc/mikehup.php I use this on a CMS site, where the users upload imagefiles with ftp. After that, they use a php webinterface to start an importscript (written in Perl). By doing this command in php: system("/usr/local/bin/mikehup /usr/bin/perl /www/s

Re[2]: [PHP-DEV] short_open_tag

2002-10-18 Thread Antony Dovgal
Hello All, AG> I don't see why it's such a big deal for people who are creating xml to AG> turn-off short tags? YES! This is the main question/answer of this thread! So, please, people, calm down. Zmievski has got the present for all of you...=)) Antony Dovgal aka tony2001 mail

Re: [PHP-DEV] php/embed and php-config

2002-10-18 Thread Wez Furlong
OK, so /usr/lib/mysql was already in ld.so.conf. The only way I got this to build was: LD_LIBRARY_PATH=/usr/lib/mysql make wtf is going wrong here? Could it be a libtool problem? --Wez. On 18/10/02, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > When I try and link I get: > /usr/i486-suse-linux/bin/

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Rasmus Lerdorf
My main worry with such a hack would be breaking a script like this: ... ... Now, people generally don't put spaces between the function name and the (), but it is a BC concern since the above script works just fine today. One idea would be to only strip They are _not_ the same person

Re: [PHP-DEV] 4.3.0-pre1 printf weirdness

2002-10-18 Thread Tom Sommer
Derick Rethans wrote: I could reproduce this with pre1, but latest CVS works fine again. Can you try? You gotta love bugkilling :) -- * Tom Sommer * http://www.tsn.dk | webmaster(a)tsn.dk * Any sufficiently advanced bug is indistinguishable from a feature -- PHP Development Mailing List

[PHP-DEV] 4.3.0-pre1 printf weirdness

2002-10-18 Thread Mike Robinson
"; printf("%01.2f",-3000/100); echo ""; printf("%01.2f",-3000/100); echo ""; printf("%01.2f",-3000/100); echo ""; printf("%01.2f",-3001/100); echo ""; printf("%01.2f",-3000/100); ?> 4.2.3 output: -29.99 -30.00 -30.00 -30.00 -30.01 -30.00 4.3.0pre1 output: -29.99 296.14 0.00 0.00

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
Stanislav Malyshev <[EMAIL PROTECTED]> writes: > OK, looking again on the matter in depth, it seems to me that you cannot > do it from C function either, due to the way in which parameters are > passed in the engine. Could you go into a little more depth on the problem, just so I understand?

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard info.c

2002-10-18 Thread Moriyoshi Koizumi
> phpinfo() no longer encodes accented characters to é or ä. > I changed this on Wed Oct 9 10:39:39 2002 in version 1.215 of info.c. I'm Sorry for taking your time. I missed the recent change about phpinfo. And I reconfirmed that the entity conversion doesn't affect multibyte characters. But we

Re: [PHP-DEV] short_open_tag & ini_set()

2002-10-18 Thread Richard Heyes
> Since there are no drawbacks at all to the does cover a great deal of the problem (taking into account the very > limited scope of the problem), I don't see a good reason not to add > it. Rasmus put it very well in one of his recent letters - PHP is not a > purists' language, complex problem so

[PHP-DEV] Re: removing apidoc.txt

2002-10-18 Thread Yasuo Ohgaki
+1 It's time to do so. -- Yasuo Ohgaki Andrei Zmievski wrote: I propose we remove apidoc.txt from the tree. It is prety outdated and only promotes confusion. We have a module for API documentation and it is available online as well. -Andrei http://www.grav

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Yasuo Ohgaki
Andi Gutmans wrote: I don't think we should add special hacks to the scanner. Soon we're going to have a zillion hacks for other XML/SGML/foobar documents. I agree. We are better to leave it as documentation issue, IMO. -- Yasuo Ohgaki Andi At 12:17 PM 10/16/2002 -0400, Ilia A. wrote: Sin

[PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
I'm trying to do some extension programming, and I'm pretty confused by the whole zval thing. In particular, references are a little mysterious. If I have $foo = "zonk"; $bar =& $foo; in PHP, what actually happens? Specifically, if I wanted a function that did such a reference

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Zeev Suraski
At 07:40 18/10/2002, Andi Gutmans wrote: At 01:09 AM 10/18/2002 +0200, Zeev Suraski wrote: At 18:49 17/10/2002, Rasmus Lerdorf wrote: has whitespace. And I personally think it's a bit pushing it. How likely is it for someone to have a function called xml(), and then call it without a space

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Dan Hardiker
Unless they like arguing with themselvse in public heh > They are _not_ the same person! > > On Thu, 17 Oct 2002, Zeev Suraski wrote: >> Well, I differ with you on that. I don't think there's anything in >> the same class as > >> At 18:08 17/10/2002, Andi Gutmans wrote: >> >I don't think we shou

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Maxim Maletsky
just making it in numbers: (users using short_tags) <> (users_using xml() function) I suppose the first one wins. Now, wouldn't it be possible to find a work around this issue? This should be a question, IMHO. -- Maxim Maletsky [EMAIL PROTECTED] On Fri, 18 Oct 2002 08:14:21 +0900 Yasuo Ohgak

[PHP-DEV] testing

2002-10-18 Thread Tit \"Black\" Petric
ignore this mail -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Xerces?

2002-10-18 Thread Alex Black
Cool that's exactly what I wanted to know :) Thanks Melvyn :) _alex > Hi, > > At 03:05 17-10-2002, Alex Black wrote: > > [...] > >> Still no one has told me what's happening with the XML extension! :) That's >> all I wanted to know... > > Are you looking for Xerces support or for a validati

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andi Gutmans
At 01:09 AM 10/18/2002 +0200, Zeev Suraski wrote: At 18:49 17/10/2002, Rasmus Lerdorf wrote: has whitespace. And I personally think it's a bit pushing it. How likely is it for someone to have a function called xml(), and then call it without a space from the I don't see why it's such a bi

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard info.c

2002-10-18 Thread Colin Viebrock
> Why did you remove the charset info? > > I want my charset back since it enables correct handling of the output. > Everything these lines commented out by you do is telling the receiver > what charset he gets. That is compareable to http charset info which > will be generated by those modules al

Re: [PHP-DEV] OCI extension - brainstorming

2002-10-18 Thread Maxim Maletsky
<[EMAIL PROTECTED]> wrote... : > the OCIQuery that maxim proposed has the advantage of being pretty > high-level, making it much easier for mysql programmers to get a grip at > oracle, but then again i think that every self-respecting php developer > would write a function/method that does this fo

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
TDJ>> I'm trying to do some extension programming, and I'm pretty confused TDJ>> by the whole zval thing. In particular, references are a little TDJ>> mysterious. If I have TDJ>> TDJ>> $foo = "zonk"; TDJ>> $bar =& $foo; TDJ>> TDJ>> in PHP, what actually happens? Specifically, i

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andi Gutmans
This is definitely one thing to think about. This is exactly the reason why I was against in the beginning. I had a feeling such ambiguities could arise. Andi At 09:43 AM 10/17/2002 -0700, Rasmus Lerdorf wrote: My main worry with such a hack would be breaking a script like this: function

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Zeev Suraski
At 18:49 17/10/2002, Rasmus Lerdorf wrote: has whitespace. And I personally think it's a bit pushing it. How likely is it for someone to have a function called xml(), and then call it without a space from the Zeev -- PHP Development Mailing List To unsubscribe, visi

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andi Gutmans
At 10:14 AM 10/18/2002 +0200, Zeev Suraski wrote: At 07:40 18/10/2002, Andi Gutmans wrote: At 01:09 AM 10/18/2002 +0200, Zeev Suraski wrote: At 18:49 17/10/2002, Rasmus Lerdorf wrote: has whitespace. And I personally think it's a bit pushing it. How likely is it for someone to have a funct

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
Stanislav Malyshev <[EMAIL PROTECTED]> writes: *snip* > TDJ>> that did such a reference assignment: > TDJ>> > TDJ>> $foo = "zonk"; > TDJ>> $bar = "baz"; > TDJ>> > TDJ>> ref_assign($bar, $foo); // $bar =& $foo; > TDJ>> > TDJ>> what has to happen in ref_assign? > > That'

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Brad LaFountain
PHP_FUNCTION(ref_assign) { zval *bar, *foo; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &bar, &foo) == FAILURE) { return; } ZVAL_ADDREF(foo); *bar = *foo; bar->is_ref = TRUE; bar->refcount = 1; } this works, b

[PHP-DEV] Re: [4.3] Current critical bugs

2002-10-18 Thread Yasuo Ohgaki
Andrei Zmievski wrote: Hi, We have 10 critical bugs in the list currently. If you could please see about fixing at least one of them, we'd be that much closer to a release candidate. Summary: Apache2 sending 304 - not modified header http://bugs.php.net/bug.php?id=17098 This is serious problem

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Andrey Hristov
- Original Message - From: "Stanislav Malyshev" <[EMAIL PROTECTED]> To: "Tim Daly, Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 17, 2002 5:34 PM Subject: Re: [PHP-DEV] trying to understand zvals > TDJ>> I'm trying to do some extension programming, and I'm prett

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
Stanislav Malyshev <[EMAIL PROTECTED]> writes: > Ah. Then you need to accept the first parameter by reference (this is > defined in ZEND_FE definition, put first_arg_force_ref as second > parameter). Then you get parameters the usual way (zend_get_parameters_ex, > etc.) and have to zval ** va

[PHP-DEV] Re: $_ENV[] != getenv()

2002-10-18 Thread Tom Sommer
Andrew Sitnikov wrote: Any comments please ? P.S. I know that 'REMOTE_ADDR' exists in $_SERVER[] Are you using the lastest snapshot, I believe this is a bug that is now fixed... -- * Tom Sommer * http://www.tsn.dk | webmaster(a)tsn.dk * Any sufficiently advanced bug is indistinguishable from

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andrei Zmievski
They are _not_ the same person! On Thu, 17 Oct 2002, Zeev Suraski wrote: > Well, I differ with you on that. I don't think there's anything in the > same class as > Zeev > > At 18:08 17/10/2002, Andi Gutmans wrote: > >I don't think we should add special hacks to the scanner. Soon we're going

Re: Re: [PHP-DEV] OCI patch

2002-10-18 Thread predator79
Ok, I've attached a pretty ok version. I had to update the config.m4 to inculde a HAVE_OCI9 define, but since I'm not really good in this kind of thing, buildconf now reports a warning autoheader: No template for symbol `HAVE_OCI9' don't know what to do about it. otherwise everything compiles a

[PHP-DEV] removing apidoc.txt

2002-10-18 Thread Andrei Zmievski
I propose we remove apidoc.txt from the tree. It is prety outdated and only promotes confusion. We have a module for API documentation and it is available online as well. -Andrei http://www.gravitonic.com/ "Computers are useless. They can only give you answer

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Rasmus Lerdorf
> On Thu, Oct 17, 2002 at 09:43:02AM -0700, Rasmus Lerdorf wrote: > > My main worry with such a hack would be breaking a script like this: > > > >> function xml() { > > echo "Hello World"; > > } > > ?> > > ... > > > > ... > > The hadler I suggest will no break any old c

Re: [PHP-DEV] Re: OCI extension - OCIQuery() ?

2002-10-18 Thread Thies C. Arntzen
On Thu, Oct 17, 2002 at 01:36:26PM +0200, Maxim Maletsky wrote: > > "Thies C. Arntzen" <[EMAIL PROTECTED]> wrote... : > > > > Hope to see someone to anser, commenting my thoughts on this. I am very > > > much willing contributing to the PHP's Oracle support development. > > > > that always

[PHP-DEV] No CLI and install-headers/build/programs

2002-10-18 Thread Sascha Schumann
Could someone explain to me why install-headers, programs, build are treated as if they cannot be separately installed from the pear scripts? if test "$PHP_PEAR" != "no" && test "$disable_cli" != "1"; then install_pear="install-pear install-build install-headers install-progr

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
TDJ>> Thanks for your response! While it does not cause a crash, your TDJ>> function doesn't do what I expected. Do you know where I went TDJ>> wrong? You are right, this doesn't work. I'll look a bit more into it... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://ww

Re: [PHP-DEV] Re: [4.3] Current critical bugs

2002-10-18 Thread Ilia A.
On October 17, 2002 07:06 pm, Yasuo Ohgaki wrote: > Andrei Zmievski wrote: > > Hi, > > > > We have 10 critical bugs in the list currently. If you could please see > > about fixing at least one of them, we'd be that much closer to a release > > candidate. > > Summary: Apache2 sending 304 - not modif

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Steph
> They are _not_ the same person! I'm not convinced. Have you never seen Fight Club? > On Thu, 17 Oct 2002, Zeev Suraski wrote: > > Well, I differ with you on that. I don't think there's anything in the > > same class as > > > Zeev > > > > At 18:08 17/10/2002, Andi Gutmans wrote: > > >I don't

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
TDJ>> Thanks for your response! While it does not cause a crash, your TDJ>> function doesn't do what I expected. Do you know where I went TDJ>> wrong? OK, looking again on the matter in depth, it seems to me that you cannot do it from C function either, due to the way in which parameters are p

Re: [PHP-DEV] [PATCH] Changing entity charset

2002-10-18 Thread Yasuo Ohgaki
Wez Furlong wrote: Err, I suggest you read that patch again. The default will be the mbstring.internal_charset That's not the same thing! Since the guess code is in #if, PHP is changing behavior without the patch according to the compiled environment. How about add current guess code if intern

Re: [PHP-DEV] Re: [4.3] Current critical bugs

2002-10-18 Thread Yasuo Ohgaki
Ilia A. wrote: Summary: Apache2 sending 304 - not modified header http://bugs.php.net/bug.php?id=17098 This is serious problem for serious sites. (Serious sites shouldn't use Apache2, though) This looks like an Apache 2 bug, rather then aPHP one. I am guessing the fix they made did not work p

[PHP-DEV] $_ENV[] != getenv()

2002-10-18 Thread Andrew Sitnikov
Hello php-dev, Output: getenv('REMOTE_ADDR'): 212.7.15.36 $_ENV['REMOTE_ADDR']: getenv('PATH'): /usr/bin/X11:/usr/games:/usr/bin:/bin:/usr/local/bin: $_ENV['PATH']: /usr/bin/X11:/usr/games:/usr/bin:/bin:/usr/local/bin: Any comments please ? P.S. I know that 'REMOTE_ADDR' exists in $_SERVER[]

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
TDJ>> Sorry, I wasn't clear. I mean ref_assign to be a C function, in my TDJ>> extension. Ah. Then you need to accept the first parameter by reference (this is defined in ZEND_FE definition, put first_arg_force_ref as second parameter). Then you get parameters the usual way (zend_get_parameters

Re: [PHP-DEV] Re: [4.3] Current critical bugs

2002-10-18 Thread Ryo Takagi
/test.phtml HTTP/1.1 Host: localhost.localdomain If-Modified-Since: Fri, 18 Oct 2002 09:09:00 GMT HTTP/1.1 200 OK Date: Fri, 18 Oct 2002 09:18:19 GMT Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g PHP/4.3.0-dev Accept-Ranges: bytes X-Powered-By: PHP/4.3.0-dev Last-Modified: Fri, 1

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Zeev Suraski
At 10:32 18/10/2002, Andi Gutmans wrote: Why for a couple of years? Oh because we might end up finding out it wasn't such a good idea after all? :) No, because in a couple of years maybe Well anyway, as far as I'm concerned, it's not such a big deal either way and it's always fun to be able t

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Jan Lehnardt
Hi, On Fri, Oct 18, 2002 at 11:50:12AM +0200, Zeev Suraski wrote: > I can only argue with myself so much, eh? :) yeah, just keep pretending dude... :) Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ Got an old and spare laptop? Please send me a mail. Key7BCC EB86

Re: [PHP-DEV] Re: OCI extension - OCIQuery() ?

2002-10-18 Thread Maxim Maletsky
"Thies C. Arntzen" <[EMAIL PROTECTED]> wrote... : > i don't really think it's a needed function as it won't > support binding of variables and setting the execute mode. True, you cannot use it for binding variables. Only these who often do plain queries would find it useful. > also

Re: [PHP-DEV] Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST?

2002-10-18 Thread Andi Gutmans
At 05:45 AM 10/16/2002 +0300, Jani Taskinen wrote: On Wed, 16 Oct 2002, Yasuo Ohgaki wrote: >Another option. > >How about remove $_FILES contents from $_REQUEST? >It seems it has less impact. +1 for this option. There's really no need it for to be in $_REQUEST.. +1 from me too. I think

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andi Gutmans
I don't think we should add special hacks to the scanner. Soon we're going to have a zillion hacks for other XML/SGML/foobar documents. Andi At 12:17 PM 10/16/2002 -0400, Ilia A. wrote: Since the general consensus by the developers is not to remove the short_tags or even disable them. Perhaps we

[PHP-DEV] new OCI brainstorm

2002-10-18 Thread Maxim Maletsky
"Thies C. Arntzen" <[EMAIL PROTECTED]> wrote... : > On Wed, Oct 16, 2002 at 10:26:46AM +0200, [EMAIL PROTECTED] wrote: > > Oh, and just to be clear about it: I am absolutely positive on > > a completely new (perhaps unified) extension for PHP 5, and > > would gladly participate. > > hmm, su

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Zeev Suraski
Well, I differ with you on that. I don't think there's anything in the same class as Zeev At 18:08 17/10/2002, Andi Gutmans wrote: I don't think we should add special hacks to the scanner. Soon we're going to have a zillion hacks for other XML/SGML/foobar documents. Andi At 12:17 PM 10/16/2

[PHP-DEV] Identify Server

2002-10-18 Thread ^|CoOL|^ cRþSH
How can i identify what server is using an Ip... eg, 64.88.33.24 --- > apache.. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andrei Zmievski
On Thu, 17 Oct 2002, Derick Rethans wrote: > On Thu, 17 Oct 2002, Andrei Zmievski wrote: > > > I. Am. So. Tired. Of. Seeing. This. Come. Up. Over. And. Over. Again. > > > > The next time someone mentions this on the list, I'm grabbing a LART[1] and > > heading over to their house. > > So we're n

Re: [PHP-DEV] Identify Server

2002-10-18 Thread Derick Rethans
On Thu, 17 Oct 2002, ^|CoOL|^ cRþSH wrote: > How can i identify what server is using an Ip... > eg, 64.88.33.24 --- > apache.. lynx -dump -head http://$1/ | grep Server | cut -d ':' -f 2 | sed 's/^[ ]//' But this is the _wrong_ list for asking these questsions, see php.net/support.php. Deric

[PHP-DEV] parse_url still broken!

2002-10-18 Thread Thies C. Arntzen
url: file:/bla/test 4.2.x output: array(2) { ["scheme"]=> string(4) "file" ["path"]=> string(9) "/bla/test" } HEAD: array(3) { ["scheme"]=> string(4) "file" ["host"]=> string(3) "bla" ["path"]=> string(5) "/test" } re, tc -- Thies C. Arntzen - Looking f

[PHP-DEV] OCI patch

2002-10-18 Thread predator79
Thies, Maxim, if you could hang on for a few hours I'll be back with a few ideas and a cleaned up version of the patches + a switch for oracle 9+ to enable the new nls functions. Abdul -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Changing entity charset

2002-10-18 Thread Wez Furlong
Err, I suggest you read that patch again. The default will be the mbstring.internal_charset That's not the same thing! --Wez. On Thu, 17 Oct 2002, Yasuo Ohgaki wrote: > Wez Furlong wrote: > > Search for "htmlentities charset". Both myself and thies (and probably others > > were discussing this

RE: [PHP-DEV] Re: [4.3] Current critical bugs

2002-10-18 Thread James Cox
Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > HEAD /test.phtml HTTP/1.1 > Host: localhost.localdomain > > HTTP/1.1 200 OK > Date: Fri, 18 Oct 2002 09:18:00 GMT > Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g PHP/4.3.0-d

Re: [PHP-DEV] Re: [4.3] Current critical bugs

2002-10-18 Thread Ryo Takagi
> What actual patch did you add to ap2filter? > > -- james The one with the look that you did not like... :-) This patch was created based on 4.2.3 code but could successfully be applied to the current CVS one as well. --- sapi/apache2filter/sapi_apache2.c~ Fri Aug 16 07:27:03 2002 +++ sapi/

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard info.c

2002-10-18 Thread Marcus Börger
At 16:24 17.10.2002, Colin Viebrock wrote: > Why did you remove the charset info? > > I want my charset back since it enables correct handling of the output. > Everything these lines commented out by you do is telling the receiver > what charset he gets. That is compareable to http charset info wh

[PHP-DEV] #19771 - patch

2002-10-18 Thread Tal Peer
hello, this patch tries to fix the performance issues described in bug #19771. i cannot benchmark this at the moment, so if anyone can, please do. the patch is available at http://tal.madcode.org/file.c.patch and thanks to wez :) Tal -- PHP Development Mailing List To unsu

[PHP-DEV] Re: #19771 - patch

2002-10-18 Thread Yasuo Ohgaki
Tal Peer wrote: hello, this patch tries to fix the performance issues described in bug #19771. i cannot benchmark this at the moment, so if anyone can, please do. the patch is available at http://tal.madcode.org/file.c.patch and thanks to wez :) Getting better, but it still too slow somehow...

Re: [PHP-DEV] Re: #19771 - patch

2002-10-18 Thread Derick Rethans
On Fri, 18 Oct 2002, Yasuo Ohgaki wrote: > Tal Peer wrote: > > hello, > > this patch tries to fix the performance issues described in bug #19771. > > i cannot benchmark this at the moment, so if anyone can, please do. > > the patch is available at http://tal.madcode.org/file.c.patch > > > > and t

[PHP-DEV] Re: #19771 - patch

2002-10-18 Thread Yasuo Ohgaki
Yasuo Ohgaki wrote: Tal Peer wrote: hello, this patch tries to fix the performance issues described in bug #19771. i cannot benchmark this at the moment, so if anyone can, please do. the patch is available at http://tal.madcode.org/file.c.patch and thanks to wez :) Getting better, but it sti

[PHP-DEV] Re: #19771 - patch

2002-10-18 Thread Yasuo Ohgaki
Tal Peer wrote: hello, this patch tries to fix the performance issues described in bug #19771. i cannot benchmark this at the moment, so if anyone can, please do. the patch is available at http://tal.madcode.org/file.c.patch and thanks to wez :) It's not related to file(), but I found another

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Tom Sommer
Andi Gutmans wrote: I don't see why it's such a big deal for people who are creating xml to turn-off short tags? Me neither, I use short tags all the time, but thats just me :) -- * Tom Sommer * http://www.tsn.dk | webmaster(a)tsn.dk * Any sufficiently advanced bug is indistinguishable from a

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Rasmus Lerdorf
On Fri, 18 Oct 2002, Andi Gutmans wrote: > At 01:09 AM 10/18/2002 +0200, Zeev Suraski wrote: > >At 18:49 17/10/2002, Rasmus Lerdorf wrote: > >> has whitespace. > > > >And I personally think it's a bit pushing it. How likely is it for > >someone to have a function called xml(), and then call it wi

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Melvyn Sopacua
At 18:08 18-10-2002, Rasmus Lerdorf wrote: On Fri, 18 Oct 2002, Andi Gutmans wrote: > At 01:09 AM 10/18/2002 +0200, Zeev Suraski wrote: > >At 18:49 17/10/2002, Rasmus Lerdorf wrote: > >> has whitespace. > > > >And I personally think it's a bit pushing it. How likely is it for > >someone to have

[PHP-DEV] Understanding build on Win32

2002-10-18 Thread Maxim Maletsky
Hi, I am trying to understand better about building Win32 copy correctly with Visual Studio 6 Enterprise. The only documentation I found so far was http://www.php.net/manual/en/install.windows.php#install.windows.manual which, besides not really being what I need, looks also a bit outdated (isn

Re: [PHP-DEV] Understanding build on Win32

2002-10-18 Thread Markus Fischer
On Fri, Oct 18, 2002 at 10:17:21PM +0200, Maxim Maletsky wrote : > 1. What dsp should I start compiling from for testing? php4ts.dsw > > 2. What VC settings do I need to make? Select the target you like to compile, apache sapi or php4ts_cli for example. > > 3. Is there any documen

Re: [PHP-DEV] Understanding build on Win32

2002-10-18 Thread Maxim Maletsky
Thanks, Markus, that was helpful. Would you like to also explain me more about the 'testsuite' dsw? i couldn't figure it out because all i could see about it is the compile logs over the archives :) -- Maxim Maletsky [EMAIL PROTECTED] On Fri, 18 Oct 2002 23:20:45 +0200 Markus Fischer <[EMAIL

[PHP-DEV] duplicate string, no dupe, ?

2002-10-18 Thread Rasmus Lerdorf
I'm trying to optimize some code for an *extremely* busy site. This site has a bunch of data in shared memory to make it available across all the httpd's. I need to provide this data in the form of arrays to user-space PHP through an extension obviously. Rather trivial to do, but my problem is t

Re: [PHP-DEV] duplicate string, no dupe, ?

2002-10-18 Thread Rasmus Lerdorf
On Fri, 18 Oct 2002, Rasmus Lerdorf wrote: > I'm trying to optimize some code for an *extremely* busy site. This site > has a bunch of data in shared memory to make it available across all the > httpd's. I need to provide this data in the form of arrays to user-space > PHP through an extension o

Re: [PHP-DEV] parse_url still broken!

2002-10-18 Thread Ilia A.
Also fixed. Ilia On October 18, 2002 06:37 am, Thies C. Arntzen wrote: > url: > file:/bla/test > > 4.2.x output: > array(2) { > ["scheme"]=> > string(4) "file" > ["path"]=> > string(9) "/bla/test" > } > > HEAD: > array(3) { > ["scheme"]=> > string(4) "file" > ["host"]=> >

[PHP-DEV] CVS Account Request: iwakiri

2002-10-18 Thread Youichi Iwakiri
I would like to help i18n related development including mbstring, manual maintenance (English and Japanese) and maintain some PECL module like namazu. Access requested: php4, pear, phpdoc and phpdoc-ja -- PHP Development Mailing List To unsubscribe, visit: http://www.p

[PHP-DEV] Unexpected error - recursive dependency

2002-10-18 Thread Maxim Maletsky
Hi, While testing a few things on the OCI8 extension I got a very unusual error from a very simple script. (Look below) I am running an VS6 compiled CVS version via CLI on Win2k. here's the script: result: - F:\php_compiled\source\Release_TS>php ../../tests/

Re: [PHP-DEV] Re: Apache 2 & incorrect 304 response to "If-Modified-Since"

2002-10-18 Thread TAKAGI Ryo
Sorry, I found the CVS snapshot extracted on 20021016, but I now found the problem not fixed. Either my test environment is not good, or my ability to check all through it is insufficient... Anyway, > I don't particularly like the look of this patch... we should fix 304's > properly... However,