[PHP-DEV] Re: [PHP-CVS] Re: cvs: php4 /main main.c /sapi/cgi cgi_main.c/sapi/cli php_cli.c /sapi/pi3web pi3web_sapi.c

2002-02-15 Thread derick
On Fri, 15 Feb 2002, Andi Gutmans wrote: > At 08:47 PM 2/14/2002 -0600, Andrei Zmievski wrote: > >Andi Gutmans wrote: > > > Exit status == -1 doesn't sound right to me. They can range from 0-255. > > > >That will only be set if there is a parse error, so I think it's safe. > > It has nothing to d

[PHP-DEV] Re: [PHP-CVS] Re: cvs: php4 /main main.c /sapi/cgi cgi_main.c /sapi/cli php_cli.c /sapi/pi3web pi3web_sapi.c

2002-02-15 Thread Andi Gutmans
At 09:25 AM 2/15/2002 +0100, [EMAIL PROTECTED] wrote: >On Fri, 15 Feb 2002, Andi Gutmans wrote: > > > At 08:47 PM 2/14/2002 -0600, Andrei Zmievski wrote: > > >Andi Gutmans wrote: > > > > Exit status == -1 doesn't sound right to me. They can range from 0-255. > > > > > >That will only be set if the

Re: [PHP-DEV] Newbie help w/ dynamic variables

2002-02-15 Thread Hartmut Holzgraefe
Chris Newbill wrote: > Why not make an alias for php-general called > php-support/php-dev-support? Maybe people would be more inclined to go > there before php-dev. don't think so :( php-dev is a rather short name and it appears very early in alphabetical lists of our lists, thats all about i

[PHP-DEV] patch for sybase extension

2002-02-15 Thread Brian Bruns
FreeTDS now supports alternate date formats when converting datetime to char. The current PHP code however passes NULL as the first argument to dbconvert(), so the code doesn't know what format is currently set. This patch passes the dbprocess instead. Anybody mind if I check it in? Brian

[PHP-DEV] ext/sockets socket_recvfrom() 6th Parameter problem

2002-02-15 Thread Richard Samar
Hi, I have a little problem with the behavior of socket_recvfrom(). Here the function entry: PHP_FE(socket_recvfrom, second_fifth_and_sixth_args_force_ref) In case you have an AF_INET socket the 6th param should be set. Byref (see FE) a port is written into the 6th param: ZVAL_LONG(arg6,

[PHP-DEV] Re: Bug #15571: incredible slashing of " and \

2002-02-15 Thread Andrey Hristov
I think this is not php problem but problem in the script. No stripslashes is made on the output. This is common problem. Best regards, Andre Hristov - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 15, 2002 6:08 PM Subject: Bug #15571: incr

Re: [PHP-DEV] Patches for odbc_execute()

2002-02-15 Thread Dan Kalowsky
Yeah yeah I'm doing some tests on them here before I commit them. No worries, I've seen your messages :) On 14 Feb 2002, Lars Torben Wilson wrote: > Could someone check these out and commit them (or similar)? At > the moment, odbc_execute() allows any script to view any file > without regard to

[PHP-DEV] Re: Bug #15571: incredible slashing of " and \

2002-02-15 Thread Alexander Motin
Script is simple as much as he can be! Here is it: --- '); print(''.$text.''); print(''); print(''); ?> --- On PHP 4.1.0 - it works fine. But on 4.1.1 i take slashing on every pressing of submit button. As i say - you can see this bug resul

[PHP-DEV] Re: Bug #15571: incredible slashing of " and \

