|
użytkowników online: 53
|
OPINIE UŻYTKOWNIKÓW
|
Prawdziwa skarbnica wiedzy na temat tworzenia stron WWW i nie tylko. Korzystam z porad praktycznie codziennie, jest mi to niezbędne w mojej pracy. Sam zajmuję się tworzeniem serwisów, ale porady pisane przez Darka sa dla mnie nieocenioną pomocą! Proste, czytelne i zrozumiałe dla każdego! Czekam na więcej!
Krzysztof Szypulski
KESS - projektowanie stron
|
|
PODRĘCZNIK PHP 5.x, 4.x, 3.x - częściowo spolszczony / źródło: www.php.net
[Spis]
[A]
[B]
[C]
[D]
[E]
[F]
[G]
[H]
[I]
[J]
[K]
[L]
[M]
[N]
[O]
[P]
[Q]
[R]
[S]
[T]
[U]
[V]
[X]
[W]
[Z]
gzgetss (PHP 3, PHP 4, PHP 5) gzgetss --
Get line from gz-file pointer and strip HTML tags
Opisstring gzgetss ( resource zp, int length [, string allowable_tags] )
Identical to gzgets(), except that
gzgetss() attempts to strip any HTML and PHP
tags from the text it reads.
Parametry
- zp
The gz-file pointer. It must be valid, and must point to a file
successfully opened by gzopen().
- length
The length of data to get.
- allowable_tags
You can use this optional parameter to specify tags which should not
be stripped.
Zwracane wartości
The uncompressed and striped string, or FALSE on error.
Przykłady
Przykład 1. gzgetss() example |
<?php
$handle = gzopen('somefile.gz', 'r');
while (!gzeof($handle)) {
$buffer = gzgetss($handle, 4096);
echo $buffer;
}
gzlose($handle);
?>
|
|
User Contributed NotesThere are no user contributed notes for this page
|