[PHP-DOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml From: Stefan Livieratos (stefan <email protected>)
Date: 07/02/00

sli Sun Jul 2 03:54:04 2000 EDT

  Modified files:
    /phpdoc/de/functions info.xml
    /phpdoc/en/functions info.xml
    /phpdoc/it/functions info.xml
    /phpdoc/ja/functions info.xml
  Log:
  php_sapi_name() always returns lowercase strings
  
  
Index: phpdoc/de/functions/info.xml
diff -u phpdoc/de/functions/info.xml:1.8 phpdoc/de/functions/info.xml:1.9
--- phpdoc/de/functions/info.xml:1.8 Mon Jun 26 10:08:13 2000
+++ phpdoc/de/functions/info.xml Sun Jul 2 03:54:03 2000
@@ -578,17 +578,17 @@
      </funcprototype>
     </funcsynopsis>
     <simpara>
- <function>Php_sapi_name</function> returns a string which
+ <function>Php_sapi_name</function> returns a lowercase 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.
+ (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_sapi_name</function> Example</title>
       <programlisting role="php">
 $inter_type = php_sapi_name();
-if ($inter_type == "CGI")
+if ($inter_type == "cgi")
     print "You are using CGI PHP\n";
 else
     print "You are not using CGI PHP\n";
Index: phpdoc/en/functions/info.xml
diff -u phpdoc/en/functions/info.xml:1.8 phpdoc/en/functions/info.xml:1.9
--- phpdoc/en/functions/info.xml:1.8 Mon Jun 26 10:08:13 2000
+++ phpdoc/en/functions/info.xml Sun Jul 2 03:54:04 2000
@@ -607,17 +607,17 @@
      </funcprototype>
     </funcsynopsis>
     <simpara>
- <function>Php_sapi_name</function> returns a string which
+ <function>Php_sapi_name</function> returns a lowercase 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.
+ (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_sapi_name</function> Example</title>
       <programlisting role="php">
 $inter_type = php_sapi_name();
-if ($inter_type == "CGI")
+if ($inter_type == "cgi")
     print "You are using CGI PHP\n";
 else
     print "You are not using CGI PHP\n";
Index: phpdoc/it/functions/info.xml
diff -u phpdoc/it/functions/info.xml:1.5 phpdoc/it/functions/info.xml:1.6
--- phpdoc/it/functions/info.xml:1.5 Tue Jun 27 17:09:48 2000
+++ phpdoc/it/functions/info.xml Sun Jul 2 03:54:04 2000
@@ -607,17 +607,17 @@
      </funcprototype>
     </funcsynopsis>
     <simpara>
- <function>Php_sapi_name</function> returns a string which
+ <function>Php_sapi_name</function> returns a lowercase 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.
+ (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_sapi_name</function> Example</title>
       <programlisting role="php">
 $inter_type = php_sapi_name();
-if ($inter_type == "CGI")
+if ($inter_type == "cgi")
     print "You are using CGI PHP\n";
 else
     print "You are not using CGI PHP\n";
Index: phpdoc/ja/functions/info.xml
diff -u phpdoc/ja/functions/info.xml:1.5 phpdoc/ja/functions/info.xml:1.6
--- phpdoc/ja/functions/info.xml:1.5 Fri Jun 30 20:17:31 2000
+++ phpdoc/ja/functions/info.xml Sun Jul 2 03:54:04 2000
@@ -574,15 +574,15 @@
     <simpara>
      <function>php_sapi_name</function>は、WebサーバーとPHP(サーバーAPI、
      SAPI)の間のインターフェースの型を記述する文字列を返します。
- CGI版のPHPでは、この文字列は"CGI"となり、Apacheのmod_php版では、
- この文字列は"Apache"となるといったようになります。
+ CGI版のPHPでは、この文字列は"cgi"となり、Apacheのmod_php版では、
+ この文字列は"apache"となるといったようになります。
     </simpara>
     <para>
      <example>
       <title><function>php_sapi_name</function>の例</title>
       <programlisting role="php">
 $inter_type = php_sapi_name();
-if ($inter_type == "CGI")
+if ($inter_type == "cgi")
         print "CGI版のPHPを使用しています\n";
 else
         print "CGI版のPHPを使用していません\n";