```
if (strtolower(strpos($_POST['username']), "host") !== FALSE) {
                    $errors[] = 'You cannot have the word HOST in your name.';
                }

```

Now this is perfect if I want to stop somebody using the name `Host Andy` For instance, but horrible if somebody creates the username `Ghost` and alike.. How do I filter it to only stop the first word being host?

EDIT:

```
    if (strtolower(strpos($_POST['username']), "host") === 0) {
    $errors[] = 'You cannot have the word HOST in your name.';
    }

```