Fixed english version and updated de/it/ja versions.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@27161 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Egon Schmid 2000-06-26 17:08:14 +00:00
parent 7a8b2948e4
commit 548c2bb986

View file

@ -603,23 +603,24 @@ echo "Current PHP version: ".phpversion();
<funcsynopsis>
<funcprototype>
<funcdef>string <function>php_sapi_name</function></funcdef>
<paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>php_sapi_name</function> returns a string which
<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_sapi_name</function> example</title>
<title><function>Php_sapi_name</function> Example</title>
<programlisting role="php">
$inter_type = php_sapi_name();
if ($inter_type == "CGI")
print "You are using CGI PHP\n";
print "You are using CGI PHP\n";
else
print "You are not using CGI PHP\n";
print "You are not using CGI PHP\n";
</programlisting>
</example>
</para>