Thread Perl - Scripte und 1&1: Perl-Anfänger braucht Hilfe
(57 answers)
Opened by Cherim at 2007-03-15 19:25
Hi Jan,
habe das "=" entfernt. Nun erhalte ich diese Fehlermeldung: ******* Software error: Too many arguments for gethostbyname at /kunden/homepages/12/d155868227/htdocs/cgi-bin/security.pl line 158, near "AF_INET) " Compilation failed in require at /kunden/homepages/12/d155868227/htdocs/cgi-bin/common.pl line 7. For help, please send mail to the webmaster (webmaster@salukiworld.de), giving this error message and the time and date of the error. Content-type: text/html Software error: [Fri Mar 16 22:19:47 2007] geneal.pl: Too many arguments for gethostbyname at /kunden/homepages/12/d155868227/htdocs/cgi-bin/security.pl line 158, near "AF_INET) " [Fri Mar 16 22:19:47 2007] geneal.pl: Compilation failed in require at /kunden/homepages/12/d155868227/htdocs/cgi-bin/common.pl line 7. Compilation failed in require at /kunden/homepages/12/d155868227/htdocs/cgi-bin/geneal.pl line 12. For help, please send mail to the webmaster (webmaster@salukiworld.de), giving this error message and the time and date of the error. ************** Die entsprechenden Code-Zeilen lauten so: Zeile 158: **** $hn = gethostbyname($ia, AF_INET) . " [DNS: \"" . $szRemoteAddr . "\"]"; **** Socket-Probleme ???? Zeile 7: ***** require "/kunden/homepages/12/d155868227/htdocs/cgi-bin/security.pl"; ****** VG Cherim |