Leser: 1
|< 1 2 3 4 5 6 >| | 58 Einträge, 6 Seiten |
1
2
3
4
5
Bareword "Username" not allowed while "strict subs" in use at /homepages/18/d23090695/htdocs/cgi-bin/guestbook.cgi line 25.
Bareword "Username" not allowed while "strict subs" in use at /homepages/18/d23090695/htdocs/cgi-bin/guestbook.cgi line 25.
Bareword "Usermail" not allowed while "strict subs" in use at /homepages/18/d23090695/htdocs/cgi-bin/guestbook.cgi line 25.
Bareword "Usertext" not allowed while "strict subs" in use at /homepages/18/d23090695/htdocs/cgi-bin/guestbook.cgi line 25.
Execution of /homepages/18/d23090695/htdocs/cgi-bin/guestbook.cgi aborted due to compilation errors.
1
2
3
4
5
6
7
8
if ($cgi->param('Username') ne "" and
$cgi->param('Usermail') and
$cgi->param('Usertext')
) {
# Hier alles was er machen soll, wenn keins der felder leer #ist...
}
if (Username ne "") ...
if (Username = 'xyz') {...}
Quoteif ((length($Username) < 'mindestlänge der Namens') || ($Usermail!=~/^[A-Z0-9_-.]\@[A-Z0-9_-]\.\w+$/i) || (length($Usertext) < 'mindestlänge der Texts')) {
# Irgendwelche Fehler ausgeben und dann das Programm
# abbrechen
}
|< 1 2 3 4 5 6 >| | 58 Einträge, 6 Seiten |