[PHP-DEV] Re: Change of cgi behaviour in 4.3.0

2002-09-24 Thread Sascha Schumann
On Wed, 25 Sep 2002, Edin Kadribasic wrote: > For some reason http status reporting has been changed in the current CVS > version of PHP. This breaks PHP under IIS and possibly other servers. Please > see http://bugs.php.net/bug.php?id=19207 for details. The reason is that it did not work pr

Re: [PHP-DEV] broken stat cache?

2002-09-24 Thread Yasuo Ohgaki
It's ok with or without caching to me. Are we going to change doc or code? If nobody objects, I'll just update the manual. -- Yasuo Ohgaki Ilia A. wrote: > The stat() calls are cached, but the access() do not appear to be. > I am not certain if PHP should even try to cache access() calls which a

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

2002-09-24 Thread Ilia A.
On September 24, 2002 11:34 pm, Yasuo Ohgaki wrote: > Ilia A. wrote: > > '"time_t" is not defined for negative values and results may be > > unpredictable'. > > > > As I understand this statement, if you rely on a valid output when given > > a negative value you make your code dependant on an OS. E

Re: [PHP-DEV] broken stat cache?

2002-09-24 Thread Ilia A.
The stat() calls are cached, but the access() do not appear to be. I am not certain if PHP should even try to cache access() calls which are pretty inexpensive compared to stat(). Ilia On September 24, 2002 10:20 pm, Yasuo Ohgaki wrote: > Try again with system() and delete/change file stat. > s

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

2002-09-24 Thread Yasuo Ohgaki
Ilia A. wrote: > '"time_t" is not defined for negative values and results may be > unpredictable'. > > As I understand this statement, if you rely on a valid output when given a > negative value you make your code dependant on an OS. Even though your code > may work on Linux, it'll not work on

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

2002-09-24 Thread Ilia A.
'"time_t" is not defined for negative values and results may be unpredictable'. As I understand this statement, if you rely on a valid output when given a negative value you make your code dependant on an OS. Even though your code may work on Linux, it'll not work on Windows and possibly other

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

2002-09-24 Thread Yasuo Ohgaki
Many systems are optimized to deal with time earlier than epoch, I suppose. Negative value works fine for me at least and this patch breaks my script for sure. Behavior may be system dependent, that's why standard do not define behavior. I think this is a documentation problem but a consistency.

Re: [PHP-DEV] broken stat cache?

2002-09-24 Thread Yasuo Ohgaki
Try again with system() and delete/change file stat. strace also shows PHP is calling stat/access if you would like. -- Yasuo Ohgaki Ilia A. wrote: > The code appears to be working fine, on my system it returns > bool(false) > bool(false) > bool(false) > bool(false) > > and without the chmod li

Re: [PHP-DEV] broken stat cache?

2002-09-24 Thread Ilia A.
The code appears to be working fine, on my system it returns bool(false) bool(false) bool(false) bool(false) and without the chmod line. bool(false) bool(true) bool(false) bool(false) Seems like perfectly valid behaviour to me, unlink() successfuly removed the file and from the looks of it clea

[PHP-DEV] broken stat cache?

2002-09-24 Thread Yasuo Ohgaki
It seems stat cache is broken. I've tried 4.0.4pl1 and 4.3.0-dev, functions that should use stat cache do no use cache, but it just call stat or access as requested. we have 2 choices. 1) Fix stat cache 2) Change documentation http://jp.php.net/manual/en/function.clearstatcache.php Fixing thi

[PHP-DEV] Re: Problem with MQL & PHP

2002-09-24 Thread nicos
Take it to the correct mailinglist: [EMAIL PROTECTED] -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Ms Rubina Khatoon" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Can any one please help me with below error?? Its > w

[PHP-DEV] Re: Re: mssql.secure_connection

2002-09-24 Thread Miroslav Adamov
If u disassemble php_mssql.dll u'll see all functions called from ntwdlib.dll. I'm not sure that would help, but here's the list: dbclose dbclrbuf dbcmd dbcollen dbcolname dbcolsource dbcoltype dbconvert dbcount dbdata dbdatlen dbdead dbexit dbfreelogin dbinit dblastrow dblogin dbnextrow dbnumcols

[PHP-DEV] Re: Reimplementing .phps

2002-09-24 Thread Yasuo Ohgaki
Zeev Suraski wrote: > In order to fix the backwards dependencies issues, as well as simplify > the implementation of phps, I suggest to ditch the existing > implementation of x-httpd-php-source, and replace it with an > almost-regular PHP request. Instead of reading the code from > request_in

[PHP-DEV] Problem with MQL & PHP

2002-09-24 Thread Ms Rubina Khatoon
Can any one please help me with below error?? Its working fine on another environment,Thanks. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/winnerwireless/includes/functions/database.php on line 49 ___

[PHP-DEV] Change of cgi behaviour in 4.3.0

2002-09-24 Thread Edin Kadribasic
For some reason http status reporting has been changed in the current CVS version of PHP. This breaks PHP under IIS and possibly other servers. Please see http://bugs.php.net/bug.php?id=19207 for details. Edin -- PHP Development Mailing List To unsubscribe, visit: http://

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-24 Thread David Viner
sorry, the attachment didn't make it. here's the patch inlined. == BEGIN PATCH == Index: configure.in === RCS file: /repository/php4/configure.in,v retrieving revision 1.372 diff -u -b -B -r1.372 configure.in --- configure.i

[PHP-DEV] [PATCH] include statement in php.ini file

