Код: Выделить всё
# ./maillog.pl
DBD::mysql::st execute failed: called with 9 bind variables when 1 are needed at ./maillog.pl line 67.
DBD::mysql::st execute failed: called with 9 bind variables when 1 are needed at ./maillog.pl line 67.
Can't call method "finish" on unblessed reference at ./maillog.pl line 73.
Код: Выделить всё
mysql> select * from mails;
Empty set (0.00 sec)
Код: Выделить всё
mysql> use maillogs;
Database changed
mysql> show tables;
+--------------------+
| Tables_in_maillogs |
+--------------------+
| calendar |
| mails |
| userlist |
+--------------------+
3 rows in set (0.00 sec)
mysql> select * from calendar;
+-----+-------+------------------+
| num | month | mesyc |
+-----+-------+------------------+
| 1 | Jan | п?п?п?п?я?я? |
| 2 | Feb | п?п?п?я?п?п?я? |
| 3 | Mar | п°п?я?я? |
| 4 | Apr | п?п©я?п?п?я? |
| 5 | May | п°п?п? |
| 6 | Jun | п?я?п?я? |
| 7 | Jul | п?я?п?я? |
| 8 | Aug | п?п?пЁя?я?я? |
| 9 | Sep | п?п?п?я?я?п?я?я? |
| 10 | Oct | п·п?я?я?п?я?я? |
| 11 | Nov | п?п?я?п?я?я? |
| 12 | Dec | п?п?п?п?п?я?я? |
+-----+-------+------------------+
12 rows in set (0.00 sec)
mysql> select * from userlist;
+----+-------+---------+
| id | user | pass |
+----+-------+---------+
| 1 | admin | 1234567 |
+----+-------+---------+
1 row in set (0.00 sec)
mysql> exit
Bye
Код: Выделить всё
100225 22:46:01 1895 Connect mailuser@localhost on maillogs
1895 Query set autocommit=1
1895 Query SELECT COUNT(*) FROM mails
1895 Query SELECT COUNT(*) FROM mails
1895 Quit
Код: Выделить всё
Warning: Division by zero in /usr/local/www/mailtraf/index.php on line 480
