> For the complete documentation index, see [llms.txt](https://joungkyun.gitbook.io/php-mod_korean-extension-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joungkyun.gitbook.io/php-mod_korean-extension-reference/apis/check/check_uristr_lib.md).

# check\_uristr\_lib

## Proto type

```c
int check_uristr_lib (string string)
```

## Description

문자열에 메타 캐릭터가 존재할 경우, 1을 리턴한다. 이 함수에서 걸리는 문자는 한글,알파벳, \_, - 문자를 제외하고는 모두 에러메세지가 출력된다.

check\_filename\_lib 함수와의 다른점은 도트(.) 문자를 허락하지 않는다는 점이다.

## Arguments

* (string) string - 검사할 문자열

## Example

```php
$s = "asdf..asdf";
if ( check_uristr_lib ($s)) {
  echo "사용할 수 없는 문자가 들어 있습니다.\n";
  exit;
}
```

## See also

* [check\_filename\_lib ()](https://github.com/joungkyun/php-mod_korean-extension-reference/tree/b5398f11118bd0b91db16b0f7beb7a37178353fd/Check/Check/check_filename_lib.md)
