fgetss

(PHP 3, PHP 4 )

fgetss -- Prende una riga da un puntatore a file ed elimina i tag HTML

Descrizione

string fgetss ( int fp, int length [, string allowable_tags])

Identica a fgets(), eccetto per il fatto che fgetss tenta di eliminare tutti i tag HTML e PHP dal testo che legge.

Puoi utilizzare il terzo parametro (opzionale) per specificare quali tag non devono essere eliminati.

Nota: Il parametro allowable_tags è stato aggiunto in PHP 3.0.13, PHP4B3.

Vedere anche fgets(), fopen(), fsockopen(), popen() e strip_tags().