* Adwinwijaya <[EMAIL PROTECTED]>:
> Hello php-general,
> Is there suggestion about how to remove html tag, javascript and quote
> (' & ") from user's input at the same time ?

Yes.

Oh, you wanted an example?

$value = preg_replace('/[\'\"]/', '', strip_tags($value));

-- 
Matthew Weier O'Phinney           | mailto:[EMAIL PROTECTED]
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to