linux-l: Hallöle

Jan-Benedict Glaw jbglaw at lug-owl.de
Mi Sep 13 13:54:17 CEST 2000


On Wed, Sep 13, 2000 at 01:41:09PM +0200, Manuel Tennert wrote:
> 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]"))  {
> [...]

...muß das nicht "(not $n5 eq "[a-zA-Z]*"))" sein? So ist das doch nur
*ein* *Klein*buchstabe...

Mfg, JBG
-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw at lug-owl.de> -- +49-177-5601720 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 240 bytes
Beschreibung: nicht verfügbar
URL         : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20000913/e52dbd6a/attachment.sig>


Mehr Informationen über die Mailingliste linux-l