★ wanayoo — archive 1999 http://www.php.net/manual/hu/function.php-sapi-name.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PHP opciók/infók
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this page
PHP opciók/infók
* error_log
* error_reporting
* extension_loaded
* getenv
* get_cfg_var
* get_current_user
* get_magic_quotes_gpc
* get_magic_quotes_runtime
* getlastmod
* getmyinode
* getmypid
* getmyuid
* getrusage
* phpinfo
* phpversion
* php_logo_guid
* php_sapi_name
* putenv
* set_magic_quotes_runtime
* set_time_limit
* zend_logo_guid
* get_loaded_extensions
* get_extension_funcs
* get_required_files
* get_included_files
Manual: php_sapi_name
View the source code for this pageSearch the site



Previous page
 php_logo_guid
 Updated
Sat, 12 Aug 2000
putenv 
Next page


php_sapi_name

(PHP4 >= 4.0.1)

php_sapi_name --  Visszaadja, hogy milyen módon fut a PHP

Leírás

string php_sapi_name (void)

A php_sapi_name() visszad egy kisbetűs string-et, ami megadja, hogy milyen felület van a szerver és a PHP között (Server API, SAPI). CGI PHP esetében, ez a string "cgi", Apache mod_php esetén "apache", stb.

Példa 1. php_sapi_name() példa


$inter_type = php_sapi_name();
if ($inter_type == "cgi")
    print "Te CGI PHP-t használsz\n";
else
    print "Te nem CGI PHP-t használsz\n";

      


 About Notes


Previous page
 php_logo_guid
 Updated
Sat, 12 Aug 2000
putenv 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.