--- Ben Ramsey <[EMAIL PROTECTED]> wrote:
> You should also use mysql_real_escape_string() on
> the data from the client.
Even though Magic Quotes GPC is turned on ?
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
> May I ask why you are suggesting this function ?
>
> > You can use htmlentities() on the information
> placed
> [/snip]
>
> Because it will convert things like quotes into
> their HTML counterparts
> before you place them into the table.
I
Jay Blanchard wrote:
[snip]
May I ask why you are suggesting this function ?
You can use htmlentities() on the information placed
[/snip]
Because it will convert things like quotes into their HTML counterparts
before you place them into the table. If you are reading it back out to
a web interface t
[snip]
May I ask why you are suggesting this function ?
> You can use htmlentities() on the information placed
[/snip]
Because it will convert things like quotes into their HTML counterparts
before you place them into the table. If you are reading it back out to
a web interface they get properly
May I ask why you are suggesting this function ?
Stuart
--- Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
> It's a mysql text field.
> [/snip]
>
> You can use htmlentities() on the information placed
> into the field
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe,
[snip]
It's a mysql text field.
[/snip]
You can use htmlentities() on the information placed into the field
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- "Vail, Warren" <[EMAIL PROTECTED]> wrote:
> I also don't know if MySQL will police things input
> to a text column to make
> sure they are valid ascii text characters.
>
No Mysql won't do it. PHP validation would have to be
involved.
Stuart
--
PHP General Mailing List (http://www.php.net
It's a mysql text field.
Stuart
--- Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
> Any thoughts ?
> [/snip]
>
> I thought I'd have lunch today, but I didn't.
>
> Is it a 'text' data type, or 'BLOB', (you said,
> "actual Mysql Text
> column, aka like a blob") because the distinction is
> ne
Assuming that the pasting is done into a on an html
form, I believe the Textarea will limit the past to just "text" characters.
I suppose this could be dependent on the browser.
I don't know of any html input control that would allow "blob" (binary)
values.
I also don't know if MySQL will po
[snip]
Any thoughts ?
[/snip]
I thought I'd have lunch today, but I didn't.
Is it a 'text' data type, or 'BLOB', (you said, "actual Mysql Text
column, aka like a blob") because the distinction is needed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
10 matches
Mail list logo