Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] mb_eregi, Uruchomienie funkcji
fernet
post 8.04.2007, 16:41:24
Post #1





Grupa: Zarejestrowani
Postów: 91
Pomógł: 1
Dołączył: 22.03.2007

Ostrzeżenie: (0%)
-----


Przeczyalem w manualu ze jesli chce badac wyrazeniami regularnymi stringi utf-8 to musze uzyc do tego funkcji mb_eregi tylko ze ona mi nie dzala z tego co tu widze wersja php jaka mam jest odpowiadnia i nie musze dodawac zadnych dodatkowych bibliotek w czym moze tkwic problem?

Fatal error: Call to undefined function mb_eregi()...

Za pomoc i zainteresowanie z gory dziekuje i pozdrawiam


--------------------
Czy sprzedal sie juz czy dopiero ma? Oto pytanie, ktore stawiam wam. A czemu gdy byl, to nic tylko spal? Ze mna co lubie go gadac nic nie chcial. A czemu to gra, a tamtego nie. Chyba nas wszystkich nic nie szanuje. Jaki byl kiedy pil? Jaki byl kiedy gral? Czy to ten czlowiek sam czy moze rozni dwaj?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
starach
post 8.04.2007, 17:04:40
Post #2





Grupa: Zarejestrowani
Postów: 999
Pomógł: 30
Dołączył: 14.01.2007
Skąd: wiesz ?

Ostrzeżenie: (0%)
-----


http://pl.php.net/manual/pl/ref.mbstring.php

Instalacja

mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option. See the Install section for details.

The following configure options are related to the mbstring module.

*

--enable-mbstring: Enable mbstring functions. This option is required to use mbstring functions.

libmbfl™ is necesarry for mbstring. libmbfl™ is bundled with mbstring. If libmbfl™ is already installed on the system, --with-libmbfl[=DIR] can be specified to use the installed library.

As of PHP 4.3.0, mbstring extension provides enhanced support for Simplified Chinese, Traditional Chinese, Korean, and Russian in addition to Japanese.

For PHP 4.3.3 or before, To enable that feature, you will have to supply either one of the following options to the LANG parameter of --enable-mbstring=LANG; --enable-mbstring=cn for Simplified Chinese support, --enable-mbstring=tw for Traditional Chinese support, --enable-mbstring=kr for Korean support, --enable-mbstring=ru for Russian support, and --enable-mbstring=ja for Japanese support (default). To enable all supported encoding, use --enable-mbstring=all.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 13.08.2025 - 23:26