Date: 06/26/00
- Next message: Adam Trachtenberg: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Previous message: Adam Trachtenberg: "Re: [PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- In reply to: Kristian Köhntopp: "[PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Next in thread: Kristian Köhntopp: "Re: [PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Reply: Kristian Köhntopp: "Re: [PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Kristian,
I think the section 'PHP options & information' (in info.xml) is more
appropriate for this kind of functions, don't you?
Regards
Stefan
-----Ursprüngliche Nachricht-----
Von: Kristian Köhntopp <kk <email protected>>
An: <phpdoc <email protected>>
Gesendet: Montag, 26. Juni 2000 16:33
Betreff: [PHPDOC] cvs: phpdoc /en/functions misc.xml
> kk Mon Jun 26 07:33:39 2000 EDT
>
> Modified files:
> /phpdoc/en/functions misc.xml
> Log:
> Added documentation for php_sapi_name()
>
>
> Index: phpdoc/en/functions/misc.xml
> diff -u phpdoc/en/functions/misc.xml:1.10
phpdoc/en/functions/misc.xml:1.11
> --- phpdoc/en/functions/misc.xml:1.10 Sat Jun 24 00:38:43 2000
> +++ phpdoc/en/functions/misc.xml Mon Jun 26 07:33:39 2000
> @@ -854,6 +854,41 @@
> </refsect1>
> </refentry>
>
> + <refentry id="function.php-sapi-name">
> + <refnamediv>
> + <refname>php_sapi_name</refname>
> + <refpurpose>
> + Returns the type of interface between web server and PHP
> + </refpurpose>
> + </refnamediv>
> + <refsect1>
> + <title>Description</title>
> + <funcsynopsis>
> + <funcprototype>
> + <funcdef>string <function>php_sapi_name</function></funcdef>
> + </funcprototype>
> + </funcsynopsis>
> + <simpara>
> + <function>php_sapi_name</function> returns a string which
> + describes the type of interface between web server and PHP
> + (Server API, SAPI). In CGI PHP, this string is "CGI", in
> + mod_php for Apache, this string is "Apache" and so on.
> + </simpara>
> + <para>
> + <example>
> + <title><function>php_module</function> example</title>
> + <programlisting role="php">
> +$inter_type = php_module();
> +if ($inter_type == "CGI")
> + print "You are using CGI PHP\n";
> +else
> + print "You are not using CGI PHP\n";
> + </programlisting>
> + </example>
> + </para>
> + </refsect1>
> + </refentry>
> +
> <refentry id="function.serialize">
> <refnamediv>
> <refname>serialize</refname>
>
>
>
>
- Next message: Adam Trachtenberg: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Previous message: Adam Trachtenberg: "Re: [PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- In reply to: Kristian Köhntopp: "[PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Next in thread: Kristian Köhntopp: "Re: [PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Reply: Kristian Köhntopp: "Re: [PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

