Thread View: pl.comp.lang.php
4 messages
4 total messages
Started by Zezero
Sat, 18 Aug 2001 08:17
striphtmlslashes
Author: Zezero
Date: Sat, 18 Aug 2001 08:17
Date: Sat, 18 Aug 2001 08:17
15 lines
1262 bytes
1262 bytes
Jest w PHP taka funkcja. Problem w tym, że zapomniałem nazwy - cos jakby
striphtmltags() .
Służy do usuwania z łańcucha tekstowego tagów HTML. Czy moglibyście
przypomnieć mi dokładną nazwę?
Akurat nie mam przy sobie, żadnych materiałów..
Z góry dziękuje.
pozdrawiam
--
00000 Zezero
00 zezero@go2.pl
00 automatyczny aforyzm:
00000 "Żonaci wzdychają zawsze głębiej niż kawalerowie."
Re: striphtmlslashes
Author: Krzyszof Ostrowski
Date: Sat, 18 Aug 2001 08:28
Date: Sat, 18 Aug 2001 08:28
20 lines
1655 bytes
1655 bytes
Użytkownik "Zezero" <zezero@go2.pl> napisał w wiadomości news:9ll83o$e34$1@news.tpi.pl... > Jest w PHP taka funkcja. Problem w tym, że zapomniałem nazwy - cos jakby > striphtmltags() . > Służy do usuwania z łańcucha tekstowego tagów HTML. Czy moglibyście > przypomnieć mi dokładną nazwę? string strip_tags(string str, string [allowable_tags] ); This function tries to strip all HTML and PHP tags from the given string. It errors on the side of caution in case of incomplete or bogus tags. It uses the same tag stripping state machine as the fgetss() function. You can use the optional second parameter to specify tags which should not be stripped. Note: Allowable_tags was added in PHP 3.0.13, PHP4B3. ostry
Re: striphtmlslashes
Author: Tomasz Nidecki
Date: Sat, 18 Aug 2001 09:39
Date: Sat, 18 Aug 2001 09:39
28 lines
2351 bytes
2351 bytes
In article <9ll83o$e34$1@news.tpi.pl>, "Zezero" <zezero@go2.pl> wrote: > Jest w PHP taka funkcja. Problem w tym, że zapomniałem nazwy - cos jakby > striphtmltags() . > Służy do usuwania z łańcucha tekstowego tagów HTML. Czy moglibyście > przypomnieć mi dokładną nazwę? http://www.php.net:8000/manual/en/html/function.strip-tags.html string strip_tags (string str [, string allowable_tags]) This function tries to return a string with all HTML and PHP tags stripped from a given str. It errors on the side of caution in case of incomplete or bogus tags. It uses the same tag stripping state machine as the fgetss() function. You can use the optional second parameter to specify tags which should not be stripped. > Akurat nie mam przy sobie, żadnych materiałów.. http://www.php.net:8000/manual/en/html/ -- tomasz 'tonid' nidecki, zoliborz, warszawa, poland mailto:tonid@tonid.net http://endemic.tonid.net Volkswagen 1302 "Garbus" Automatic (1971) Cadillac Eldorado (1983) - CZEKA NA NOWEGO WLASCICIELA!
Re: striphtmlslashes
Author: Zezero
Date: Sat, 18 Aug 2001 20:19
Date: Sat, 18 Aug 2001 20:19
9 lines
1094 bytes
1094 bytes
dzięki!
pozdrawiam
--
00000 Zezero
00 zezero@go2.pl
00 automatyczny aforyzm:
00000 "Trudniej głupiemu udawać mądrego niż mądremu głupiego."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads