Anonymous
public text v1 · immutableif (preg_match('#<script ([.*]?)>.*</script>#i', $message) || preg_match('#<script ([.*]?)>.*</script>#i', $name)) {
//show some error
}if (preg_match('#<script ([.*]?)>.*</script>#i', $message) || preg_match('#<script ([.*]?)>.*</script>#i', $name)) {
//show some error
}