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

2002-10-09 Thread Derick Rethans
On Wed, 9 Oct 2002, Yasuo Ohgaki wrote: Colin Viebrock wrote: This is getting a little more complicated than I think is necessary. There are two issues here, I think: a) Fonts. Some people didn't like Arial, so I reverted to letter the browser decide. Some people didn't like that,

Re: [PHP-DEV] default properties (in c)

2002-10-09 Thread Derick Rethans
On 8 Oct 2002, Tim Daly, Jr. wrote: Brad LaFountain [EMAIL PROTECTED] writes: What engine are you working with 1 or 2? -brad I imagine PHP3 == engine 1, and PHP4 == engine 2? PHP 3 is engine 0.5, PHP 4 is engine 1 and PHP 5 will be engine 2 :) So you're most likely using engine 1.

[PHP-DEV] session.save_path = N;/path

2002-10-09 Thread Wez Furlong
I thought that I'd try this out with HEAD, but I found that PHP would go into an infinite loop. I didn't have time to debug it, so I reverted to using a regular path instead. Could a session guru take a look and double check this? session.save_path=2;/var/tmp-- infinite loop

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

2002-10-09 Thread Wez Furlong
On 10/09/02, Yasuo Ohgaki [EMAIL PROTECTED] wrote: AFAIK, there is no Arial that includes CJK. Arial Unicode MS (that 22MB TTF you'll find in \windows\fonts) seems to do a good job of including virtually all characters known to man. BTW: Colin - there is a bug report about phpinfo() - you are

[PHP-DEV] Re: session.save_path = N;/path

2002-10-09 Thread Sascha Schumann
On Wed, 9 Oct 2002, Wez Furlong wrote: I thought that I'd try this out with HEAD, but I found that PHP would go into an infinite loop. I didn't have time to debug it, so I reverted to using a regular path instead. Could a session guru take a look and double check this?

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

2002-10-09 Thread Melvyn Sopacua
At 08:34 9-10-2002, Derick Rethans wrote: For once I agree with yasuo here :) phpinfo() doesn't need to look pretty, it's for _debug_ output. Which means it needs to be as clear as possible. Formatting it for readibility is a plus - you don't want output that's hard to read, as you're already

Re: [PHP-DEV] ext/sysvmsg

2002-10-09 Thread Melvyn Sopacua
At 06:02 9-10-2002, Sascha Schumann wrote: Good point - but also raises, whether to look for this struct in the first place. Why not skip it all, and define it ISO C compliant, in php_ namespace? That would be a possibility, although you never know how engineers at some random

[PHP-DEV] fopencookie detection

2002-10-09 Thread Wez Furlong
Before we branch, I would be grateful if someone could verify that we are detecting fopencookie correctly. It seems that older glibcs use an off_t parameter for the seeker function, while newer versions pass an fpos_t * instead. I've (previously) expanded the PHP_FOPENCOOKIE test in

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

2002-10-09 Thread Yasuo Ohgaki
Wez Furlong wrote: On 10/09/02, Yasuo Ohgaki [EMAIL PROTECTED] wrote: AFAIK, there is no Arial that includes CJK. Arial Unicode MS (that 22MB TTF you'll find in \windows\fonts) seems to do a good job of including virtually all characters known to man. Hmm... I don't have it under my

[PHP-DEV] Re: session.save_path = N;/path

2002-10-09 Thread Wez Furlong
Doh! I somehow misread that line, despite reading it several times. I think it would be useful to emit a warning in this situation. (if I misread it, I'm sure others will do so also). --Wez. On 10/09/02, Sascha Schumann [EMAIL PROTECTED] wrote: On Wed, 9 Oct 2002, Wez Furlong wrote:

[PHP-DEV] creating files??

2002-10-09 Thread Aidal
Hi NG. I'm having problems creating files at a certain location. If I attemt to create a file it gets created in the rootdir (htdocs) even though I add a path infront of the file name. I've tried severel ways of adding a path (with / and \\) but nothing works. eksample: /nef/articles/54.txt

[PHP-DEV] Bundled exapt and Cygwin

2002-10-09 Thread Melvyn Sopacua
Hi, cygwin 1.3.12 (everything upgraded yesterday): CYGWIN_NT-5.0 WEBMASTER 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown Small patch needed, for the bundled expat. Otherwise, __imp_ is prepended, to the symbols and linking fails. Objections? Index: ext/xml/expat/expat.h

Re: [PHP-DEV] CODING_STANDARDS addition re: emalloc

2002-10-09 Thread Jon Parise
A new CODING_STANDARDS patch is attached, based on feedback from Andi and Dan (thanks!). Please review and comment. -- Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/) Index: CODING_STANDARDS === RCS file:

Re: [PHP-DEV] CODING_STANDARDS addition re: emalloc

2002-10-09 Thread Markus Fischer
On Wed, Oct 09, 2002 at 09:47:10AM -0400, Jon Parise wrote : +[11] Prefer emalloc(), efree(), estrdup(), etc. to their standard C library + counterparts. These functions implement an internal safety-net + mechanism that ensures the deallocation of any unfreed memory at the + end

[PHP-DEV] Re: [PHP-QA] Re: ICONV test

2002-10-09 Thread Derick Rethans
On Wed, 9 Oct 2002, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-10-09 15:12:57 +0200: Ah, great. Only 4 failed test left :) looks like 4.3 will be the best release test harness-wise. For that to happen we need MUCH more tests. It would be a very nice thing if there would be a