2002-02-15 Thread Alexander Motin
I'm sorry. This is really not a bug. It is feature. This feature's name is "magic_quotes_gpc". But i think that enabling it by default is not a good idea. Andrey Hristov wrote: > What about 4.0.6? > > Best wishes > Andre Hristov > - Original Message - > From: "Alexander Motin" <[EMAIL PR

Re: [PHP-DEV] ext/sockets socket_recvfrom() 6th Parameter problem

2002-02-15 Thread Jason Greene
I just commited the proper fix to CVS Thanks for the report! -jason On Fri, 2002-02-15 at 08:14, Richard Samar wrote: > Hi, > > I have a little problem with the behavior of socket_recvfrom(). > > Here the function entry: > PHP_FE(socket_recvfrom, second_fifth_and_sixth_args_force_ref) > >

[PHP-DEV] php4.0.6, apache install problem

2002-02-15 Thread Pushkar Pradhan
Hi, I am not sure whether this is the correct list to ask this ques. I've installed php 4.0.6 since I am working with mapserver which works with 4.0.6 only. This is my configuration: ./configure --prefix=/rstc/user1/erc/pushkar/php-4.0.6 --with-apxs=/rstc/user1/erc/pushkar/apache_1.3.22/bin/apxs

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

2002-02-15 Thread Sebastian Bergmann
Andrei Zmievski wrote: > ?? ??? 200?, Version 4.2.0-dev > -- Allow a series of consecutive catch() statements (Andi, Zend Engine) Should this really go to the 4.2.0-dev NEWS? It's an enhancement to the Zend Engine 2... -- Sebastian Bergmann http://sebastian-bergmann.de/

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

2002-02-15 Thread Zeev Suraski
It shouldn't - ZendEngine2 commits shouldn't go into NEWS... At 19:43 15/02/2002, Sebastian Bergmann wrote: >Andrei Zmievski wrote: > > ?? ??? 200?, Version 4.2.0-dev > > -- Allow a series of consecutive catch() statements (Andi, Zend Engine) > > Should this really go to the 4.2.0-dev NEWS? It

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 wro

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

2002-02-15 Thread Sebastian Bergmann
"Sean R. Bright" wrote: > It looks like he was removing it from the NEWS file, not adding it. My fault, never mind. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ --

[PHP-DEV] ext/sockets socket_sendto() 5th param cannot be hostname

2002-02-15 Thread Richard Samar
Hi, yeah ext/sockets again :-) The 5th param of socket_sendto() obviously cannot be a hostname (string). socket_bind(), socket_connect() etc. allow this though. So I am not sure wether it is wanted or not. But I guess it is :-) For socket_sendto() though one would need to use gethostbyname ("m

Re: [PHP-DEV] ext/sockets socket_sendto() 5th param cannot behostname

2002-02-15 Thread Jason Greene
Wow thats inconsistent, I will have to fix that. Give me a couple of days to get to it. Thanks, -Jason On Fri, 2002-02-15 at 17:18, Richard Samar wrote: > Hi, > > yeah ext/sockets again :-) > > The 5th param of socket_sendto() obviously cannot be a hostname > (string). socket_bind(), socket_

Re: [PHP-DEV] ext/sockets socket_sendto() 5th param cannot behostname

2002-02-15 Thread Richard Samar
Jason Greene wrote: > > Wow thats inconsistent, I will have to fix that. > Give me a couple of days to get to it. :-) take your time. I have fixed my file here ;-) -moh -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Bug #15571: incredible slashing of " and \

2002-02-15 Thread Yasuo Ohgaki
Alexander Motin wrote: > I'm sorry. This is really not a bug. It is feature. > This feature's name is "magic_quotes_gpc". But i think that > enabling it by default is not a good idea. > Any objectction if I change source and php.ini-dist default? We should get rid of magic_qoutes_gpc and change

Re: [PHP-DEV] ext/sockets socket_sendto() 5th param cannotbehostname

2002-02-15 Thread Jason Greene
Well the problem is that all 3 of them work differently, and they should follow a consistent flow. One of them allows either, another allows only ip, and another allows only host. That and the protos are all wrong. I will have to do some cleanup on that. -jason On Fri, 2002-02-15 at 18:24, Ric

[PHP-DEV] PHP Tag Libraries

2002-02-15 Thread Alexander Feldman
Hello,   Being unexpectedly struck by influenza with high temperature (40C) I remained at home and wrote the very first scratches of PHP tag libraries. It is strange that such an issue had not been discussed here in the past (or maybe I have missed the mails as I don't follow very regularly

Re: [PHP-DEV] ext/sockets socket_sendto() 5th param cannotbehostname

2002-02-15 Thread Richard Samar
Jason Greene wrote: > > Well the problem is that all 3 of them work differently, > and they should follow a consistent flow. One of them allows either, > another allows only ip, and another allows only host. > > That and the protos are all wrong. > > I will have to do some cleanup on that. o

[PHP-DEV] socket_send() ...also a bug?

2002-02-15 Thread Richard Samar
I found something else about socket_send(): proto: int socket_send(resource socket, string buf, int len, int flags) 4 parameters from the source: if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsll", &arg1, &buf, &buf_len, &len, &flags) == FAILURE) 5 parameters? what is len?? please re

RE: [PHP-DEV] socket_send() ...also a bug?

2002-02-15 Thread Sean R. Bright
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:

Re: [PHP-DEV] socket_send() ...also a bug?

2002-02-15 Thread Richard Samar
"Sean R. Bright" wrote: > > 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.' :-) oki, the given prototype ist wrong then. c

[PHP-DEV] Re: Bug #12691 Updated: Apache 2: Server variables don't get set

2002-02-15 Thread Yasuo Ohgaki
It's not big deal I you have submit as developer and type wrong password, quick fix message will be displayed multiple times... [EMAIL PROTECTED] wrote: > ID: 12691 > Updated by: [EMAIL PROTECTED] > -Summary: Apache 2: Server variables don't get set > Reported By:

[PHP-DEV] Disable magic quote by default.

2002-02-15 Thread Yasuo Ohgaki
I asked in a bug report thread, but I ask again. Any objection for disabling magic quote by default? (I mean change default values in main.c and php.ini-dist) -- Yasuo Ohgaki -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php