Regular Expr. on access.log
| From: | Andre | Date: | Sun, 25 Mar 2001 11:38:57 +0000 |
| Subject: | Regular Expr. on access.log | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-45482@lists.php.net to get a copy of this message | ||
Hello,
i am writing a script to read out the apaches´ access.log.
Now i want to set a counter when the following String includes the
expression
"MAR" "test.php" "a=5" and "d=6901"
127.0.0.1 - - [21/Mar/2001:21:19:17 +0100] "GET
/test.php?a=5&b=4&c=42&d=6901 HTTP/1.1" 200 54
can someone tell me how i can realize this?
Thanks a lot list!!