Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: fgetss - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

file_exists" width="11" height="7"/> <fgets
Last updated: Thu, 31 May 2007

view this page in

fgetss

(PHP 4, PHP 5)

fgetss — ファイルポインタから1行取り出し、HTMLタグを取り除く

説明

string fgetss ( resource $handle [, int $length [, string $allowable_tags]] )

fgets() と同じですが、fgetss は読み込んだテキストから HTML および PHP のタグを取り除こうとすることが異なります。

オプションの 3 番目の引数を使用して、 取り除く必要がないタグを指定することができます。

注意: allowable_tags は、PHP 3.0.13、PHP 4.0.0 で追加されました。

パラメータ length は PHP 5 からのオプションです。

注意: マッキントッシュコンピュータ上で作成されたファイルを読み込む際に、 PHP が行末を認識できないという問題が発生した場合、 実行時の設定オプションauto_detect_line_endings を有効にする必要が生じるかもしれません。

fgets()fopen()fsockopen()popen() および strip_tags() も参照ください。



add a note add a note User Contributed Notes
fgetss
There are no user contributed notes for this page.

file_exists" width="11" height="7"/> <fgets
Last updated: Thu, 31 May 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites