|
|||||||||
|
|||||||||
php_sapi_name(PHP 4 >= 4.0.1, PHP 5) php_sapi_name — Returns the type of interface between web server and PHP Описание
string php_sapi_name
( void
)
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. Возвращаемые значенияReturns the interface type, as a lowercase string. Примеры
Пример #1 php_sapi_name() example
<?php | |||||||||
|
|||||||||