[PHP]Guestbook - Code abfrage; Textfeld nur Zahlen?; Wenn Text "xyz" kein post?
hallihallo!
ein paar kurze fragen bezgl eines von mir erstelltn Guestbooks:
1. ich möchte dass man nur noch posten kann wenn man vor dem senden einen 4stelligen zahlencode eingibt. wie schaff ich es eine warnung auszugeben, wenn der inhalt des textfeldes NICHT die zahlenkombination ist?
2. kann man ein textfeld erstellen wo man nur zahlen eingeben kann?
3. neuerdings hat ein Spambot den tollen trick dass er mir eine java weiterleitung ins kommentarfeld schreibt. sobald also die textfile mit dem inhalt geladen wird, wird mein besucher sofort wo anders hingeleitet.
wie kann ich überprüfen lassen ob im text des textfeldes "kommentar" wörter bzw. zeichen enthalten sind?
thx!
p.s.
hier mein script:
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.