linux-l: Hallöle

Manuel Tennert mtennert at metagate.meta-systems.de
Mi Sep 13 13:41:09 CEST 2000


Habe ein CGI-Script für Formulare geschrieben, wollte nun als
zusätzliche Abbruchbedingung einbringen, daß in einem bestimmten Feld
($n5) keine Buchstaben eingegeben werden dürfen ! Leider kann man trotz
der Abbruchbedingung Buchstaben einfügen, das Script stoppt leider nicht
! Hat jemand eine Ahnung was falsch ist ??? Hier die Abbruchbedingung:

[...]
if ((not $n1 eq "") and (not $n1 eq " ") and (not $n2 eq"") and (not $n2
eq " ") and (not $n3 eq "") and (not $n3 eq " ") and (not $n4 eq "") and
(not $n4 eq " ") and (not $n5 eq "") and (not $n5 eq " ") and (not $n5
eq "[a-z]"))  {
[...]

MFG Manuel



Mehr Informationen über die Mailingliste linux-l