Re: [PHP-DEV] CODING_STANDARDS addition re: emalloc

2002-10-09 Thread DJ Anubis
Le Mercredi 9 Octobre 2002 16:01, Markus Fischer a écrit : On Wed, Oct 09, 2002 at 09:47:10AM -0400, Jon Parise wrote : +[11] Prefer emalloc(), efree(), estrdup(), etc. to their standard C library + counterparts. These functions implement an internal safety-net + mechanism that

Re: [PHP-DEV] default properties (in c)

2002-10-09 Thread Brad LaFountain
Ok, I don't think default_properties is what you are looking for. default_properties store the information about defined variables and their default value. Like this: class MyClass { var $test = mytest; } at compile time MyClass class_entry will have test = mytest in its default properties.

[PHP-DEV] Bug handling survey - Tree based models

2002-10-09 Thread Gunes Koru
Hello PHP contributors, I am conducting a survey about the way bugs are handled in open source software projects. The survey includes questions that can be answered by developers,testers, bug fixers, project managers, and owners of defect databases. It is only and only for research purposes and

Re: [PHP-DEV] Bug handling survey - Tree based models

2002-10-09 Thread Jan Lehnardt
Hi, On Wed, Oct 09, 2002 at 09:38:46AM -0500, Gunes Koru wrote: Hello PHP contributors, didn't we agree not to do that again? Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ Got an old and spare laptop? Please send me a mail. Key7BCC EB86 8313 DDA9 25DF

Re: [PHP-DEV] default properties (in c)

2002-10-09 Thread Tim Daly, Jr.
Brad LaFountain [EMAIL PROTECTED] writes: Ok, I don't think default_properties is what you are looking for. default_properties store the information about defined variables and their default value. Like this: class MyClass { var $test = mytest; } at compile time MyClass class_entry

Re: [PHP-DEV] Bug handling survey - Tree based models

2002-10-09 Thread Derick Rethans
Can you please stop spamming this list? Derick On Wed, 9 Oct 2002, Gunes Koru wrote: Hello PHP contributors, I am conducting a survey about the way bugs are handled in open source software projects. The survey includes questions that can be answered by developers,testers, bug fixers,

Re: [PHP-DEV] Bug handling survey - Tree based models

2002-10-09 Thread Alan Knowles
Jan Lehnardt wrote: Hi, On Wed, Oct 09, 2002 at 09:38:46AM -0500, Gunes Koru wrote: Hello PHP contributors, didn't we agree not to do that again? Well he did shorten his signature - so we are getting somewhere - slowly :) Jan -- PHP Development Mailing List

[PHP-DEV] session_register warnings

2002-10-09 Thread Rasmus Lerdorf
Sascha, could we revisit these session changes? I stuck current head on a server that runs all sorts of PHP code written by a bunch of different people. These warnings were everywhere: Warning: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be

[PHP-DEV] Re: dahlia.dasmoped.net daily run output

2002-10-09 Thread Jim Winstead
these are still being sent to [EMAIL PROTECTED] (perhaps the mail configuration needs to get updated?) jim On Wed, Oct 09, 2002 at 03:06:27AM +0200, Charlie Root wrote: Removing stale files from /var/preserve: Cleaning out old system announcements: Removing stale files from /var/rwho:

[PHP-DEV] PHP and Smarty Templates

2002-10-09 Thread Calking
I have a variable in a smarty template: $product.url ... Within the smarty template I have: {include file=getTable.tpl} ... In the included template I have a function called: getTable($url) ... From the original template where the $product.url resides, I would like to pass that value into the

