skip to main content

kiesler.at

Random Guide to whatever
updated by rck, 2004-10-10

Another case of trying out the swallow hack 0.2. This time, I'm shuffling some sections around. Enjoy!

0 < n < 100

Die Aussagekraft von Webalizer Auswertungen steht und fällt natürlich mit der Qualität der Logfiles. Wenn im Logfile nicht steht, welche Referrer auf die Homepage zugegriffen haben, wird diese Information auch in der Auswertung unterschlagen.

Zumindest bei Apache ist die Abhilfe einfach.

100 < n < 200

1 #
2 #       makefile for scanner
3 #       (c) 2004 René C. Kiesler
4 #
5 #       please visit http://www.kiesler.at/
6 #       for further informations & support
7 #
8 
9 
10 scanner: scanner.c
11         gcc -o scanner scanner.c -lfl
12 
13 scanner.c: scanner.lex
14         flex -oscanner.c scanner.lex
15 
16 test:
17         /usr/ftp/pub/ublu/test/scanner/test 2>&1
18 
19 clean:
20         rm -f scanner scanner.c

200 < n < 300

Interessanter als die Anzahl der Tokens ist oft der tatsächliche Inhalt der Tokens. Stellen wir uns vor, dass wir ein Datum prüfen möchten. Es soll das Format TT.MM.JJ haben.

Der umständliche Weg: Nachsehen, ob an Stelle 3 und Stelle 6 ein '.' ist. String tag wird der Eingabestring von 0-1, String monat von 3-4, usw.

Vergleichen wir das ganze mit folgender Vorgehensweise.

here you can see some nonsense article. in case it makes sense, it's all fault of Swallow Hack 0.5 for Article Manager!



RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Article Manager

Hacks

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren