Intanto grazie per la risposta.
Allora ho fatto così
Come posso modificare in modo che non accetti la parolacodice:if (!preg_match("#^[a-zA-Z0-9 \.,\?_/'!£\$%&*()+=\r\n-]+$#", $msg)) { // Everything ok. Do nothing and continue } else { echo "Message is not in correct format."; }
http
Grazie

Rispondi quotando