Mailing List Archive



Back to the month index Back to the list index

Fernando Maior (fmaior@upol.com.br)
Thu, 15 Apr 1999 01:26:42 -0300


Message-ID: <37156A82.1113CA24@upol.com.br>
Date: Thu, 15 Apr 1999 01:26:42 -0300
From: Fernando Maior <fmaior@upol.com.br>
Subject: Re: Validation with HTML

Okay,

Thanks, Bambi, and let me shut up my big mouth :-)

I would like to add a comment: the msqlEncode() function has an example that
is like this on the manual:

    $name="O'Reilly";
    $newName = msqlEscape($name);

Well, is it msqlEncode() or msqlEscape()?
Now I know it is msqlEncode().

Bye,
Fernando Maior

"David J. Hughes" wrote:

> On Wed, 14 Apr 1999, Fernando Maior wrote:
>
> > I would like to have a documentation on those undocumented features :-)
>
> It's coming.
>
> > Also, there are two functions on PHP that should be so nice to have in
> > Lite... They are AddSlashes and SplitSlashes, and they (respectively)
> > add/remove slashes before characters like quote, double quote, slash and
> > NULL in a string, in order to us use that string in a query to mSQL.
> >
> > May be there is one undoc func already...
>
> Yup, it's so undocumnted it's in the manual and the book. Look and
> msqlEncode().
>
> Bambi
> ...