> Take for example:
>
> 194.236.30.24 - - [30/Aug/2002:11:46:29 +0200] "GET
> /bildgalleri/createjpg.php?url=/v044&file=v044_27.jpg HTTP/1.1" 200
> 8874
> 217.215.84.222 - - [30/Aug/2002:11:46:39 +0200] "POST /weblogg.php
> HTTP/1.1" 200 3149488
[more loglines]
>
> Here I'ld like to remove all l
Hi Justin,
for the username, you can use:
if (!preg_match("/^[a-z0-9]*$/", $username)) {
// error
} else {
// ok
}
The ^ means start of the string, the characters between the [ and ] are ones
that we want, the * means however many times, and the $ means the end of the
line / string. So
2 matches
Mail list logo