fgetss

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

Descrizione

string fgetss(resource $handle, 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. Il parametro allowable_tags è stato aggiunto in PHP 3.0.13, PHP 4.0.0.

Il parametro length è facoltativo dal PHP 5.

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