[dev] Grr, more BC breakage in DB...

Chuck Hagenbuch chuck at horde.org
Thu Mar 4 07:08:45 PST 2004


Joy. Now we have quote() and quoteString() deprecated, escapeSimple() which
looks silly, quoteSmart(), and quoteIdentifier(). Any clue what to do with our
existing code?

----- Forwarded message from rui_hirokawa at ybb.ne.jp -----
    Date: Fri, 05 Mar 2004 00:08:20 +0900
    From: Rui Hirokawa <rui_hirokawa at ybb.ne.jp>
Reply-To: Rui Hirokawa <rui_hirokawa at ybb.ne.jp>
 Subject: Re: [PEAR-DEV] [PEPr] +1 for Authentication::Auth_HTTP_Digest
      To: hfuecks at phppatterns.com

What version of PEAR::DB are you using ?
escapeSimple() is supported in DB 1.6.0.

http://pear.php.net/manual/en/package.database.db.db-common.escapesimple.php

We can also use quote() or quoteString(), but it is deprecated in DB 1.6.0.

http://cvs.php.net/co.php/pear/DB/DB/common.php?login=2&r=1.93

We should use these deprecated functions to maintain backward
compatibility ?

Rui

On 3 Mar 2004 23:16:22 -0000
PEPr <pear-sys at php.net> wrote:

>
> Harry Fuecks (http://pear.php.net/user/hfuecks) has voted +1 on the proposal
for Authentication::Auth_HTTP_Digest.
>
> Proposal information:
> http://pear.php.net/pepr/pepr-proposal-show.php?id=25
> Vote information:
> http://pear.php.net/pepr/pepr-vote-show.php?id=25&handle=hfuecks
>
> This vote is conditional. The condition is:
>
> Well I like what this does and think it's important to have an HTTP Digest
implementation in PEAR.
>
> Had some problems with executing the tests though - the GET example has some
syntax errors then, once fixed, all files due to a $this->escapeSimple() call
which seems to be in some parent PEAR package, but can't find which.
>
> You may find life easier by not directly extending HTTP_Auth but rather using
an instance of it (which could be replaced for some other class as required).
>
> --
> Sent by PEPr, the automatic proposal system at http://pear.php.net
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--
Rui Hirokawa <rui_hirokawa at ybb.ne.jp>

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

----- End forwarded message -----


-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list