mirror of
https://github.com/php/doc-it.git
synced 2026-04-27 01:08:21 +02:00
64474054d2
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@314543 c90b9560-bf6c-de11-be94-00142212c4b1
63 lines
2.0 KiB
XML
63 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- EN-Revision: n/a Maintainer: cortesi Status: working -->
|
|
<refentry xml:id="function.fgetss" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>fgetss</refname>
|
|
<refpurpose>Prende una riga da un puntatore a file ed elimina i tag HTML</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Descrizione</title>
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>fgetss</methodname>
|
|
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
|
|
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
|
|
<methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Identica a <function>fgets</function>, eccetto per il fatto che fgetss
|
|
tenta di eliminare tutti i tag HTML e PHP dal testo che
|
|
legge.
|
|
</para>
|
|
<para>
|
|
Puoi utilizzare il terzo parametro (opzionale) per specificare quali tag
|
|
non devono essere eliminati.
|
|
<note>
|
|
<para>
|
|
Il parametro <parameter>allowable_tags</parameter> è stato aggiunto in
|
|
PHP 3.0.13, PHP 4.0.0.
|
|
</para>
|
|
</note>
|
|
</para>
|
|
<para>
|
|
Il parametro <parameter>length</parameter> è facoltativo dal PHP 5.
|
|
</para>
|
|
¬e.line-endings;
|
|
<para>
|
|
Vedere anche <function>fgets</function>, <function>fopen</function>,
|
|
<function>fsockopen</function>, <function>popen</function> e
|
|
<function>strip_tags</function>.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|