mirror of
https://github.com/php/doc-it.git
synced 2026-03-27 00:52:07 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@125696 c90b9560-bf6c-de11-be94-00142212c4b1
58 lines
2.0 KiB
XML
58 lines
2.0 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- splitted from ./it/functions/apache.xml, last change in rev 1.7 -->
|
|
<!-- last change to 'virtual' in en/ tree in rev 1.20 -->
|
|
<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready -->
|
|
<!-- OLD-Revision: 1.24/EN.1.20 -->
|
|
<refentry id="function.virtual">
|
|
<refnamediv>
|
|
<refname>virtual</refname>
|
|
<refpurpose>Esegue una sotto-richiesta Apache</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Descrizione</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>virtual</methodname>
|
|
<methodparam><type>string</type><parameter>nomefile</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>virtual</function> è una funzione specifica Apache che
|
|
è equivalente a <!--#include virtual...--> in mod_include.
|
|
Esegue una sotto-richiesta Apache. È utile ad includere
|
|
script CGI o file .shtml, o qualsiasi altra cosa si voglia
|
|
fa analizzarea ad Apache. Si noti che per uno script CGI, questo
|
|
deve generare degli header CGI validi. Quindi, Come minimo deve
|
|
generare un header Content-type.
|
|
</para>
|
|
<para>
|
|
Al fine di eseguire la sotto-richiesta, tutti i buffer vengono chiusi e svuotati verso
|
|
il browser, e anche gli header in attesa vengono inviati.
|
|
</para>
|
|
<para>
|
|
Dal PHP 4.0.6, è possibile utilizzare <function>virtual</function> sui file PHP.
|
|
Comunque è preferibile usare <function>include</function> o
|
|
<function>require</function> se è necessarei includere un altro file PHP.
|
|
</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:"../../../../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
|
|
-->
|