Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
[EMAIL PROTECTED] (Marcus Börger) wrote... : > At 10:14 26.11.2002, Derick Rethans wrote: > >On Tue, 26 Nov 2002, John Coggeshall wrote: > > > > > > > > Maxim (and anyone else who is interested) > > > > > > Shall we try to get a patch for this working then? I'm thinking perhaps > > > starting off

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Edin Kadribasic
> > I've seen a big poster in my local Fullbright foundation represantive. > > It says something like : "One of every four people on the earth knows some > > English". > > Why does Billy localize M$ windows then? And, most importantly, what > would he sell without doing it? Remember, his users kno

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
"Andrey Hristov" <[EMAIL PROTECTED]> wrote... : > I've seen a big poster in my local Fullbright foundation represantive. > It says something like : "One of every four people on the earth knows some > English". Why does Billy localize M$ windows then? And, most importantly, what would he sell wi

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
Agreed on this. Errors can be free of code and only "looked-up" when triggered. -- Maxim Maletsky [EMAIL PROTECTED] Derick Rethans <[EMAIL PROTECTED]> wrote... : > On Mon, 25 Nov 2002, George Schlossnagle wrote: > > > > > > > By the way, could you please advise by how much I will need to >

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
XML or not XML is not yet the question. It can be something else having its own XML version. What is the browsercap then? Somthing of that nature for core PHP, but creating that file from a Documentation XML error file. -- Maxim Maletsky [EMAIL PROTECTED] Derick Rethans <[EMAIL PROTECTED]> w

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
Derick Rethans <[EMAIL PROTECTED]> wrote... : > On Tue, 26 Nov 2002, Maxim Maletsky wrote: > > > This can be easily avoided. When I have to report an Oracle error in > > Italian on an English page, I simply type the error code. We need to > > introduce error codes in PHP, that would really solve

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Maxim Maletsky wrote: > Derick Rethans <[EMAIL PROTECTED]> wrote... : > > > IMO it doesn't improve anything; people who don't want to understand > > "undefined function" also dont want to understand "undefiniertes > > Funktion", it's all arabic techo-speak for them anyway.

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Edin Kadribasic
> And, most importantly, what the hell doi I care of losing 0.12 secs > for a Fatal Error dysplay? I don't like the whole idea of having localized error messages. People have to use English when programming PHP anyway, and nobody is insane enough (yet) to suggest to translate function names. I

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Marcus Börger wrote: > >This is something to have discussed. I am definitely not the best guy to > >know what is better for this case. My only point is this: > > > >ERROR STRINGS **OUT** OF THE C CODE! > > -MAX_LONG on this. I assume none of the php-dev coders will loose > co

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
Derick Rethans <[EMAIL PROTECTED]> wrote... : > IMO it doesn't improve anything; people who don't want to understand > "undefined function" also dont want to understand "undefiniertes > Funktion", it's all arabic techo-speak for them anyway. Then how does it > help if you explain either "undef

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Maxim Maletsky wrote: > [EMAIL PROTECTED] (Marcus Börger) wrote... : > > > However i would VERY MUCH appreciate having english error messages hard coded > > into the source. AND those i18n error messages only activateable by an ini > > setting. > > I disagree. Leaving engli

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Marcus Börger
At 11:22 26.11.2002, Maxim Maletsky wrote: "Ilia A." <[EMAIL PROTECTED]> wrote... : > On November 25, 2002 09:22 pm, Maxim Maletsky wrote: > > On Mon, 25 Nov 2002 21:11:37 -0500 "Ilia A." <[EMAIL PROTECTED]> wrote: > > > On November 25, 2002 08:53 pm, Maxim Maletsky wrote: > > > > Well, in this

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
I am on. Here, without a patch sample, nothing will roll. Anyone joins? -- Maxim Maletsky [EMAIL PROTECTED] "John Coggeshall" <[EMAIL PROTECTED]> wrote... : > > Maxim (and anyone else who is interested) > > Shall we try to get a patch for this working then? I'm thinking perhaps > starting

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
[EMAIL PROTECTED] (Marcus Börger) wrote... : > WE can use cdb (constant databse) which is very fast and we have the code > bundled now. > The documnet group might want work on error messages XML based. We may > write a script > wich will generate a cdb file from that XML file. I thought af it

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
It can be parsed run time at a small cost, which in this case of errors, as many here agree, can be used. -- Maxim Maletsky [EMAIL PROTECTED] "John Coggeshall" <[EMAIL PROTECTED]> wrote... : > >Because errors need to be loaded into memory by some > >mechanism, stored in a > >hash table? Me

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
Again, XML was my throw to this thread. I intuitively thought of XML because it would help connecting the PHP error reporting to the official documentaion. Don't you think it would be helpful? Of course there are work-arounds for that too. -- Maxim Maletsky [EMAIL PROTECTED] "John Coggeshall

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Maxim Maletsky wrote: > "Ilia A." <[EMAIL PROTECTED]> wrote... : > > > If my co-workers and I cannot communicate in the same language we will > > probably go our separate ways within a week. Afterall, how can we work > > together if we don't have a common language between u

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
Well, yes, if it is not XML it can still work. A thought here is - to connect built-in errors to the documentation, which is where XML would help. -- Maxim Maletsky [EMAIL PROTECTED] Shane Caraveo <[EMAIL PROTECTED]> wrote... : > > I am completely +1 to the concept of taking error codes out

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
And, most importantly, what the hell doi I care of losing 0.12 secs for a Fatal Error dysplay? -- Maxim Maletsky [EMAIL PROTECTED] George Schlossnagle <[EMAIL PROTECTED]> wrote... : > > > > By the way, could you please advise by how much I will need to > > increase the > > power of my se

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
"John Coggeshall" <[EMAIL PROTECTED]> wrote... : > > Wow.. > > Alrighty... I've read through all of this stuff -- everyone seems to > have quite a strong opinion on this one :) Since I kinda brought it up > with Maxim, let me provide a concept of implementation and defend it... > I'd of cour

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stanislav Malyshev
PO>> Yes, phpfunc updates daily and that is good (although it continues PO>> to say last updated sept. 22). There are documented functions Sept. 22 is code update date (i.e., that's the last time the file structure, etc. changed). I think there indeed needs to be something more clear to state

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Maxim Maletsky
"Ilia A." <[EMAIL PROTECTED]> wrote... : > On November 25, 2002 09:22 pm, Maxim Maletsky wrote: > > On Mon, 25 Nov 2002 21:11:37 -0500 "Ilia A." <[EMAIL PROTECTED]> wrote: > > > On November 25, 2002 08:53 pm, Maxim Maletsky wrote: > > > > Well, in this case you would just add locales like you do

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Philip Olson
On Tue, 26 Nov 2002, Stanislav Malyshev wrote: > PO>> Just to defend phpdoc a bit, this statistic is based on > PO>> a php manual generated on April 25, 2002, which is when > PO>> zend.com/manual/ was last updated. Also, missing functions > > That's not exactly true. The phpfunc is updated much

Re: [PHP-DEV] radius extension

2002-11-26 Thread Michael Bretterklieber
Antony Dovgal schrieb: On Tue, 26 Nov 2002 10:33:02 +0100 Michael Bretterklieber <[EMAIL PROTECTED]> wrote: - Windows: It should also build under windows with some modifications, but I have nothing found in the documentation about the build-process under windows => HowTo? I suppose you nee

Re: [PHP-DEV] radius extension

2002-11-26 Thread Antony Dovgal
On Tue, 26 Nov 2002 10:33:02 +0100 Michael Bretterklieber <[EMAIL PROTECTED]> wrote: > - Windows: It should also build under windows with some modifications, > but I have nothing found in the documentation about the build-process > under windows => HowTo? I suppose you need to read this: http://

[PHP-DEV] radius extension

2002-11-26 Thread Michael Bretterklieber
Hi, I made a radius extension for PHP. This extension is just a wrapper for the libradius of FreeBSD, but I imported this lib into the extension-dir and therefore it doesen't need external libs, its just --enable-radius. My questions are: - Is this extension welcome in the PHP-Project? - How t

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Marcus Börger
At 10:14 26.11.2002, Derick Rethans wrote: On Tue, 26 Nov 2002, John Coggeshall wrote: > > Maxim (and anyone else who is interested) > > Shall we try to get a patch for this working then? I'm thinking perhaps > starting off with an XML file defining the error messages, which is > converted to a c

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stanislav Malyshev
PO>> Just to defend phpdoc a bit, this statistic is based on PO>> a php manual generated on April 25, 2002, which is when PO>> zend.com/manual/ was last updated. Also, missing functions That's not exactly true. The phpfunc is updated much more frequently than the manual (since it takes _a real l

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Andrey Hristov
I've seen a big poster in my local Fullbright foundation represantive. It says something like : "One of every four people on the earth knows some English". Andrey -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, John Coggeshall wrote: > > Maxim (and anyone else who is interested) > > Shall we try to get a patch for this working then? I'm thinking perhaps > starting off with an XML file defining the error messages, which is > converted to a cdb for actual use. Waste of time Derick

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Sascha Schumann
On Tue, 26 Nov 2002, Derick Rethans wrote: > On Mon, 25 Nov 2002, George Schlossnagle wrote: > > > > > > > By the way, could you please advise by how much I will need to > > > increase the > > > power of my server(s) to maintain the same level of performance? > > > > Why would this need to kill yo

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Sascha Schumann wrote: > Also please think about the billions of people who are not in > such a privileged situation of having Internet access all the > time. > > Think of school labs which are not permanently connected; > think of poor countries where acc

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Mon, 25 Nov 2002, George Schlossnagle wrote: > > > > By the way, could you please advise by how much I will need to > > increase the > > power of my server(s) to maintain the same level of performance? > > Why would this need to kill your performance if you're not throwing > errors? imagine

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Derick Rethans
On Mon, 25 Nov 2002, John Coggeshall wrote: > I am completely +1 to the concept of taking error codes out of the PHP > core and replacing them with an XML document, period. I say this > regardless of language considerations -- I just think for everyone > involved having a XML document which contro

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Mon, 25 Nov 2002, Ilia A. wrote: > On November 25, 2002 08:24 pm, Maxim Maletsky wrote: > > > > php_error(225); > > whereas 255 is defined some string in many languages appering like this: > > > > Warning (255): Undefined Variable. > > > > One writes in bugs.php.net: > > > > Non dovrei ricevere

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Maxim Maletsky wrote: > > Yes, this is the way to go. but, I would still prefer to have to pass it > only a code like: > > php_error(255, data, data, data); > > where in an XML structure we can predefine everything else. XML?!? More bloat is hardly needed, thank you! Not t

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Marcus Börger wrote: > For example: > php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d", error) > would convert to: > php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP-42", error) > > and in the init code we would register these errors: > register_error_message("PHP-42",

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Maxim Maletsky wrote: > This can be easily avoided. When I have to report an Oracle error in > Italian on an English page, I simply type the error code. We need to > introduce error codes in PHP, that would really solve the trouble. and it would make us enter the maintainers-

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Maxim Maletsky wrote: > > On Mon, 25 Nov 2002 16:15:29 -0500 Sterling Hughes <[EMAIL PROTECTED]> wrote: > > > Not at all, i don't expect them to speak fluent english, just to understand the > > small subset of english errors and programming terms. I've conversed with plenty

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Maxim Maletsky wrote: > > > On Mon, 25 Nov 2002 15:21:06 -0500 Sterling Hughes <[EMAIL PROTECTED]> wrote: > > > Educate users to speak the base amount of english required, I18N'ing the > > language is just going to lead to headaches from a user perspective > > (incorrect

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, Alexander Wagner wrote: > On Tuesday 26 November 2002 00:07, Jani Taskinen wrote: > > >Remember. I'm talking about the people that have to be spoon-fed. > > > > Well..to be quite honest: I don't care about such people. > > To be honest, they tend to piss me off a little (

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Derick Rethans
On Mon, 25 Nov 2002, Alexander Wagner wrote: > On Monday 25 November 2002 23:29, Daniel Lorch wrote: > > You're right. We should think about writing a colorful GUI for PHP, so > > scripts just can be clicked together. Oh, and it definitively should > > support skins.. > > I don't think this would

<    1   2