[PHP-DEV] Re: session_register warnings

2002-10-09 Thread Sascha Schumann
I'd like to do a collective rethink of this. The simple description of the session_register() function in the manual is: This description was correct initially (I wrote it), but has not been updated as the session module was extended. I've noticed this documentation issue in the

Re: [PHP-DEV] session_register warnings

2002-10-09 Thread Zeev Suraski
FWIW, I didn't manage to understand what the problem was with the codebase before the patch. Sascha - can you explain it? I tend to agree with Rasmus about this change being a not-so-good idea, but maybe we're just not aware of the problems that existed before the patch. Zeev At 19:09

Re: [PHP-DEV] CODING_STANDARDS addition re: emalloc

2002-10-09 Thread Andi Gutmans
Looks good! Andi At 09:47 AM 10/9/2002 -0400, Jon Parise wrote: A new CODING_STANDARDS patch is attached, based on feedback from Andi and Dan (thanks!). Please review and comment. -- Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/) -- PHP Development Mailing List

[PHP-DEV] Re: [PHP-CVS] cvs: php4 / php.ini-dist

2002-10-09 Thread Andi Gutmans
Hey, If the fopen() fails why not create the directory? It shouldn't be too hard to do and it'd really improve usability. Andi At 09:03 AM 10/9/2002 +, Sascha Schumann wrote: sas Wed Oct 9 05:03:04 2002 EDT Modified files: /php4 php.ini-dist Log:

[PHP-DEV] Re: session_register warnings

2002-10-09 Thread Rasmus Lerdorf
On Wed, 9 Oct 2002, Sascha Schumann wrote: I'd like to do a collective rethink of this. The simple description of the session_register() function in the manual is: This description was correct initially (I wrote it), but has not been updated as the session module was extended.

Re: [PHP-DEV] Re: session_register warnings

2002-10-09 Thread Andi Gutmans
Unless we're missing some problem I agree with Rasmus here. I don't see much advantage in changing this. Of course, there might be a reason Andi At 10:40 AM 10/9/2002 -0700, Rasmus Lerdorf wrote: On Wed, 9 Oct 2002, Sascha Schumann wrote: I'd like to do a collective rethink of this. The

Re: [PHP-DEV] Re: session_register warnings

2002-10-09 Thread Gareth Ardron
At 10:40 09/10/2002 -0700, you wrote: I am not talking about just mine. I am talking about a sizeable subset of all PHP apps that use sessions. My problem here is that I do not understand the reasoning for not continuing to allow session_register to work on global variables regardless of the

Re: [PHP-DEV] Re: session_register warnings

2002-10-09 Thread Derick Rethans
On Wed, 9 Oct 2002, Gareth Ardron wrote: At 10:40 09/10/2002 -0700, you wrote: I am not talking about just mine. I am talking about a sizeable subset of all PHP apps that use sessions. My problem here is that I do not understand the reasoning for not continuing to allow session_register

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

2002-10-09 Thread Andi Gutmans
At 10:47 PM 10/9/2002 +0200, Sterling Hughes wrote: On Wed, 2002-10-09 at 22:45, Derick Rethans wrote: On 9 Oct 2002, Sterling Hughes wrote: On Wed, 2002-10-09 at 22:21, Thies C. Arntzen wrote: On Wed, Oct 09, 2002 at 06:29:45PM -, Sterling Hughes wrote: sterling

[PHP-DEV] Re: mb_convert_case (Was: Re: #19257 [Bgs]: strtolower strtoupper does not work for UTF-8 strings)

2002-10-09 Thread Stig Venaas
On Thu, Sep 26, 2002 at 02:10:04AM +0100, Wez Furlong wrote: All: I've just committed a php-style version of the ucdata package that Stig directed me to. Great! Stig: Rather than generate binary data files at configure time, based on a bundled UnicodeData.txt file which is quite large,

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

2002-10-09 Thread Andi Gutmans
At 11:03 PM 10/9/2002 +0200, Sterling Hughes wrote: On Wed, 2002-10-09 at 22:56, Derick Rethans wrote: On Wed, 9 Oct 2002, Andi Gutmans wrote: At 10:35 PM 10/9/2002 +0200, Sterling Hughes wrote: On Wed, 2002-10-09 at 22:21, Thies C. Arntzen wrote: On Wed, Oct 09, 2002 at 06:29:45PM