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

search for in the

file_exists> <fgets
[edit] Last updated: Fri, 17 May 2013

view this page in

fgetss

(PHP 4, PHP 5)

fgetssPrende 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.

Nota:

Il parametro allowable_tags è stato aggiunto in PHP 3.0.13, PHP 4.0.0.

Il parametro length è facoltativo dal PHP 5.

Nota: Se si hanno problemi con il PHP che non riconosce i fine linea leggendo file creati o ospitati su un computer Macintosh, si può abilitare l'opzione auto_detect_line_endings della configurazione di runtime.

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



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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites