> Ive got a textarea control on a form where a user will enter info, i
> want to enter this info into an interbase db,ive limited the space to
> 200 characters in the text area [snip]
Also remember that you must never trust what you get from the browser. Make
the script check out that the input i
On Monday 09 April 2001 08:38, you wrote:
> Hi
>
> Ive got a textarea control on a form where a user will enter info, i
> want to enter this info into an interbase db,ive limited the space to
> 200 characters in the text area but need to now eliminate any
> apostrophes and other bad characters, an
Hello Wade,
What's so bad about apostrophes and what are the other "bad characters"
you're referring to? Have you seen addslashes(), stripslashes()
and magic_quotes_gpc? As well as strip_tags() and htmlentities().
Regarding replacing characters, have a look at str_replace() as well as
regex f
Wade Halsey wrote:
>
> Hi
>
> Ive got a textarea control on a form where a user will enter info, i want to enter
>this info into an interbase db,ive limited the space to 200 characters in the text
>area but need to now eliminate any apostrophes and other bad characters, anyone have
>a functio
Hi
Ive got a textarea control on a form where a user will enter info, i want to enter
this info into an interbase db,ive limited the space to 200 characters in the text
area but need to now eliminate any apostrophes and other bad characters, anyone have a
function?
TIA
Wade
5 matches
Mail list logo