[PHP-DEV] Mandatory File Locking in PHP?

2003-01-29 Thread Ananth Kesari
Hi, >From the PHP manual I find that the flock() function does a advisory file locking. Is there a way to do mandatory file locking where we do strict locking? That is once a file is locked, no other process or thread is allowed to edit the file untill the lock owner is done with his job and he ha

Re: [PHP-DEV] Re: Mandatory File Locking in PHP?

2003-01-30 Thread Ananth Kesari
So, as of now, do we restrict PHP script to use only advisory file locking? Thanks, Ananth. >>> George Schlossnagle <[EMAIL PROTECTED]> 01/30/03 06:54AM >>> On Wednesday, January 29, 2003, at 07:11 PM, Marcus Börger wrote: > >> The real question is why you need mandatory locks and not advisory

[PHP-DEV] system() function call: Strange error on NetWare!

2003-01-30 Thread Ananth Kesari
Hi, I am using the system function on NetWare. I find the following strange error: 1. If I use single quoted strings, then I don't have any problem with any combination of the slash. system('sys:\system\p.nlm');// WORKS system('sys:\\system\\p.nlm'); // WORKS system('

Re: [PHP-DEV] system() function call: Strange error onNetWare!

2003-01-30 Thread Ananth Kesari
oh oh... Why didn't I think of this earlier!?:-) Thanks anyway... >>> Derick Rethans <[EMAIL PROTECTED]> 01/30/03 03:33PM >>> On Thu, 30 Jan 2003, Ananth Kesari wrote: > Hi, > > I am using the system function on NetWare. I find the following strange &

[PHP-DEV] Security question with PHP on Unix / Linux.

2003-02-04 Thread Ananth Kesari
Hi, At this point of time, I am trying to understand the way security is implemented for PHP on Unix / Linux. I mean, how are the different users distinguished in Unix / Linux. Do they get to login into the Unix / Linux system through separate accounts? In that case, do they have separate data spa

Re: [PHP-DEV] Security question with PHP on Unix / Linux.

2003-02-04 Thread Ananth Kesari
Hi Dan, I am a newbie to Unix systems and so it is very much possible to misunderstand concepts there:-( Well, I had first posted this on the PHP general list. Got no response there and so posted onto this mailing list. Maybe I will again go back to the general list. Thanks, Ananth. >>> "Dan Har

[PHP-DEV] PHP tested on 64-bit OS?

2002-08-19 Thread Ananth Kesari
Hi, We are working on porting PHP for NetWare. We have a question here: Has PHP been tested on any 64-bit Operating System? Thanks, Ananth. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] PHP tested on 64-bit OS?

2002-08-19 Thread Ananth Kesari
Nohn" <[EMAIL PROTECTED]> 08/19/02 09:42PM >>> > -Original Message- > From: Ananth Kesari [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 5:37 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] PHP tested on 64-bit OS? > > We are working

[PHP-DEV] "long long" data type in libmysql.

2002-09-04 Thread Ananth Kesari
Hi, We are working on porting PHP onto NetWare. PHP-4.2.2 sources for "libmysql" seem to be using the data type "long long" and we are facing some problems handling this data type. We see extensive use of _WIN32 and _MSC_VER in these files and so we are sure that it was compiled with MSVC. But

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/xml xml.c

2002-09-06 Thread Ananth Kesari
throw more light into this? Thanks in advance, Ananth. >>> Ananth Kesari 09/06/02 05:19PM >>> Hi, What I am doing is that I got the latest PHP4 project from CVS. Then applied only NetWare related changes into some files within #ifdef NETWARE blocks and then committed them. I did no

[PHP-DEV] NetWare changes to 4.2 source code branch.

2002-10-15 Thread Ananth Kesari
Hi all, I am working on porting PHP onto NetWare. Currently, we are shipping the older version 4.0.8 on NetWare. We are moving to the latest stable version. Zeev Suraski suggested that we move to 4.2 branch since it is significantly more stable than 4.3 branch. So, I would be checking in NetWare

[PHP-DEV] Need write access into Zend and TSRM work areas.

2002-10-22 Thread Ananth Kesari
Hi, I am working on porting PHP for NetWare. In that process I need to also write into Zend and TSRM work areas. And so, I need write access to these areas. I can write to other areas except these two. Can you give me the write access at the earliest? I need to check-in files soon. I had asked

[PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_2_0)/ext/bcmath/libbcmath/src config.h

2002-10-24 Thread Ananth Kesari
Hi, NetWare has a very old PHP, version 4.0.8! We are moving to a later stabler version for release on NetWare next month. In that connection Zeev Suraski suggested that we move to 4.2 branch which is significantly more stabler than 4.3 branch. So, I am checking in files for the 4.2 branch so t

[PHP-DEV] Re: [PHP-CVS] Some NetWare files are not getting committed.

2002-10-29 Thread Ananth Kesari
This worked fine! Thanks for this input. - Ananth. >>> "Edin Kadribasic" <[EMAIL PROTECTED]> 10/29/02 03:18PM >>> Adding folder is not enough. You need to add the files within the folder as well. Hope this helps, Edin ----- Original Message - From: &quo

[PHP-DEV] Error while checking-in files: cvs server: cannot lock ...

2002-10-30 Thread Ananth Kesari
Hi, I am porting PHP for NetWare. Most of the NetWare files are now committed into the CVS 4.2 source code branch. But I am facing one problem while I am trying to commit two batch files: BisonExtStandard.bat and BisonFlexZend.bat. I have added these two files and it went through fine. When I d

[PHP-DEV] Help requested: Memory leak in PHP for NetWare

2002-11-26 Thread Ananth Kesari
Hi, We are seeing a large memory leak in PHP 4.2.3 for NetWare. We just load mod_php alongwith apache 1.3 and then unload apache without executing any script. We find that there is a memory leak of about 14KB. The same is observed when we load the command line version of PHP also and unload it.

[PHP-DEV] Help requested: Memory leak in PHP 4.2.3 for NetWare.

2002-11-26 Thread Ananth Kesari
Hi, We are seeing a large memory leak in PHP 4.2.3 for NetWare. We just load mod_php alongwith apache 1.3 and then unload apache without executing any script. We find that there is a memory leak of about 14KB. The same is observed when we load the command line version of PHP also and unload it.

[PHP-DEV] PHP building on Linux: A question on configure script!

2002-12-13 Thread Ananth Kesari
Hi, I am involved in porting PHP for NetWare. We are now looking at and trying to understand how PHP is built on Linux. I have a question for the same. It could be a newbie question on configure script since we are new to Linux. Please help. The question is like this: On NetWare: We generate

Re: [PHP-DEV] PHP building on Linux: A question on configurescript!

2002-12-16 Thread Ananth Kesari
Well, we could figure out this as of now. Thanks for your response. We will get back if we have further problems. Thanks, Ananth. >>> Derick Rethans <[EMAIL PROTECTED]> 12/13/02 08:04PM >>> Hi, On Fri, 13 Dec 2002, Ananth Kesari wrote: > To build for Apache on Unix,

[PHP-DEV] Another question on PHP building on Linux.

2003-01-02 Thread Ananth Kesari
Hi, We have another question on building PHP on Linux: When building for Apache, we don't get, on Linux, the core PHP part as a separate binary from the Apache module. This is what the hacked up build scripts produced. Thus, instead of having a single core part which can be used by Apache 1.3 mod

Re: [PHP-DEV] PHP building on Linux: A question on configurescript!

2003-01-06 Thread Ananth Kesari
out on Linux, but it appears that this seems not to be supported. Are we correct in our findings? Or is there really a way of doing the above of having different shared modules? Your clarifications on this is highly appreciated. Thanks, Ananth. >>> "Ananth Kesari" <[EMAIL PRO

Re: [PHP-DEV] PHP building on Linux: A question on configurescript!

2003-01-06 Thread Ananth Kesari
Hi Jean, Thanks for your elaborate reply with the work around. I also got the files you sent. We will try this and get back to you if we have any issues. Thanks, Ananth. >>> Jean-Michel Dault <[EMAIL PROTECTED]> 01/06/03 10:19PM >>> Le lun 06/01/2003 à 07:24, Ananth Ke

[PHP-DEV] Scripts running on two different browsers crashes the server

2002-07-31 Thread Ananth Kesari
Hi All, I am porting PHP for NetWare. I have run into a problem during unit testing and I seek inputs from you on this. I am using two scripts: 1. In one, I am using a simple while loop: "; } ?> 2. In the other, I am just displaying the PHP info using If I run these script