http://www.php.net/htmlentities
Jason
Dimitri Marshall wrote:
Sorry, what I mean is...
I have a field in a form where users input text.
If the user inputs something like: Hi there, "this is a quote" and you should know it.
Then only... <Hi there, > get's inserted because of the double quotes.
Is that more clear?
Dimitri Marshall
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
--- Dimitri Marshall <[EMAIL PROTECTED]> wrote:
how do you either prevent users from being able to input " " in a
field or make it so that it doesn't affect the code?
Can you give an example of affecting the code? You can store spaces in variables just fine.
Chris
===== Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php