Re: Re: Forum hacks

From: Date: Wed, 17 Oct 2001 14:35:42 +0000
Subject: Re: Re: Forum hacks
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2328@lists.php.net to get a copy of this message
On Wednesday 17 October 2001 15:33, Bertrand Mansion wrote: > le 17/10/01 16:11, Tomas V.V.Cox à cox@idecnet.com a écrit : > > In my pear/HTTP_Upload class I covered much of this stuff (error > > codes, text messages, translations). Text error messages is a good > > thing and the 99% of users will use them. Of course my system is > > limited in some areas (can not retrieve only the error code or can > > not pass args to error messages) but is easy to enhance. Also with > > the error stuff is only initialized when a error occurs speding up > > the app as you don't need to initialize/store a bunch of vars or > > constants. > > Tomas, > > (a bit off topic) A off topic over a off topic :-) > I think it would be best to divide your HTTP_Upload class in two > different classes, one for errors and the other for the rest, instead > of having both of them in the same file. So one could require only > your error class if needed. > Ahh, what's your problem with HTTP_Upload errors? Tomas V.V.Cox

« previous php.pear.dev (#2328) next »