2002-09-24 Thread David Viner
Hi, I've been working with Brian France on a patch that will allow users to include other ini files from the php.ini (see http://marc.theaimsgroup.com/?t=10317976671&r=1&w=2 for earlier discussions). This patch allows the following functionality from the php.ini file: include = file

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard config.m4 css.ccss.h info.c /main php_ini.c /sapi/aolserver aolserver.c /sapi/apachephp_apache.c

2002-09-24 Thread Colin Viebrock
> Just out of curiosity, what was the size before/after? Right now, it reduces the size to about 75% of the original. But a few minor changes could drop that easily to 50%. - Colin -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: andras

2002-09-24 Thread Csontos András
I'm from the Hungarian PHP Manual translator team :) and I'd like a cvs account for translating english manual into hungarian. I have been translating the manual for about a year, but I always passed my finished works to Goba to commit them. I decided to get to know cvs closely and make a bit m

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_execute.c zend_language_parser.y

2002-09-24 Thread Sebastian Bergmann
Andi Gutmans wrote: > andiTue Sep 24 15:05:53 2002 EDT > > Modified files: > /ZendEngine2zend_compile.c zend_compile.h zend_execute.c > zend_language_parser.y > Log: > - Megapatch to try and support inheritance from sub-classes. Things > m

[PHP-DEV] Re: Re: mssql.secure_connection

2002-09-24 Thread dietrich
thanks, but this isn't an authentication issue. i need the communication between php and the server to be SSL encrypted. I'm trying to figure out how the php mssql extension uses ntwdlib.dll, and if i can configure it to encrypt it's communication w/ the server. thanks, dietrich > Why do u n

[PHP-DEV] Re: mssql.secure_connection

2002-09-24 Thread Miroslav Adamov
Why do u need it? When it's set to off then u use NT authentication when connecting to the server. That works even for NT4. U need SQL authentication only if u use win98, or sql server 7 and older. If u just need informations than i can't help u. If u get some please be so nice to forward it :)

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard config.m4 css.c css.h info.c /main php_ini.c /sapi/aolserver aolserver.c /sapi/apache php_apache.c

2002-09-24 Thread Andi Gutmans
At 11:01 AM 9/24/2002 -0400, Colin Viebrock wrote: > > It obviously is not compatible with current browsers as it > > is really ugly in IE and NS. > >It looks pretty much identical to the way it did before in MSIE 5+ and >NS 6+ and Mozilla. It only looks "ugly" (i.e. not as nice as before

[PHP-DEV] mssql.secure_connection

2002-09-24 Thread dietrich
does anyone know about the state of the encryption support in the mssql extension? i see some code in the extension related to an ini option "mssql.secure_connection", but i haven't gotten an answer back from the extension author, and haven't found any documentation about it, nor any informatio

Re: [PHP-DEV] Return array in parameter from extension

2002-09-24 Thread Brian France
Try this: /*** array your_ext_func() ***/ ZEND_FUNCTION(your_ext_func) { zval *val_ret, *val_str; char *output; int ret; output = (char *)emalloc( 100 ); array_init(return_value); MAKE_STD_ZVAL(val_ret); MAKE_STD_ZVAL(val_str);

[PHP-DEV] Return array in parameter from extension

2002-09-24 Thread Ole Stakemann
Hi This is probably a stupid question, but I can't figure it out. I've been trying to search the PHP site for an answer without luck. I want to return results in an array from an extension. The array may or may not be defined. The array may or may not contain values. The PHP function could be

[PHP-DEV] CVS Account Request: hassen

2002-09-24 Thread Hassen Houssein
Translating the documentation -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] fnmatch

2002-09-24 Thread David Reid
The test for fnmatch is incorrectly giving "yes" on beos. Autoconf 2.53 seems to have a new test specifically for fnmatch so could we use their test in php? This is probably easier than requiring an upgrade to 2.53 for autoconf for such a trivial little thing... david -- PHP Development Mailin

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard config.m4 css.ccss.h info.c /main php_ini.c /sapi/aolserver aolserver.c /sapi/apachephp_apache.c

2002-09-24 Thread Colin Viebrock
> It obviously is not compatible with current browsers as it > is really ugly in IE and NS. It looks pretty much identical to the way it did before in MSIE 5+ and NS 6+ and Mozilla. It only looks "ugly" (i.e. not as nice as before) in NS 4.x, a broswer that almost no one uses anymore. >

[PHP-DEV] Scripthash PHP security module updated

2002-09-24 Thread Tom Oram
Hi, I would just like to announce an update of our scripthash library. There was problems running the previous version on system with recent versions glibc. For everyone who doesn't already know, scriphash is only relevent for people running PHP as an Apache module on a *nix system. It allows yo

[PHP-DEV] CVS Account Request: voyteck

2002-09-24 Thread Voyteck
To develop Translation PEAR class. It is to be the separate class (I have Brent Cook's vote) and the part of Wolfram Kriesing IT[X] class (already discussing implementation details on pear.dev list). Grets Voyteck -- PHP Development Mailing List To unsubscribe, visit:

[PHP-DEV] CVS Account Request: cnb

2002-09-24 Thread Chandrashekhar Bhosle
To develop and maintain the Net_Dict PEAR class which provides an interface to the DICT Protocol The Net_Dict class is registered on PEAR with me (username cnb) as the lead developer http://pear.php.net/package-info.php?pacid=114 ( It was announced on the PEAR-DEV list and received six