faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 13 people (77%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

How can I read from a file and strip all HTML tags?
What is fgetss() used for?

Jul 4th, 1999 05:30
Nathan Wallace, Jim Winstead, Zak Greant


Taken from:

    http://www.php.net/manual/function.fgetss.php3

Identical to fgets(), except that fgetss attempts to strip any HTML and
PHP tags from the text it reads.