![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 233 Pomógł: 0 Dołączył: 18.01.2005 Ostrzeżenie: (0%) ![]() ![]() |
Witam, jaką funkcją mogę zastąpić usuniętą (PHP 5.3) funkcję ereg_replace ?
Chodzi mi dokładnie o to że mam bloki np:
i chce żeby w kodzie zostało samo "cos tam" czyli żeby mi usunęło same znaczniki (w zależności od uprawnień danego użytkownika) |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 2 921 Pomógł: 269 Dołączył: 11.08.2005 Skąd: 127.0.0.1 ![]() |
Odpowiedź na swoje pytanie znajdziesz w manualu - ereg_replace
-------------------- I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 46 Pomógł: 2 Dołączył: 2.04.2009 Ostrzeżenie: (0%) ![]() ![]() |
Tip
preg_replace(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg_replace(). źródło php.net ![]() |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 16:50 |