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

2002-09-28 Thread derick
On Sat, 28 Sep 2002, Zeev Suraski wrote: > At 19:27 26/09/2002, David Viner wrote: > >If the term "include" is not a good keyword, I'm also happy to rework the > >patch to use any keyword the group prefers. "additional_ini" sounds good to > >me, and probably doesn't carry the other control-struc

Re: [PHP-DEV] getopt function

2002-09-28 Thread derick
On Fri, 27 Sep 2002, Jon Parise wrote: > I wrote a simply getopt function for PHP (based on the system's > getopt() call). This is not meant to compete with the getopt PEAR > class but rather to provide simple command line parsing capabilities > to CLI-based PHP scripts. > > If there are no obj

[PHP-DEV] Apache 1.3, PHP and TSRM question

2002-09-28 Thread Ramesh Shankar
I am trying to port PHP and I am running into a problem with Apache 1.3. I am not familiar with the PHP language by itself and I am used to working at the O.S. level and so any help would be greatly appreciated. I tried to read through mailing list archives, the readmes, FAQs etc, but I couldn

Re: [PHP-DEV] Apache 1.3, PHP and TSRM question

2002-09-28 Thread Alan Knowles
Are you dl('')'ing and modules, - I think Zeev pointed me to a known bug with this if you have a memory leak from a dl'ed module it will crash on this type of debugging code (I think the filename gets freed when you unload the module at shutdown, and hence filename points to an out of bounds

[PHP-DEV] RE: #19637 [Opn->Bgs]: .php file truncated

2002-09-28 Thread James Moore
> (Do we have HOWTO for getting backtrace from Windows?) No we don't because its quite complex although we could make it easier. If we were to build PHP with symbols enabled and perhaps also provide .pdg and .dbg files (we would have to make sure we always build in c:\php4 or some such) then we

Re: [PHP-DEV] Apache 1.3, PHP and TSRM question

2002-09-28 Thread Ramesh Shankar
Thanks for your reply. I think the issue is more fundamental than that. How and who is to guarantee that the thread which called bc_new_num() will be the same as the thread which called bc_free_num()? bc_new_num() is called when the Apache PHP module gets loaded by some thread in Apache and bc

Re: [PHP-DEV] Apache 1.3, PHP and TSRM question

2002-09-28 Thread Ramesh Shankar
One further piece of information: We can cleanly shutdown Apache 2.0 running the same PHP binaries (except for the apache2filter module replacing the apache 1.3 module) without any issues. I just now confirmed that with Apache 2.0, the thread which is calling bc_new_num() is the *same* as the

Re: [PHP-DEV] Latest cvs: error in mbstring

2002-09-28 Thread Martin Jansen
On Don Sep 26, 2002 at 09:3505 +0200, Martin Jansen wrote: > The following error occurs when building latest CVS: > > ext/mbstring/mbstring.lo: In function `zif_mb_convert_case': > /home/martin/cvs/php/php4/ext/mbstring/mbstring.c:2499: undefined > reference to `php_unicode_convert_ca

Re: [PHP-DEV] Latest cvs: error in mbstring

2002-09-28 Thread Melvyn Sopacua
At 12:35 28-9-2002, you wrote: >Ok, this problem was fairly easy to solve as I in fact forgot to run >./buildconf. But now the next one occurs: > >"make" fails with: > > l_functions_cli.lo -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl > -lcrypt -ldl -o sapi/cli/php > /usr/bin/ld: cannot

[PHP-DEV] CGI SAPI binary location

2002-09-28 Thread Yasuo Ohgaki
Currently, CGI binary is built as "php" under source root and copied as "php-cgi" when it is installed. I would like to move CGI binary build location from source root to sapi/cgi and change binary name from php to php-cgi to avoid possible confusion. Attached patch is supposed to do the job. Doe

Re: [PHP-DEV] CGI SAPI binary location

2002-09-28 Thread Jan Lehnardt
Hi, On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote: > Does anyone find problem in this patch? I think 'make test' must be adjusted to these changes, not sure though. Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ Got an old and spare laptop? Please send me a mail. Key

Re: [PHP-DEV] getopt function

2002-09-28 Thread Sander Roobol
On Fri, Sep 27, 2002 at 10:25:56PM -0400, Jon Parise wrote: > I wrote a simply getopt function for PHP (based on the system's > getopt() call). This is not meant to compete with the getopt PEAR > class but rather to provide simple command line parsing capabilities > to CLI-based PHP scripts. > >

Re: [PHP-DEV] CGI SAPI binary location

2002-09-28 Thread Yasuo Ohgaki
Jan Lehnardt wrote: > Hi, > On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote: > >>Does anyone find problem in this patch? > > I think 'make test' must be adjusted to these changes, not sure though. > AFAIK, "make test" depends on CLI sapi now and run-tests.php can only be executed

[PHP-DEV] export data to text file

2002-09-28 Thread Diana Castillo
Hi, I want to export some fields on a regular basis from a table to a text file, preferable to the users local computer. I tried writing to a file with fopen but I get "permission denied" when I try to open it for writing. What is the best solution? Thanks, Diana -- See my web page: http://www.ne

Re: [PHP-DEV] CGI SAPI binary location

2002-09-28 Thread Marcus Börger
At 15:43 28.09.2002, Yasuo Ohgaki wrote: >Jan Lehnardt wrote: >>Hi, >>On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote: >> >>>Does anyone find problem in this patch? >>I think 'make test' must be adjusted to these changes, not sure though. > >AFAIK, "make test" depends on CLI sapi now

Re: [PHP-DEV] naming of new streams functions for 4.3

2002-09-28 Thread Andrei Zmievski
On Sat, 28 Sep 2002, Wez Furlong wrote: > Hi All, > > I'm in two minds about what to call the functions introduced by streams > to user-space. > > Some of them are called file_xxx to emphasize the fact that they operate > on files, while some of them are called stream_xxx to emphasize that they

Re: [PHP-DEV] naming of new streams functions for 4.3

2002-09-28 Thread Zeev Suraski
At 21:40 28/09/2002, Andrei Zmievski wrote: >I think that having them called stream_* would be more consistent with >the implementation. Making users aware of how these functions work is a >matter of documentation. I agree. Zeev -- PHP Development Mailing List To unsubsc

[PHP-DEV] Feature request -- feedback welcomed.

2002-09-28 Thread Lamont R. Peterson
All: I can't hardly wait for PHP 4.3 (Zend 2.0) to hit the streets. I can't express how anxiously I've been waiting for the class model to be reworked. Great job! I would, however, like to see a couple of simple additions to the planned release (if these are already coming, then I just have

Re: [PHP-DEV] Feature request -- feedback welcomed.

2002-09-28 Thread derick
On Sat, 28 Sep 2002, Lamont R. Peterson wrote: > All: > > I can't hardly wait for PHP 4.3 (Zend 2.0) to hit the streets. I can't > express how anxiously I've been waiting for the class model to be reworked. > Great job! Uhm... 4.3.0 will not ship with Zend 2.0, that will b ethe honour of PH

Re: [PHP-DEV] export data to text file

2002-09-28 Thread Pierre-Alain Joye
On Sat, 28 Sep 2002 16:02:43 +0200 "Diana Castillo" <[EMAIL PROTECTED]> wrote: > What is the best solution? Asking it on php-general, this list is for the development of php itself, not with php. Check the permission of the destination folder. hth pa -- PHP Development Mailing List

Re: [PHP-DEV] Feature request -- feedback welcomed.

2002-09-28 Thread Lamont R. Peterson
Derek & All: [NOTE: The root message of this thread is the first I've read with this list. Therefore, I don't know what's been talked about here. I'll happily admit that this makes it much easier for me to look stupid when asking questions.] On Saturday 28 September 2002 13:50, [EMAIL PROTEC

Re: [PHP-DEV] Feature request -- feedback welcomed.

2002-09-28 Thread Sebastian Bergmann
"Lamont R. Peterson" wrote: > Derek & All: His name is "Derick", like the TV inspector. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing Lis

Re: [PHP-DEV] Feature request -- feedback welcomed.

2002-09-28 Thread Pierre-Alain Joye
On Sat, 28 Sep 2002 22:23:08 +0200 Sebastian Bergmann <[EMAIL PROTECTED]> wrote: > His name is "Derick", like the TV inspector. yup, but he s more funny ;-) -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Feature request -- feedback welcomed.

2002-09-28 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > His name is "Derick", like the TV inspector. +almost (my bad, http://us.imdb.com/Title?0070981) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.

[PHP-DEV] Very cool -= Code Generator =- !!!

2002-09-28 Thread johnny1b1g
Use Codejay as your web assistant. Create ASP , PHP, COLDFUSION , ASP.NET web applications Save time and money. Visit www.codejay.com -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CGI SAPI binary location

2002-09-28 Thread Yasuo Ohgaki
Marcus Börger wrote: > At 15:43 28.09.2002, Yasuo Ohgaki wrote: >>> On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote: >> We are better to make run-tests.php runs under CGI sapi. >> Otherwise, some tests must be skipped always. >> >> Is there way to execute run-tests.php with CGI sapi?

Re: [PHP-DEV] Feature request -- feedback welcomed.

2002-09-28 Thread Sascha Cunz
> Uhm... 4.3.0 will not ship with Zend 2.0, that will b ethe honour of PHP > 5.0.0. But one can compile Zend 2.0 into PHP 4 - i think Zeev posted an HowTo some weeks ago. Regards Sascha -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] php/embed

2002-09-28 Thread Edin Kadribasic
Hello, I have just committed initial work on enabling embedding PHP into C/C++ applications. It is mostly complete, but there a few pieces missing, namely the installation part. The modification of the build system adds another target, so in order to test the new functionality you need to conf

Re: [PHP-DEV] php/embed

2002-09-28 Thread George Schlossnagle
very cool. On Saturday, September 28, 2002, at 10:56 PM, Edin Kadribasic wrote: > Hello, > > I have just committed initial work on enabling embedding PHP into C/C++ > applications. It is mostly complete, but there a few pieces missing, > namely > the installation part. The modification of the b

[PHP-DEV] Re: php/embed

2002-09-28 Thread Yasuo Ohgaki
Edin Kadribasic wrote: > Hello, > > I have just committed initial work on enabling embedding PHP into C/C++ > applications. It is mostly complete, but there a few pieces missing, namely > the installation part. The modification of the build system adds another > target, so in order to test the

[PHP-DEV] patch for imagecopyresampled()

2002-09-28 Thread Tim
This patch fixes a problem with imagecopyresampled() when copying an image with a non-constant alpha layer. If nobody objects, I'll commit this. Tim Index: gd.c === RCS file: /repository/php4/ext/gd/libgd/gd.c,v retrieving revisio